Skip to content

Add link to pipeline execution policy file

Why are we doing this work

  • pipeline execution policies allow for users to link custom yaml files to implement whatever changes they want
  • users want to be able to easily navigate to these custom files from the policy drawer and the policy editor
I'm often trying to jump from pipeline execution policies to the yaml file and it can be annoying. It would be great if we made it easier by generating links to take you straight to it. For example in the policy drawer:

Project could link to the project, path to the actual file containing the yml you want to edit.

For that matter, main could take you to the branch containing the latest files as well.

In the edit screen, could also be possible to make a link at least to the pipeline execution yaml.

Could also be nice if the root file path could take you there

Relevant links

Page Screenshot
Policy drawer image
Policy editor image

Non-functional requirements

  • Documentation:
  • Feature flag:
  • Performance:
  • Testing:

Implementation plan

Verification steps

  1. Navigate to a project/group => Secure => Policies => New policy => Pipeline execution policy => Create one with a file that exists
  2. Navigate to the project/group => Secure => Policies => Select the new policy
  3. Verify a user can navigate to the custom yml file referenced in the policy from the policy drawer
  4. Navigate to the policy in the policy editor
  5. Verify a user can navigate to the custom yml file referenced in the policy from the policy editor
Edited by Alexander Turinske