Skip to content

Commit

Permalink
deal with community bump from acs-comunity-packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
alxgomz committed Jul 10, 2024
1 parent 4dfabd7 commit 75c17b0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
2 changes: 2 additions & 0 deletions scripts/updatecli/updatecli_base.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Common updatecli values for different acs versions
# meant to be used with at least another updatecli_acsxx.yml value file

acs:
edition: enterprise
targets:
main: true
amps:
Expand Down
1 change: 1 addition & 0 deletions scripts/updatecli/updatecli_community.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
acs:
version: "23.2"
edition: community

acc:
version: "8.4"
Expand Down
16 changes: 12 additions & 4 deletions scripts/updatecli/updatecli_config.tpl
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
name: ACS update pipeline

scms:
acsRepo:
acsEntRepo:
kind: github
spec:
owner: Alfresco
repository: acs-packaging
branch: master
token: {{ requiredEnv "UPDATECLI_GITHUB_TOKEN" }}
username: {{ requiredEnv "UPDATECLI_GITHUB_USERNAME" }}
acsEntRepo:
acsComRepo:
kind: github
spec:
owner: Alfresco
repository: acs-community-packaging
branch: master
token: {{ requiredEnv "UPDATECLI_GITHUB_TOKEN" }}
username: {{ requiredEnv "UPDATECLI_GITHUB_USERNAME" }}
agsAmpRepo:
kind: github
spec:
owner: Alfresco
Expand Down Expand Up @@ -103,7 +111,7 @@ sources:
acs:
name: ACS {{ .acs.version }}.x
kind: gittag
scmid: acsRepo
scmid: {{ eq .acs.edition "enterprise" | ternary "acsEntRepo" "acsComRepo" }}
spec:
versionFilter:
kind: regex
Expand Down Expand Up @@ -132,7 +140,7 @@ sources:
agsAmp:
name: AGS AMP {{ .ags.version }}.x
kind: gittag
scmid: acsEntRepo
scmid: agsAmpRepo
spec:
versionFilter:
kind: regex
Expand Down

0 comments on commit 75c17b0

Please sign in to comment.