From 53eab191a8995fbae726a0b33f5fa32ca7271e2c Mon Sep 17 00:00:00 2001 From: Mario Rodriguez Molins Date: Thu, 29 Aug 2024 14:56:18 +0200 Subject: [PATCH] Enable updatecli targets --- .../bump-latest-snapshot-version.yml | 38 +++++++++---------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/.github/workflows/updatecli/updatecli.d/bump-latest-snapshot-version.yml b/.github/workflows/updatecli/updatecli.d/bump-latest-snapshot-version.yml index 3d50dc575e1..855548e51fa 100644 --- a/.github/workflows/updatecli/updatecli.d/bump-latest-snapshot-version.yml +++ b/.github/workflows/updatecli/updatecli.d/bump-latest-snapshot-version.yml @@ -63,24 +63,22 @@ targets: matchpattern: '(Stack Version) v8\.\d+"' replacepattern: 'Stack Version v{{ source "latestSnapshotMajorMinor" }}"' - ## TODO: Looks like these targets are running with the contents from main branch - ## Uncomment this target once this code is merged - #update-snapshot-weekly: - # name: '[updatecli] [weekly] Update latest snapshot to {{ source "latestSnapshot" }}' - # kind: file - # sourceid: latestSnapshot - # scmid: default - # spec: - # file: '.buildkite/pipeline.schedule-weekly.yml' - # matchpattern: '(STACK_VERSION:) 8\.[^\s]*\.[^\s]*' - # replacepattern: '$1 {{ source "latestSnapshot" }}' + update-snapshot-weekly: + name: '[updatecli] [weekly] Update latest snapshot to {{ source "latestSnapshot" }}' + kind: file + sourceid: latestSnapshot + scmid: default + spec: + file: '.buildkite/pipeline.schedule-weekly.yml' + matchpattern: '(STACK_VERSION:) 8\.[^\s]*\.[^\s]*' + replacepattern: '$1 {{ source "latestSnapshot" }}' - #update-snapshot-label-weekly: - # name: '[updatecli] [weekly] Update latest snapshot label step to {{ source "latestSnapshotMajorMinor" }}' - # kind: file - # sourceid: latestSnapshotMajorMinor - # scmid: default - # spec: - # file: '.buildkite/pipeline.schedule-weekly.yml' - # matchpattern: '(Stack Version) v8\.\d+"' - # replacepattern: 'Stack Version v{{ source "latestSnapshotMajorMinor" }}"' + update-snapshot-label-weekly: + name: '[updatecli] [weekly] Update latest snapshot label step to {{ source "latestSnapshotMajorMinor" }}' + kind: file + sourceid: latestSnapshotMajorMinor + scmid: default + spec: + file: '.buildkite/pipeline.schedule-weekly.yml' + matchpattern: '(Stack Version) v8\.\d+"' + replacepattern: 'Stack Version v{{ source "latestSnapshotMajorMinor" }}"'