Show environment information in CI job page sidebar
Problem to solve
When a CI job creates an environment, a banner is shown at the top of the job details page saying that the job is making a deployment to the named environment, along with a link to the environment page.
This banner scrolls with the job log. If I follow the logs of a CI job, after the job completes, I have to scroll all the way to the top of the page in order to access the environment link.
Further details
GitLab CI jobs can define Environments using the environment parameter in the job. On CI job pages, the environment a job creates is noted at the top in a banner.
Proposal
CI job pages should display the environment name, including links to view deployment and monitoring in the sidebar. That way, the environment name visible no matter where the logs are scrolled to, and it takes fewer clicks to view the deployment.
Here is a mockup demonstrating this.
What does success look like, and how can we measure that?
If a CI job deploys to an environment, the environment name should be visible no matter where the job logs are scrolled to. Additionally, it should be easy to view the deployment and perhaps monitoring details right from the CI job page.