Merge pull request #2597 from coolo/issue_2273

Work on gocd's generate.sh
This commit is contained in:
Stephan Kulow 2021-07-13 09:31:20 +02:00 committed by GitHub
commit f9ab72aabc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 3 deletions

View File

@ -39,6 +39,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Validate gocd config
run: cd gocd && sh generate.sh && git diff --exit-code
- name: Setup path
run: sed -i -e "s,../..:,$PWD:," dist/ci/docker-compose.yml
@ -49,4 +52,3 @@ jobs:
if: always()
run: docker-compose -f dist/ci/docker-compose.yml down

View File

@ -5,6 +5,7 @@ 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
fi
sha1sum -c yaml-config-plugin-0.9.0.jar.sha1
for file in *.erb; do
erb -T - $file > $(basename $file .erb)

View File

@ -26,7 +26,7 @@ pipelines:
- repo-checker
tasks:
- script: python3 ./pkglistgen.py -d -A https://api.opensuse.org update_and_solve -p openSUSE:Factory -s rings
openSUSE_Factory_ARM:
openSUSE_Factory_ARM_target:
resources:
- repo-checker
tasks:

View File

@ -16,7 +16,7 @@ pipelines:
approval:
type: manual
jobs:
<% ['openSUSE:Factory/target', 'openSUSE:Factory/rings', 'openSUSE:Factory:ARM', 'openSUSE:Factory:PowerPC', 'openSUSE:Factory:zSystems', 'openSUSE:Factory:RISCV'].each do |project|
<% ['openSUSE:Factory/target', 'openSUSE:Factory/rings', 'openSUSE:Factory:ARM/target', 'openSUSE:Factory:ARM/rings', 'openSUSE:Factory:PowerPC', 'openSUSE:Factory:zSystems', 'openSUSE:Factory:RISCV'].each do |project|
project=project.split('/')
name=project[0].gsub(':', '_')
if project.size > 1

View File

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