Merge pull request #2890 from coolo/update_plugin

Update version of the config plugin
This commit is contained in:
Stephan Kulow 2022-11-17 13:05:19 +01:00 committed by GitHub
commit 6e6e1ec9b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 9 deletions

View File

@ -110,12 +110,12 @@ pipelines:
resources:
- staging-bot
tasks:
# can't use osc command due to https://github.com/openSUSE/osc/issues/1194
- script: |-
SPRJ=SUSE:SLE-15-SP3:Update:BCI
for arch in aarch64 ppc64le s390x x86_64 ; do
PKG="000product:SLE_BCI-ftp-POOL-$arch"
PRJ="SUSE:Products:SLE-BCI:15-SP3:$arch"
# can't use osc command due to https://github.com/openSUSE/osc/issues/1194
curl -X POST -H "Authorization: Token $BCI_TOKEN" "https://api.suse.de/trigger/release?project=$SPRJ\&package=$PKG\&targetproject=$PRJ\&targetrepository=images\&filter_source_repository=\"images\""
done
for arch in aarch64 ppc64le s390x x86_64 ; do
@ -195,12 +195,12 @@ pipelines:
resources:
- staging-bot
tasks:
# can't use osc command due to https://github.com/openSUSE/osc/issues/1194
- script: |-
SPRJ=SUSE:SLE-15-SP4:Update:BCI
for arch in aarch64 ppc64le s390x x86_64 ; do
PKG="000product:SLE_BCI-ftp-POOL-$arch"
PRJ="SUSE:Products:SLE-BCI:15-SP4:$arch"
# can't use osc command due to https://github.com/openSUSE/osc/issues/1194
curl -X POST -H "Authorization: Token $BCI_TOKEN" "https://api.suse.de/trigger/release?project=$SPRJ\&package=$PKG\&targetproject=$PRJ\&targetrepository=images\&filter_source_repository=\"images\""
done
for arch in aarch64 ppc64le s390x x86_64 ; do
@ -280,12 +280,12 @@ pipelines:
resources:
- staging-bot
tasks:
# can't use osc command due to https://github.com/openSUSE/osc/issues/1194
- script: |-
SPRJ=SUSE:SLE-15-SP5:Update:BCI
for arch in aarch64 ppc64le s390x x86_64 ; do
PKG="000product:SLE_BCI-ftp-POOL-$arch"
PRJ="SUSE:Products:SLE-BCI:15-SP5:$arch"
# can't use osc command due to https://github.com/openSUSE/osc/issues/1194
curl -X POST -H "Authorization: Token $BCI_TOKEN" "https://api.suse.de/trigger/release?project=$SPRJ\&package=$PKG\&targetproject=$PRJ\&targetrepository=images\&filter_source_repository=\"images\""
done
for arch in aarch64 ppc64le s390x x86_64 ; do

View File

@ -110,12 +110,12 @@ pipelines:
resources:
- staging-bot
tasks:
# can't use osc command due to https://github.com/openSUSE/osc/issues/1194
- script: |-
SPRJ=SUSE:SLE-15-<%= sp %>:Update:BCI
for arch in aarch64 ppc64le s390x x86_64 ; do
PKG="000product:SLE_BCI-ftp-POOL-$arch"
PRJ="SUSE:Products:SLE-BCI:15-<%= sp %>:$arch"
# can't use osc command due to https://github.com/openSUSE/osc/issues/1194
curl -X POST -H "Authorization: Token $BCI_TOKEN" "https://api.suse.de/trigger/release?project=$SPRJ\&package=$PKG\&targetproject=$PRJ\&targetrepository=images\&filter_source_repository=\"images\""
done
for arch in aarch64 ppc64le s390x x86_64 ; do

View File

@ -2,10 +2,11 @@
set -e
if ! test -f yaml-config-plugin-0.9.0.jar; then
wget https://github.com/tomzo/gocd-yaml-config-plugin/releases/download/0.9.0/yaml-config-plugin-0.9.0.jar
version=0.13.0
if ! test -f yaml-config-plugin-$version.jar; then
wget https://github.com/tomzo/gocd-yaml-config-plugin/releases/download/$version/yaml-config-plugin-$version.jar
fi
sha1sum -c yaml-config-plugin-0.9.0.jar.sha1
sha1sum -c yaml-config-plugin-$version.jar.sha1
for file in *.erb; do
erb -T - $file > $(basename $file .erb)
@ -22,6 +23,6 @@ grep group: *.yaml | cut -d: -f3 | sort -u | while read group; do
done
for file in *.gocd.yaml; do
java -jar yaml-config-plugin-0.9.0.jar syntax $file
java -jar yaml-config-plugin-$version.jar syntax $file
done

View File

@ -0,0 +1 @@
560f360411e67f49faa0c37b533feaa2b6c9a166 yaml-config-plugin-0.13.0.jar

View File

@ -1 +0,0 @@
99b9818d4cffb2e10f748afb34fc918ff04ff01a yaml-config-plugin-0.9.0.jar