Move renovate pipeline to pipeline-templates
Move the .gitlab-ci.yml
code to the BigBang pipeline template repo - https://repo1.dso.mil/platform-one/big-bang/pipeline-templates/pipeline-templates/-/tree/master/pipelines
This allows for easier reuse of templates between pipelines and helps to protect the pipeline from malicious changes.
Steps:
-
Add current pipeline code to a branch in the pipeline template repo as a new pipelines/renovate.yaml
file -
Test the pipeline by pointing to the new location in the .gitlab-ci.yml
file, i.e.:include: - project: 'platform-one/big-bang/pipeline-templates/pipeline-templates' ref: your-pipeline-branch file: '/pipelines/renovate.yaml' variables: PIPELINE_REPO_BRANCH: your-pipeline-branch
-
Once the pipeline is working properly open an MR to pipeline templates and get it merged -
Have someone with maintainer access to the renovate repo remove the .gitlab-ci.yml
file and configure the CI file location via repo settings
Edited by Branden Cobb