Skip to content

Commit 6769b36

Browse files
ci(release): fix publish-lib-init-pinned-tags job dependencies [backport 2.21] (#12844)
Backport 268284e from #12670 to 2.21. ## Checklist - [x] PR author has checked that all the criteria below are met - The PR description includes an overview of the change - The PR description articulates the motivation for the change - The change includes tests OR the PR description describes a testing strategy - The PR description notes risks associated with the change, if any - Newly-added code is easy to change - The change follows the [library release note guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html) - The change includes or references documentation updates if necessary - Backport labels are set (if [applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)) ## Reviewer Checklist - [x] Reviewer has checked that all the criteria below are met - Title is accurate - All changes are related to the pull request's stated goal - Avoids breaking [API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces) changes - Testing strategy adequately addresses listed risks - Newly-added code is easy to change - Release note makes sense to a user of the library - If necessary, author has acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment - Backport labels are set in a manner that is consistent with the [release branch maintenance policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting) Co-authored-by: Brett Langdon <[email protected]>
1 parent c5ae598 commit 6769b36

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

.gitlab-ci.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,39 +58,51 @@ promote-oci-to-prod:
5858
stage: release
5959
rules: null
6060
only:
61-
- /^v[0-9]+\.[0-9]+\.[0-9]+(rc[0-9]+)?$/
61+
# TODO: Support publishing rc releases
62+
- /^v[0-9]+\.[0-9]+\.[0-9]+$/
6263
needs:
6364
- job: release_pypi_prod
6465
- job: package-oci
6566
artifacts: true
67+
- job: oci-internal-publish
68+
artifacts: true
6669

6770
promote-oci-to-prod-beta:
6871
stage: release
6972
needs:
7073
- job: package-oci
7174
artifacts: true
75+
- job: oci-internal-publish
76+
artifacts: true
7277

7378
promote-oci-to-staging:
7479
stage: release
7580
needs:
7681
- job: package-oci
7782
artifacts: true
83+
- job: oci-internal-publish
84+
artifacts: true
7885

7986
publish-lib-init-ghcr-tags:
8087
stage: release
8188
rules: null
8289
only:
83-
- /^v[0-9]+\.[0-9]+\.[0-9]+(rc[0-9]+)?$/
84-
needs: [release_pypi_prod]
90+
# TODO: Support publishing rc releases
91+
- /^v[0-9]+\.[0-9]+\.[0-9]+$/
92+
needs:
93+
- job: release_pypi_prod
94+
- job: create-multiarch-lib-injection-image
8595

8696
publish-lib-init-pinned-tags:
8797
stage: release
8898
rules: null
8999
only:
90-
- /^v[0-9]+\.[0-9]+\.[0-9]+(rc[0-9]+)?$/
100+
# TODO: Support publishing rc releases
101+
- /^v[0-9]+\.[0-9]+\.[0-9]+$/
91102
needs:
92103
- job: release_pypi_prod
93-
- job: oci-internal-publish
104+
- job: create-multiarch-lib-injection-image
105+
- job: generate-lib-init-pinned-tag-values
94106
artifacts: true
95107

96108
onboarding_tests_installer:

0 commit comments

Comments
 (0)