mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
fix: ci: Increase GIT_DEPTH for the "assign-milestones" job
Cloning tags with the default GIT_DEPTH of 1 prevents the milestone assignment script from identifying any merge requests that are included in a given release. Fix by increasing GIT_DEPTH to an arbitrary value that is high enough for practical purposes. The GIT_DEPTH CI variable defaults to 1 for all jobs through the top-level "variables" key. Explicitly setting it to 1 in job definitions is unnecessary and may cause confusion. Remove these redundant assignments. Merge branch 'michal/fix-assign-milestones-job' into 'main' See merge request isc-projects/bind9!11996
This commit is contained in:
commit
e5bbed78b1
1 changed files with 2 additions and 4 deletions
|
|
@ -2051,6 +2051,8 @@ assign-milestones:
|
|||
needs:
|
||||
- job: sign
|
||||
artifacts: false
|
||||
variables:
|
||||
GIT_DEPTH: 1000
|
||||
script:
|
||||
- |
|
||||
"${CI_PROJECT_DIR}"/bind9-qa/releng/assign_mrs_to_versioned_milestones.py --version "${CI_COMMIT_TAG}" --metadata "${CI_PROJECT_DIR}"/bind9-qa/releng/metadata.json
|
||||
|
|
@ -2146,8 +2148,6 @@ rpms-copr:
|
|||
# autodetected ones.
|
||||
.printing_press_job: &printing_press_job
|
||||
<<: *manual_release_job_qa
|
||||
variables:
|
||||
GIT_DEPTH: 1
|
||||
script:
|
||||
- >
|
||||
"$CI_PROJECT_DIR"/bind9-qa/releng/printing_press_mr.py --document "${DOCUMENT}" --metadata "$CI_PROJECT_DIR"/bind9-qa/releng/metadata.json ${FORCE_CVE_IDS:+--force-cve-ids ${FORCE_CVE_IDS}} ${FORCE_SECURITY_RELEASES:+--force-security-releases ${FORCE_SECURITY_RELEASES}}
|
||||
|
|
@ -2263,8 +2263,6 @@ merge-tag:
|
|||
|
||||
update-stable-tag:
|
||||
<<: *manual_release_job_qa
|
||||
variables:
|
||||
GIT_DEPTH: 1
|
||||
needs:
|
||||
# TODO: if necessary, update job name after pushing tags from within CI is implemented
|
||||
- job: publish
|
||||
|
|
|
|||
Loading…
Reference in a new issue