Skip to content

Commit

Permalink
ci: use tool-versions for updatecli (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Dec 5, 2024
1 parent 159d25b commit 4722345
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/updatecli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,14 @@ jobs:
- uses: elastic/oblt-actions/updatecli/run@v1
with:
command: --experimental compose diff
version-file: .tool-versions
env:
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }}

- uses: elastic/oblt-actions/updatecli/run@v1
with:
command: --experimental compose apply
version-file: .tool-versions
env:
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }}

Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
updatecli v0.88.0
4 changes: 4 additions & 0 deletions updatecli-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ policies:
values:
- .ci/updatecli/values.d/scm.yml
- .ci/updatecli/values.d/update-compose.yml
- name: Update Updatecli version
policy: ghcr.io/elastic/oblt-updatecli-policies/updatecli/version:0.2.0@sha256:013a37ddcdb627c46e7cba6fb9d1d7bc144584fa9063843ae7ee0f6ef26b4bea
values:
- .ci/updatecli/values.d/scm.yml

0 comments on commit 4722345

Please sign in to comment.