Skip to content

OPSEXP-3019 Switch to arm64 GA runners #228

OPSEXP-3019 Switch to arm64 GA runners

OPSEXP-3019 Switch to arm64 GA runners #228

Workflow file for this run

---
name: "Bump artifacts versions"
on:
workflow_dispatch:
schedule:
- cron: '0 6 * * MON'
pull_request:
paths:
- '.github/workflows/updatecli.yml'
- 'scripts/updatecli/**'
env:
DEFAULT_BRANCH_NAME: master
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name || github.run_id }}
cancel-in-progress: false
jobs:
updatecli:
runs-on: ubuntu-latest
name: "${{ matrix.values-file }}"
if: github.actor != 'dependabot[bot]'
strategy:
fail-fast: false
max-parallel: 1
matrix:
values-file:
- updatecli_acs23.yml
- updatecli_community.yml
- updatecli_acs74.yml
- updatecli_acs73.yml
- updatecli_acs72.yml
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ github.head_ref || github.ref_name }}
token: ${{ secrets.BOT_GITHUB_TOKEN }}
- name: Install Updatecli
uses: updatecli/updatecli-action@304d62420deffb7c824c9cad12942906e16e4352 # v2.76.0
- name: Run Updatecli in ${{ env.UPDATECLI_MODE }} mode
run: >-
updatecli ${{ env.UPDATECLI_MODE }}
--config scripts/updatecli/updatecli_config.tpl
--values scripts/updatecli/updatecli_base.yml
--values scripts/updatecli/${{ matrix.values-file}}
env:
UPDATECLI_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
UPDATECLI_GITHUB_USERNAME: ${{ vars.BOT_GITHUB_USERNAME}}
UPDATECLI_MODE: apply
- name: Git Auto Commit
uses: stefanzweifel/git-auto-commit-action@e348103e9026cc0eee72ae06630dbe30c8bf7a79 # v5.1.0
with:
commit_message: |
🛠 Updatecli pipeline bump for ${{ matrix.values-file }}
commit_user_name: ${{ vars.BOT_GITHUB_USERNAME }}
commit_user_email: ${{ vars.BOT_GITHUB_EMAIL }}
branch: ${{ github.ref_name == env.DEFAULT_BRANCH_NAME && 'updatecli-bump-acs' || '' }}
create_branch: ${{ github.ref_name == env.DEFAULT_BRANCH_NAME }}
push_options: ${{ github.ref_name == env.DEFAULT_BRANCH_NAME && '--force' || '' }}