Merge pull request #2890 from coolo/update_plugin
Update version of the config plugin
This commit is contained in:
commit
6e6e1ec9b5
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
1
gocd/yaml-config-plugin-0.13.0.jar.sha1
Normal file
1
gocd/yaml-config-plugin-0.13.0.jar.sha1
Normal file
@ -0,0 +1 @@
|
||||
560f360411e67f49faa0c37b533feaa2b6c9a166 yaml-config-plugin-0.13.0.jar
|
@ -1 +0,0 @@
|
||||
99b9818d4cffb2e10f748afb34fc918ff04ff01a yaml-config-plugin-0.9.0.jar
|
Loading…
x
Reference in New Issue
Block a user