|
| 1 | +.release-coordinator:canary:stages: |
| 2 | + - release-coordinator:canary:build |
| 3 | + - release-coordinator:canary:publish |
| 4 | + |
| 5 | +.release-coordinator:canary: |
| 6 | + rules: |
| 7 | + - if: $RELEASE_COORDINATOR == "canary" |
| 8 | + |
| 9 | +release-coordinator:canary:tmp-branch: |
| 10 | + extends: |
| 11 | + - .release-coordinator:canary |
| 12 | + stage: release-coordinator:canary:build |
| 13 | + script: |
| 14 | + - bin/pyxis internal release_canary_tmp_branch --build-id-to-promote $BUILD_ID_TO_PROMOTE |
| 15 | + variables: |
| 16 | + DRY_RUN: "false" |
| 17 | + artifacts: |
| 18 | + reports: |
| 19 | + dotenv: tmp/reticulum_variables.env |
| 20 | + |
| 21 | +release-coordinator:canary:build: |
| 22 | + extends: |
| 23 | + - .release-coordinator:canary |
| 24 | + stage: release-coordinator:canary:build |
| 25 | + needs: |
| 26 | + - release-coordinator:canary:tmp-branch |
| 27 | + trigger: |
| 28 | + project: code0-tech/development/reticulum |
| 29 | + branch: pyxis/canary-build/$BUILD_ID_TO_PROMOTE |
| 30 | + forward: |
| 31 | + pipeline_variables: true |
| 32 | + strategy: depend |
| 33 | + variables: |
| 34 | + RETICULUM_BUILD_TYPE: canary |
| 35 | + |
| 36 | +release-coordinator:canary:tmp-branch-cleanup: |
| 37 | + extends: |
| 38 | + - .release-coordinator:canary |
| 39 | + stage: release-coordinator:canary:build |
| 40 | + needs: |
| 41 | + - release-coordinator:canary:build |
| 42 | + script: |
| 43 | + - bin/pyxis internal release_canary_tmp_branch_cleanup --build-id-to-promote $BUILD_ID_TO_PROMOTE |
| 44 | + variables: |
| 45 | + DRY_RUN: "false" |
| 46 | + when: always |
| 47 | + |
| 48 | +release-coordinator:canary:publish: |
| 49 | + extends: |
| 50 | + - .release-coordinator:canary |
| 51 | + stage: release-coordinator:canary:publish |
| 52 | + needs: |
| 53 | + - release-coordinator:canary:build |
| 54 | + script: |
| 55 | + - echo "Publishing approved" |
| 56 | + when: manual |
| 57 | + |
| 58 | +release-coordinator:canary:publish-containers: |
| 59 | + extends: |
| 60 | + - .release-coordinator:canary |
| 61 | + stage: release-coordinator:canary:publish |
| 62 | + needs: |
| 63 | + - release-coordinator:canary:publish |
| 64 | + script: |
| 65 | + - bin/pyxis internal release_canary_publish_tags --coordinator-pipeline-id $CI_PIPELINE_ID |
| 66 | + variables: |
| 67 | + DRY_RUN: "false" |
| 68 | + |
| 69 | +release-coordinator:canary:publish-release: |
| 70 | + extends: |
| 71 | + - .release-coordinator:canary |
| 72 | + stage: release-coordinator:canary:publish |
| 73 | + needs: |
| 74 | + - release-coordinator:canary:publish-containers |
| 75 | + script: |
| 76 | + - bin/pyxis internal release_canary_publish_release --coordinator-pipeline-id $CI_PIPELINE_ID |
| 77 | + variables: |
| 78 | + DRY_RUN: "false" |
0 commit comments