Bump Keystone to include fixes for bug 2119646 (#1962) #1461
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Promote Pulp repositories | |
| on: | |
| push: | |
| branches: | |
| # NOTE(upgrade): Reference only the current release branch here. | |
| - stackhpc/2025.1 | |
| jobs: | |
| promote: | |
| name: Trigger Pulp promotion workflows | |
| if: github.repository == 'stackhpc/stackhpc-kayobe-config' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: write | |
| steps: | |
| # NOTE(mgoddard): Trigger another CI workflow in the | |
| # stackhpc-release-train repository. | |
| - name: Trigger package repository promotion | |
| run: | | |
| gh workflow run \ | |
| package-promote.yml \ | |
| --repo stackhpc/stackhpc-release-train \ | |
| --ref main \ | |
| -f kayobe_config_branch=${{ github.ref_name }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.STACKHPC_RELEASE_TRAIN_TOKEN }} | |
| - name: Display link to package repository promotion workflows | |
| run: | | |
| echo "::notice Package repository promote workflow: https://github.com/stackhpc/stackhpc-release-train/actions/workflows/package-promote.yml" | |
| # NOTE(mgoddard): Trigger another CI workflow in the | |
| # stackhpc-release-train repository. | |
| - name: Trigger container image promotion | |
| run: | | |
| gh workflow run \ | |
| container-promote.yml \ | |
| --repo stackhpc/stackhpc-release-train \ | |
| --ref main \ | |
| -f kayobe_config_branch=${{ github.ref_name }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.STACKHPC_RELEASE_TRAIN_TOKEN }} | |
| - name: Display link to container image promotion workflows | |
| run: | | |
| echo "::notice Container image promote workflow: https://github.com/stackhpc/stackhpc-release-train/actions/workflows/container-promote.yml" | |
| - name: Trigger overcloud host image promotion | |
| run: | | |
| gh workflow run \ | |
| overcloud-host-image-promote.yml \ | |
| --repo stackhpc/stackhpc-kayobe-config \ | |
| --ref $BRANCH_NAME | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| BRANCH_NAME: ${{ github.head_ref || github.ref_name }} | |
| - name: Display link to overcloud host image promotion workflows | |
| run: | | |
| echo "::notice Overcloud host image promote workflow: https://github.com/stackhpc/stackhpc-kayobe-config/actions/workflows/overcloud-host-image-promote.yml" | |
| - name: Send message to Slack via Workflow Builder | |
| uses: slackapi/[email protected] | |
| with: | |
| payload: | | |
| { | |
| "channel-id": "${{ env.SLACK_CHANNEL_ID }}", | |
| "inputs": "${{ env.INPUTS }}", | |
| "message": "${{ env.MESSAGE }}", | |
| "results-url": "${{ env.RESULTS_URL }}", | |
| "workflow-url": "${{ env.WORKFLOW_URL }}" | |
| } | |
| env: | |
| SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
| # #release-train-alerts | |
| SLACK_CHANNEL_ID: C03B28HRP53 | |
| INPUTS: >- | |
| branch: ${{ github.ref_name }} | |
| MESSAGE: "SKC promote workflow failed :sob:" | |
| RESULTS_URL: "N/A" | |
| WORKFLOW_URL: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" | |
| if: failure() |