docs: deprecations and removals on CI_BUILD_* are too vague
Some deprecated pre-defined variables in GitLab CI 9.0 are still available even on CI 12.6.
From !21781 (comment 260644238)
https://docs.gitlab.com/ee/ci/variables/deprecated_variables.html is not a good list to check deprecated variables (in 9.0)
😄 As showed in diffs of !21782 (merged), we can still useCI_BUILD_ID
with GitLab CE/EE/Runner 12.5 or 12.6-pre.
You can see the following variables at !21782 (diffs) (or https://gitlab.com/tnir-pick-mr-test/ci-debug-trace/-/jobs/379424655 (member-only so membership can be requested if needed))
deprecated but still available pre-defined variables
CI_BUILD_BEFORE_SHA
CI_BUILD_ID
CI_BUILD_NAME
CI_BUILD_STAGE
CI_BUILD_REF
CI_BUILD_REF_NAME
CI_BUILD_REF_SLUG
deprecated and removed pre-defined variables
CI_BUILD_REPO
pre-defined variables needed to be investigated
CI_BUILD_MANUAL
CI_BUILD_TAG
CI_BUILD_TOKEN
CI_BUILD_TRIGGERED