forked from elastic/cloudbeat
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 974 Bytes
/
updatecli.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
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