Skip to content

Commit

Permalink
deps(updatecli): bump all policies (#1248)
Browse files Browse the repository at this point in the history
  • Loading branch information
1 parent e428417 commit 159b758
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .ci/updatecli/values.d/apm-data-spec.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
apm_schema_specs_path: tests/APM_Server_intake_API_schema/latest_used
signedcommit: true
apm_schema_specs_path: tests/APM_Server_intake_API_schema/latest_used
3 changes: 1 addition & 2 deletions .ci/updatecli/values.d/apm-gherkin.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
apm_gherkin_specs_path: tests/APM_Agents_shared/gherkin-specs
signedcommit: true
apm_gherkin_specs_path: tests/APM_Agents_shared/gherkin-specs
3 changes: 1 addition & 2 deletions .ci/updatecli/values.d/apm-json-specs.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
apm_json_specs_path: tests/APM_Agents_shared/json-specs
signedcommit: true
apm_json_specs_path: tests/APM_Agents_shared/json-specs
2 changes: 1 addition & 1 deletion .ci/updatecli/values.d/scm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ scm:
enabled: true
owner: elastic
repository: apm-agent-php
apm_repository: apm
branch: main
commitusingapi: true
# begin update-compose policy values
user: obltmachine
email: obltmachine@users.noreply.github.com
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/updatecli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,18 @@ jobs:
- uses: elastic/oblt-actions/updatecli/run@v1
with:
command: --experimental compose diff
# TODO: update to the latest version so the policies can work as expected.
# latest changes in the policies require to use the dependson feature.
version: "v0.88.0"
env:
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }}

- uses: elastic/oblt-actions/updatecli/run@v1
with:
command: --experimental compose apply
# TODO: update to the latest version so the policies can work as expected.
# latest changes in the policies require to use the dependson feature.
version: "v0.88.0"
env:
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }}

Expand Down
6 changes: 3 additions & 3 deletions updatecli-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
# https://www.updatecli.io/docs/core/compose/
policies:
- name: Handle apm-data server specs
policy: ghcr.io/elastic/oblt-updatecli-policies/apm/apm-data-spec:0.5.0@sha256:1307837d72174da906afb40a812b89f9f40efdbc0f6dcb4f632f886f9798577e
policy: ghcr.io/elastic/oblt-updatecli-policies/apm/apm-data-spec:0.6.0@sha256:c0bbdec23541bed38df1342c95aeb601530a113db1ff11715c1c7616ed5e9e8b
values:
- .ci/updatecli/values.d/scm.yml
- .ci/updatecli/values.d/apm-data-spec.yml
- name: Handle apm gherkin specs
policy: ghcr.io/elastic/oblt-updatecli-policies/apm/apm-gherkin:0.5.0@sha256:7166356b1bb5fb39b640dc9712a2a9f16b06b3fdb137dd362ede7d70ca5396e8
policy: ghcr.io/elastic/oblt-updatecli-policies/apm/apm-gherkin:0.6.0@sha256:dbaf4d855c5c212c3b5a8d2cc98c243a2b769ac347198ae8814393a1a0576587
values:
- .ci/updatecli/values.d/scm.yml
- .ci/updatecli/values.d/apm-gherkin.yml
- name: Handle apm json specs
policy: ghcr.io/elastic/oblt-updatecli-policies/apm/apm-json-specs:0.5.0@sha256:f4065402be6459507660cb644fffa9cdc77a58303ebd7f8f0325002e206cf6a1
policy: ghcr.io/elastic/oblt-updatecli-policies/apm/apm-json-specs:0.6.0@sha256:e5a74c159ceed02fd20515ea76fa25ff81e3ccf977e74e636f9973db86aa52a5
values:
- .ci/updatecli/values.d/scm.yml
- .ci/updatecli/values.d/apm-json-specs.yml
Expand Down

0 comments on commit 159b758

Please sign in to comment.