Skip to content

OPSEXP-2874 Bump Search Services to 2.0.12 #167

OPSEXP-2874 Bump Search Services to 2.0.12

OPSEXP-2874 Bump Search Services to 2.0.12 #167

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
- updatecli_acs71.yml
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
ref: ${{ github.head_ref || github.ref_name }}
token: ${{ secrets.BOT_GITHUB_TOKEN }}
- name: Install Updatecli
uses: updatecli/updatecli-action@92a13b95c2cd9f1c6742c965509203c6a5635ed7 # v2.68.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@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1
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' || '' }}