Merge pull request #2597 from coolo/issue_2273
Work on gocd's generate.sh
This commit is contained in:
commit
f9ab72aabc
4
.github/workflows/ci-test.yml
vendored
4
.github/workflows/ci-test.yml
vendored
@ -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
|
||||
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
1
gocd/yaml-config-plugin-0.9.0.jar.sha1
Normal file
1
gocd/yaml-config-plugin-0.9.0.jar.sha1
Normal file
@ -0,0 +1 @@
|
||||
99b9818d4cffb2e10f748afb34fc918ff04ff01a yaml-config-plugin-0.9.0.jar
|
Loading…
x
Reference in New Issue
Block a user