File tree Expand file tree Collapse file tree 6 files changed +24
-2
lines changed Expand file tree Collapse file tree 6 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,13 @@ jobs:
3737 - uses : elastic/oblt-actions/updatecli/run@v1
3838 with :
3939 command : --experimental compose diff
40+ version-file : .tool-versions
4041 env :
4142 GITHUB_TOKEN : ${{ steps.get_token.outputs.token }}
4243
4344 - uses : elastic/oblt-actions/updatecli/run@v1
4445 with :
4546 command : --experimental compose apply
47+ version-file : .tool-versions
4648 env :
4749 GITHUB_TOKEN : ${{ steps.get_token.outputs.token }}
Original file line number Diff line number Diff line change 2020 uses : actions/checkout@v4
2121
2222 - name : Setup updatecli
23- uses : updatecli/updatecli-action@v2
23+ uses : elastic/oblt-actions/updatecli/install@v1
24+ with :
25+ version-file : .tool-versions
2426
2527 - name : Log in to the Container registry
2628 uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567
Original file line number Diff line number Diff line change 2020 uses : actions/checkout@v4
2121
2222 - name : Setup updatecli
23- uses : updatecli/updatecli-action@v2
23+ uses : elastic/oblt-actions/updatecli/install@v1
24+ with :
25+ version-file : .tool-versions
2426
2527 - name : Setup releasepost
2628 uses : updatecli/releasepost-action@108e7be5e43d1d1dc1177389a318d3630f6b01f1 # v0.4.0
Original file line number Diff line number Diff line change 1+ updatecli v0.88.0
Original file line number Diff line number Diff line change @@ -38,3 +38,8 @@ policies:
3838 policy : ghcr.io/elastic/oblt-updatecli-policies/updatecli/version:latest
3939 values :
4040 - updatecli/policies/updatecli/version/testdata/values.yaml
41+
42+ - name : Handle updatecli update
43+ policy : ghcr.io/elastic/oblt-updatecli-policies/updatecli/version:latest
44+ values :
45+ - updatecli/values.d/scm.yaml
Original file line number Diff line number Diff line change 1+ scm :
2+ enabled : true
3+ owner : elastic
4+ repository : oblt-updatecli-policies
5+ branch : main
6+ commitusingapi : true
7+ # begin update-compose policy values
8+ user : obltmachine
9+ 10+ # end update-compose policy values
You can’t perform that action at this time.
0 commit comments