Add "put-shared" to repo-stub-readme
This commit is contained in:
parent
d1edb7fa89
commit
26eec6c108
|
|
@ -85,9 +85,23 @@ arches="$(bashbrew cat --format '{{ range .Entries }}{{ join "\n" .Architectures
|
||||||
if [ -n "$arches" ]; then
|
if [ -n "$arches" ]; then
|
||||||
archTable=
|
archTable=
|
||||||
i=0
|
i=0
|
||||||
for arch in $arches; do
|
for arch in $arches put-shared; do
|
||||||
jenkinsLink="https://doi-janky.infosiftr.net/job/multiarch/job/$arch/job/$repo"
|
if [ "$arch" = 'put-shared' ]; then
|
||||||
jenkinsImage="https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/$arch/job/$repo.svg?label=$arch"
|
jenkinsLink=
|
||||||
|
for jenkinsJob in "job/put-shared/job/light/job/$repo" 'job/put-shared/job/heavy'; do
|
||||||
|
jenkinsImage="https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/$jenkinsJob.svg?label=$arch"
|
||||||
|
if _check_shields_io_image "$jenkinsImage"; then
|
||||||
|
jenkinsLink="https://doi-janky.infosiftr.net/$jenkinsJob"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
if [ -z "$jenkinsLink" ]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
jenkinsLink="https://doi-janky.infosiftr.net/job/multiarch/job/$arch/job/$repo"
|
||||||
|
jenkinsImage="https://img.shields.io/jenkins/s/https/doi-janky.infosiftr.net/job/multiarch/job/$arch/job/$repo.svg?label=$arch"
|
||||||
|
fi
|
||||||
if _check_shields_io_image "$jenkinsImage"; then
|
if _check_shields_io_image "$jenkinsImage"; then
|
||||||
archTable="${archTable:-|} []($jenkinsLink) |"
|
archTable="${archTable:-|} []($jenkinsLink) |"
|
||||||
(( i = (i + 1) % 4 )) || : # modulo here needs to match the number of colums used below
|
(( i = (i + 1) % 4 )) || : # modulo here needs to match the number of colums used below
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue