From 8d7dd63bc93773c85f457760e4738957aeee1881 Mon Sep 17 00:00:00 2001 From: Matej Klima Date: Tue, 3 Feb 2026 12:49:33 +0100 Subject: [PATCH 1/3] tmp: promote images --- .github/workflows/tmp.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/tmp.yaml diff --git a/.github/workflows/tmp.yaml b/.github/workflows/tmp.yaml new file mode 100644 index 000000000..60a4a36fc --- /dev/null +++ b/.github/workflows/tmp.yaml @@ -0,0 +1,11 @@ +name: tmp.yaml +on: pull_request + +jobs: + promote-images: + uses: ./.github/workflows/promote-to-stable.yaml + with: + images: '["lcm-bricks", "lcm-bricks-nextversion"]' + charts: '{}' + image_tag: "M3" + secrets: inherit From f36db2640dd66a8e89eaa7b3447f394d1b3d75b8 Mon Sep 17 00:00:00 2001 From: Matej Klima Date: Tue, 3 Feb 2026 13:12:24 +0100 Subject: [PATCH 2/3] fix: promote images only in lcm pipeline JIRA: INFRA-4009 --- .github/workflows/lcm-pipeline.yaml | 9 ++++++--- .github/workflows/tmp.yaml | 11 ----------- 2 files changed, 6 insertions(+), 14 deletions(-) delete mode 100644 .github/workflows/tmp.yaml diff --git a/.github/workflows/lcm-pipeline.yaml b/.github/workflows/lcm-pipeline.yaml index e9cdf48c4..3aaa1b58a 100644 --- a/.github/workflows/lcm-pipeline.yaml +++ b/.github/workflows/lcm-pipeline.yaml @@ -259,16 +259,19 @@ jobs: secrets: inherit promote-to-stable: - needs: [ prepare-build, build-helmreleases, wait-for-deployment ] + needs: [ prepare-build, services-build, build-helmreleases, wait-for-deployment ] if: | !cancelled() && !contains(needs.*.result, 'failure') && - needs.build-helmreleases.result == 'success' && + ( + needs.build-helmreleases.result == 'success' || + needs.services-build.result == 'success' + ) && inputs.deploy uses: ./.github/workflows/promote-to-stable.yaml with: images: ${{ needs.prepare-build.outputs.images }} - charts: ${{ needs.build-helmreleases.outputs.built_charts }} + charts: ${{ needs.build-helmreleases.outputs.built_charts || '{}' }} image_tag: ${{ needs.prepare-build.outputs.service_major_version }} secrets: inherit diff --git a/.github/workflows/tmp.yaml b/.github/workflows/tmp.yaml deleted file mode 100644 index 60a4a36fc..000000000 --- a/.github/workflows/tmp.yaml +++ /dev/null @@ -1,11 +0,0 @@ -name: tmp.yaml -on: pull_request - -jobs: - promote-images: - uses: ./.github/workflows/promote-to-stable.yaml - with: - images: '["lcm-bricks", "lcm-bricks-nextversion"]' - charts: '{}' - image_tag: "M3" - secrets: inherit From 289799180142203613904aab045bde079bbf33cc Mon Sep 17 00:00:00 2001 From: Matej Klima Date: Tue, 3 Feb 2026 13:39:02 +0100 Subject: [PATCH 3/3] tmp: register bricks --- .github/workflows/tmp.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/tmp.yaml diff --git a/.github/workflows/tmp.yaml b/.github/workflows/tmp.yaml new file mode 100644 index 000000000..ee04b7547 --- /dev/null +++ b/.github/workflows/tmp.yaml @@ -0,0 +1,26 @@ +name: TMP workflow, register bricks +on: pull_request + +permissions: + id-token: write + contents: read + +jobs: + register-bricks-prod: + runs-on: + group: infra1-runners-arc + labels: runners-small + strategy: + matrix: + cluster: [ na1, ca2, perf1, bom1, syd1, na3, eu1, fra1 ] + steps: + - name: Checkout repository + uses: actions/checkout@v5 + - name: Register bricks to ${{ matrix.cluster }} + uses: ./.github/actions/rundeck + with: + server: '${{ secrets.RUNDECK_URL }}' + project: ${{ matrix.cluster }}-ansible + job-group: ansible/msf/hotfix + job-name: ${{ matrix.cluster }}_lcm_pipeline_component_tool + vault-url: ${{ secrets.VAULT_ADDRESS }} \ No newline at end of file