Skip to content

Commit fcfb1a5

Browse files
authored
deps: run updatecli daily on monitored pipelines (#1023)
Bump Updatecli version to v0.114.0 Signed-off-by: Olivier Vernin <me@olblak.com>
1 parent 7368dba commit fcfb1a5

5 files changed

Lines changed: 24 additions & 3 deletions

File tree

.github/workflows/updatecli.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: "Setup updatecli"
1717
uses: "updatecli/updatecli-action@5ca36367fadc6ad94d590984fd9c696e783ec635" # v2.96.0
1818
with:
19-
version: "v0.113.0"
19+
version: "v0.114.0"
2020

2121
- name: "Run updatecli"
2222
run: updatecli compose apply --clean-git-branches=true --experimental

.github/workflows/updatecli_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: "Setup updatecli"
1717
uses: "updatecli/updatecli-action@5ca36367fadc6ad94d590984fd9c696e783ec635" # v2.96.0
1818
with:
19-
version: "v0.113.0"
19+
version: "v0.114.0"
2020

2121
- name: "Test updatecli in dry-run mode"
2222
run: "updatecli compose diff"

.github/workflows/updatecli_update.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,17 @@ jobs:
1818
- name: "Setup updatecli"
1919
uses: "updatecli/updatecli-action@5ca36367fadc6ad94d590984fd9c696e783ec635" # v2.96.0
2020
with:
21-
version: "v0.113.0"
21+
version: "v0.114.0"
22+
23+
- name: "Run updatecli only on monitored pipelines"
24+
run: updatecli compose apply --clean-git-branches=true --labels="monitoring:enabled" --experimental
25+
env:
26+
UPDATECLI_GITHUB_APP_CLIENT_ID: ${{ secrets.UPDATECLIBOT_APP_ID }}
27+
UPDATECLI_GITHUB_APP_PRIVATE_KEY: ${{ secrets.UPDATECLIBOT_APP_PRIVKEY }}
28+
UPDATECLI_GITHUB_APP_INSTALLATION_ID: ${{ secrets.UPDATECLIBOT_APP_INSTALLATION_ID }}
29+
UPDATECLI_UDASH_API_URL: ${{ secrets.UPDATECLI_UDASH_API_URL }}
30+
UPDATECLI_UDASH_ACCESS_TOKEN: ${{ secrets.UPDATECLI_UDASH_ACCESS_TOKEN }}
31+
UPDATECLI_UDASH_URL: ${{ secrets.UPDATECLI_UDASH_URL }}
2232

2333
- name: "Run updatecli only on existing pipelines"
2434
run: updatecli compose apply --clean-git-branches=true --existing-only=true --experimental

updatecli-compose.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,9 @@ policies:
3232
values:
3333
- updatecli/values.d/scm.yaml
3434
- updatecli/values.d/githubaction.yaml
35+
36+
- name: Update Updatecli version in GitHub action
37+
policy: ghcr.io/updatecli/policies/updatecli/githubaction:0.7.0
38+
values:
39+
- updatecli/values.d/scm.yaml
40+
- updatecli/values.d/githubaction.yaml

updatecli/updatecli.d/updatecli.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: "deps: bump updatecli version"
22
pipelineid: "updatecli_action_version"
3+
4+
labels:
5+
event: release
6+
monitoring: enabled
7+
38
actions:
49
default:
510
kind: "github/pullrequest"

0 commit comments

Comments
 (0)