Update versions of Elastic Stack dependencies #33
This file contains 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: Update versions of Elastic Stack dependencies | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 1 * * 1-5' | |
permissions: | |
contents: read | |
jobs: | |
bump-elastic-stack: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Updatecli in the runner | |
uses: updatecli/[email protected] # updatecli v0.77.0 | |
- name: Update default stack version | |
# --experimental needed for commitusingapi option. | |
run: updatecli --experimental apply --config .github/workflows/updatecli.d/bump-elastic-stack-version.yml --values .github/workflows/updatecli.d/scm.yml | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Update latest testing 7.x stack version | |
# --experimental needed for commitusingapi option. | |
run: updatecli --experimental apply --config .github/workflows/updatecli.d/bump-latest-7x-version.yml --values .github/workflows/updatecli.d/scm.yml | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Update latest testing stack version | |
# --experimental needed for commitusingapi option. | |
run: updatecli --experimental apply --config .github/workflows/updatecli.d/bump-latest-snapshot-version.yml --values .github/workflows/updatecli.d/scm.yml | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Update Package Registry version | |
# --experimental needed for commitusingapi option. | |
run: updatecli --experimental apply --config .github/workflows/updatecli.d/bump-package-registry-version.yml --values .github/workflows/updatecli.d/scm.yml | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |