From de6fd2433d9c7489759460c569fc64205c46f254 Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri Benedetti Date: Thu, 23 Oct 2025 15:58:16 +0200 Subject: [PATCH 1/5] Add CF repos to UpdateCLI action --- .github/updatecli/updatecli.d/versions.yml | 44 ++++++++++++++++++++++ .github/updatecli/values.d/scm.yml | 5 ++- 2 files changed, 48 insertions(+), 1 deletion(-) diff --git a/.github/updatecli/updatecli.d/versions.yml b/.github/updatecli/updatecli.d/versions.yml index 3c8a78b40..1b534a6ab 100644 --- a/.github/updatecli/updatecli.d/versions.yml +++ b/.github/updatecli/updatecli.d/versions.yml @@ -47,6 +47,32 @@ sources: versionfilter: kind: latest + latest-edot-cf-aws-version: + name: Get latest release version for the edot-cf-aws + kind: githubrelease + transformers: + - trimprefix: v + spec: + owner: elastic + repository: edot-cloud-forwarder-aws + token: '{{ requiredEnv "GITHUB_TOKEN" }}' + username: '{{ requiredEnv "GITHUB_ACTOR" }}' + versionfilter: + kind: latest + + latest-edot-cf-azure-version: + name: Get latest release version for the edot-cf-azure + kind: githubrelease + transformers: + - trimprefix: v + spec: + owner: elastic + repository: edot-cloud-forwarder-azure + token: '{{ requiredEnv "GITHUB_TOKEN" }}' + username: '{{ requiredEnv "GITHUB_ACTOR" }}' + versionfilter: + kind: latest + latest-edot-collector-version: name: Get latest major release version for the elastic-agent kind: githubrelease @@ -305,6 +331,24 @@ targets: file: config/versions.yml key: versioning_systems.edot-android.current + update-docs-docset-cf-aws: + name: 'Update config/versions.yml edot-cf-aws {{ source "latest-edot-cf-aws-version" }}' + scmid: githubConfig + sourceid: latest-edot-cf-aws-version + kind: yaml + spec: + file: config/versions.yml + key: versioning_systems.edot-cf-aws.current + + update-docs-docset-cf-azure: + name: 'Update config/versions.yml edot-cf-azure {{ source "latest-edot-cf-azure-version" }}' + scmid: githubConfig + sourceid: latest-edot-cf-azure-version + kind: yaml + spec: + file: config/versions.yml + key: versioning_systems.edot-cf-azure.current + update-docs-docset-collector: name: 'Update config/versions.yml edot-collector {{ source "latest-edot-collector-version" }}' scmid: githubConfig diff --git a/.github/updatecli/values.d/scm.yml b/.github/updatecli/values.d/scm.yml index f2693d960..7ecbb7771 100644 --- a/.github/updatecli/values.d/scm.yml +++ b/.github/updatecli/values.d/scm.yml @@ -1,5 +1,8 @@ scm: enabled: true owner: elastic - repository: docs-builder + repositories: | + docs-builder + edot-cloud-forwarder-aws + edot-cloud-forwarder-azure branch: main \ No newline at end of file From 23e53241d058806cc9266dcf352b7efc0c24d724 Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri Benedetti Date: Wed, 29 Oct 2025 15:48:21 +0100 Subject: [PATCH 2/5] Add GCP --- .github/updatecli/values.d/scm.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/updatecli/values.d/scm.yml b/.github/updatecli/values.d/scm.yml index 7ecbb7771..14e42cd46 100644 --- a/.github/updatecli/values.d/scm.yml +++ b/.github/updatecli/values.d/scm.yml @@ -5,4 +5,5 @@ scm: docs-builder edot-cloud-forwarder-aws edot-cloud-forwarder-azure + edot-cloud-forwarder-gcp branch: main \ No newline at end of file From 76f6f795575af96d6a0f610371e829eae76a17c0 Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri Benedetti Date: Thu, 30 Oct 2025 08:42:55 +0100 Subject: [PATCH 3/5] Updates --- .github/updatecli/updatecli.d/versions.yml | 22 ++++++++++++++++++++++ config/versions.yml | 3 +++ 2 files changed, 25 insertions(+) diff --git a/.github/updatecli/updatecli.d/versions.yml b/.github/updatecli/updatecli.d/versions.yml index 1b534a6ab..16b1c7272 100644 --- a/.github/updatecli/updatecli.d/versions.yml +++ b/.github/updatecli/updatecli.d/versions.yml @@ -73,6 +73,19 @@ sources: versionfilter: kind: latest + # latest-edot-cf-gcp-version: + # name: Get latest release version for the edot-cf-gcp + # kind: githubrelease + # transformers: + # - trimprefix: v + # spec: + # owner: elastic + # repository: edot-cloud-forwarder-gcp + # token: '{{ requiredEnv "GITHUB_TOKEN" }}' + # username: '{{ requiredEnv "GITHUB_ACTOR" }}' + # versionfilter: + # kind: latest + latest-edot-collector-version: name: Get latest major release version for the elastic-agent kind: githubrelease @@ -349,6 +362,15 @@ targets: file: config/versions.yml key: versioning_systems.edot-cf-azure.current + # update-docs-docset-cf-gcp: + # name: 'Update config/versions.yml edot-cf-gcp {{ source "latest-edot-cf-gcp-version" }}' + # scmid: githubConfig + # sourceid: latest-edot-cf-gcp-version + # kind: yaml + # spec: + # file: config/versions.yml + # key: versioning_systems.edot-cf-gcp.current + update-docs-docset-collector: name: 'Update config/versions.yml edot-collector {{ source "latest-edot-collector-version" }}' scmid: githubConfig diff --git a/config/versions.yml b/config/versions.yml index 3a077b9c1..0e1143178 100644 --- a/config/versions.yml +++ b/config/versions.yml @@ -101,6 +101,9 @@ versioning_systems: edot-cf-azure: base: 0.1 current: 0.6.0 +# edot-cf-gcp: +# base: 0.1 +# current: 0.1.0 # Logging ecs-logging-dotnet: From 4914ff9ea5097b413626f97bfd5eae6d99349b89 Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri Benedetti Date: Thu, 30 Oct 2025 09:43:58 +0100 Subject: [PATCH 4/5] Update action --- .github/workflows/updatecli.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/updatecli.yml b/.github/workflows/updatecli.yml index 505118b7b..b833930da 100644 --- a/.github/workflows/updatecli.yml +++ b/.github/workflows/updatecli.yml @@ -28,6 +28,8 @@ jobs: permission-pull-requests: write repositories: | docs-builder + edot-cloud-forwarder-aws + edot-cloud-forwarder-azure - uses: elastic/oblt-actions/updatecli/run@v1 with: From aba2e38d2879422aa8c27ecc174d6cef3f020aad Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri Benedetti Date: Thu, 30 Oct 2025 09:49:57 +0100 Subject: [PATCH 5/5] Fix issue --- .github/updatecli/updatecli.d/versions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/updatecli/updatecli.d/versions.yml b/.github/updatecli/updatecli.d/versions.yml index 16b1c7272..84c0282f9 100644 --- a/.github/updatecli/updatecli.d/versions.yml +++ b/.github/updatecli/updatecli.d/versions.yml @@ -8,7 +8,7 @@ scms: user: '{{ requiredEnv "GITHUB_ACTOR" }}' username: '{{ requiredEnv "GITHUB_ACTOR" }}' owner: '{{ .scm.owner }}' - repository: '{{ .scm.repository }}' + repository: docs-builder token: '{{ requiredEnv "GITHUB_TOKEN" }}' commitusingapi: true branch: '{{ .scm.branch }}'