Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • O ogs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 112
    • Issues 112
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 43
    • Merge requests 43
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ogsogs
  • ogs
  • Merge requests
  • !4401

[CI] Better links for web / report previews

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Lars Bilke requested to merge bilke/ogs:web-envs into master Dec 08, 2022
  • Overview 1
  • Commits 7
  • Pipelines 24
  • Changes 8

Using GitLab CIs environment-feature. Creates nice buttons in the MR widget (labeled View App). Also the preview is available immediately after the corresponding job finishes (before: the links were created when the full pipeline finished):


Bonus feature:

For the web site preview the View App-button directly links to a changed page if there is one such change (but see buggy behaviour in the comment below). If there are multiple changes there is dropdown where you can jump individual changed pages:


Future improvement ideas:

  • Implement banners on the generated pages (web and doxygen) which link back to the MR.

  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
  3. Any new feature or behavior change was documented?
Edited Dec 08, 2022 by Lars Bilke
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: web-envs