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.
# 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}}
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