From d5ffb4913f8b1954a7f2b958dce117a5ed81288e Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 9 Jul 2024 09:25:19 +0200 Subject: [PATCH] updatecli: automate the policy bumps (#1633) --- .ci/updatecli/values.d/scm.yml | 4 ++++ .ci/updatecli/values.d/update-compose.yml | 3 +++ update-compose.yaml | 6 ++++++ 3 files changed, 13 insertions(+) create mode 100644 .ci/updatecli/values.d/update-compose.yml diff --git a/.ci/updatecli/values.d/scm.yml b/.ci/updatecli/values.d/scm.yml index 08fd5e668..52b269d31 100644 --- a/.ci/updatecli/values.d/scm.yml +++ b/.ci/updatecli/values.d/scm.yml @@ -3,5 +3,9 @@ scm: owner: elastic repository: apm-agent-go branch: main + # begin update-compose policy values + user: obltmachine + email: obltmachine@users.noreply.github.com + # end update-compose policy values signedcommit: true \ No newline at end of file diff --git a/.ci/updatecli/values.d/update-compose.yml b/.ci/updatecli/values.d/update-compose.yml new file mode 100644 index 000000000..4aa324383 --- /dev/null +++ b/.ci/updatecli/values.d/update-compose.yml @@ -0,0 +1,3 @@ +spec: + files: + - "update-compose.yaml" diff --git a/update-compose.yaml b/update-compose.yaml index f4e89ae89..0fbb9b597 100644 --- a/update-compose.yaml +++ b/update-compose.yaml @@ -14,3 +14,9 @@ policies: values: - .ci/updatecli/values.d/scm.yml - .ci/updatecli/values.d/apm-json-specs.yml + + - name: Update Updatecli policies + policy: ghcr.io/updatecli/policies/autodiscovery/updatecli:0.4.0@sha256:254367f5b1454fd6032b88b314450cd3b6d5e8d5b6c953eb242a6464105eb869 + values: + - .ci/updatecli/values.d/scm.yml + - .ci/updatecli/values.d/update-compose.yml