Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@ 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 }}
4 changes: 3 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
uses: actions/checkout@v4

- name: Setup updatecli
uses: updatecli/updatecli-action@v2
uses: elastic/oblt-actions/updatecli/install@v1
with:
version-file: .tool-versions

- name: Log in to the Container registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ jobs:
uses: actions/checkout@v4

- name: Setup updatecli
uses: updatecli/updatecli-action@v2
uses: elastic/oblt-actions/updatecli/install@v1
with:
version-file: .tool-versions

- name: Setup releasepost
uses: updatecli/releasepost-action@108e7be5e43d1d1dc1177389a318d3630f6b01f1 # v0.4.0
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
5 changes: 5 additions & 0 deletions updatecli-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,8 @@ policies:
policy: ghcr.io/elastic/oblt-updatecli-policies/updatecli/version:latest
values:
- updatecli/policies/updatecli/version/testdata/values.yaml

- name: Handle updatecli update
policy: ghcr.io/elastic/oblt-updatecli-policies/updatecli/version:latest
values:
- updatecli/values.d/scm.yaml
10 changes: 10 additions & 0 deletions updatecli/values.d/scm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
scm:
enabled: true
owner: elastic
repository: oblt-updatecli-policies
branch: main
commitusingapi: true
# begin update-compose policy values
user: obltmachine
email: [email protected]
# end update-compose policy values
Loading