Skip to content

Commit

Permalink
Disable updatecli target
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodm committed Aug 22, 2024
1 parent e9cd8b4 commit 99e4ec1
Showing 1 changed file with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ scms:
username: '{{ requiredEnv "GITHUB_ACTOR" }}'
token: '{{ requiredEnv "GITHUB_TOKEN" }}'
commitusingapi: true
branch: pull/10844/merge
branch: main

sources:
latestSnapshot:
Expand Down Expand Up @@ -63,13 +63,14 @@ targets:
matchpattern: '(Stack Version) v8\.\d+"'
replacepattern: 'Stack Version v{{ source "latestSnapshotMajorMinor" }}"'

update-snapshot-weekly-build:
name: '[updatecli] Update latest snapshot in catalog-info for weekly schedule to {{ source "latestSnapshot" }}'
kind: file
sourceid: latestSnapshot
scmid: default
spec:
file: 'catalog-info.yaml'
matchpattern: '(STACK_VERSION:) 8\.[^\s]*\.[^\s]*'
# matchpattern: (ELASTIC_PR_COMMENTS_ENABLED:) '[^\s]*'
replacepattern: '$1 {{ source "latestSnapshot" }}'
## TODO: Looks like these targets are running with the contents from main branch
## Uncomment this target once this code is merged
# update-snapshot-weekly-build:
# name: '[updatecli] Update latest snapshot in catalog-info for weekly schedule to {{ source "latestSnapshot" }}'
# kind: file
# sourceid: latestSnapshot
# scmid: default
# spec:
# file: 'catalog-info.yaml'
# matchpattern: '(STACK_VERSION:) 8\.[^\s]*\.[^\s]*'
# replacepattern: '$1 {{ source "latestSnapshot" }}'

0 comments on commit 99e4ec1

Please sign in to comment.