UNCLASSIFIED - NO CUI

Skip to content

Add Version Control

Micah Nagel requested to merge version-control into master

Add a changelog and modify the readme to indicate version control is being used.

As part of this update, while PIPELINE_REPO_BRANCH can still be specified manually, the pipeline will now default to the ref being pointed at in the gitlab-ci file to use for cloning the pipeline repo (works for tags and branches). Still defaults to master if the yq command fails, but should work well. This is much better for version controlling and DRYs it up.

Example of this running - https://repo1.dso.mil/platform-one/big-bang/apps/collaboration-tools/mattermost-operator/-/pipelines/204392 - if you look at the clone commands it will show the commit hash it checked out (in this case matches the latest commit on this branch).

Merge request reports