Skip to content

bump build-tools version #137

bump build-tools version

bump build-tools version #137

Workflow file for this run

---
name: Bump component versions
on:
push:
paths:
- .github/workflows/bumpVersions.yml
- updatecli-matrix-targets.yaml
workflow_dispatch:
jobs:
updatecli:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.BOT_GITHUB_TOKEN }}
- name: Install Updatecli
uses: updatecli/updatecli-action@v2
with:
version: v0.57.0
- name: Checkout updatecli configs
uses: actions/checkout@v3
with:
repository: alfresco/alfresco-updatecli
ref: master
path: alfresco-updatecli
- name: Preprocess values file appending existing keys only
shell: bash
run: |
yq '. *? load("alfresco-updatecli/deployments/values/supported-matrix.yaml") |
explode(.)' updatecli-matrix-targets.yaml |
tee ./merged.yaml
- name: updatecli apply
# path to values file must be relative https://github.com/updatecli/updatecli/issues/1253
run: updatecli apply -c alfresco-updatecli/deployments/uber-manifest.tpl -v ./merged.yaml
env:
QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
UPDATECLI_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected]
- name: Regenerate helm docs if necessary
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected]
with:
pre-commit-args: helm-docs || true
skip_checkout: "true"
- name: Git Auto Commit
uses: stefanzweifel/[email protected]
with:
commit_message: |
🛠 Updatecli pipeline acs bump
commit_user_name: ${{ vars.BOT_GITHUB_USERNAME }}
commit_user_email: ${{ vars.BOT_GITHUB_EMAIL }}
branch: ${{ github.ref_name == 'master' && 'updatecli-bump-acs' || github.ref_name }}
create_branch: ${{ github.ref_name == 'master' }}
push_options: ${{ github.ref_name == 'master' && '--force' || '' }}