Update Dependencies with Updatecli #1
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 Dependencies with Updatecli | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 13 * * 1' | |
permissions: | |
contents: read | |
env: | |
JOB_URL: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" | |
jobs: | |
updatecli: | |
name: Update ${{ matrix.pipeline-name }} dependencies | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
pipeline-name: [beats, golang, hermit] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Init Hermit | |
run: ./bin/hermit env -r >> $GITHUB_ENV | |
- uses: elastic/apm-pipeline-library/.github/actions/updatecli@current | |
with: | |
vaultUrl: ${{ secrets.VAULT_ADDR }} | |
vaultRoleId: ${{ secrets.VAULT_ROLE_ID }} | |
vaultSecretId: ${{ secrets.VAULT_SECRET_ID }} | |
pipeline: ./.ci/updatecli/updatecli.d/update-${{ matrix.pipeline-name }}.yml | |
values: ./.ci/updatecli/values.yml | |
notifyIfFailure: false |