Merge pull request #3163 from gleidi-suse/fix_auto_freeze
gocd: slfo_stagings: Fix openSUSE-release-tools path.
This commit is contained in:
commit
6615422d9f
@ -17,7 +17,6 @@ pipelines:
|
|||||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
whitelist:
|
whitelist:
|
||||||
- DO_NOT_TRIGGER
|
- DO_NOT_TRIGGER
|
||||||
destination: scripts
|
|
||||||
stages:
|
stages:
|
||||||
- Check.Ring.1.Finished:
|
- Check.Ring.1.Finished:
|
||||||
timeout: 50
|
timeout: 50
|
||||||
@ -26,8 +25,6 @@ pipelines:
|
|||||||
tasks:
|
tasks:
|
||||||
- script: |-
|
- script: |-
|
||||||
set -eu
|
set -eu
|
||||||
export PYTHONPATH=$PWD/scripts
|
|
||||||
cd scripts/gocd
|
|
||||||
status="$(osc -A $STAGING_API api /build/$SLFO_RING_1_PROJECT/standard/x86_64?view=status | grep 'code=' | sed -E 's/^.*code="(.*)".*$/\1/')"
|
status="$(osc -A $STAGING_API api /build/$SLFO_RING_1_PROJECT/standard/x86_64?view=status | grep 'code=' | sed -E 's/^.*code="(.*)".*$/\1/')"
|
||||||
echo $SLFO_RING_1_PROJECT status: "${status}"
|
echo $SLFO_RING_1_PROJECT status: "${status}"
|
||||||
if printf '%s' "${status}" | grep -q finished; then
|
if printf '%s' "${status}" | grep -q finished; then
|
||||||
@ -43,7 +40,7 @@ pipelines:
|
|||||||
tasks:
|
tasks:
|
||||||
- script: |-
|
- script: |-
|
||||||
set -eu
|
set -eu
|
||||||
export PYTHONPATH=$PWD/scripts
|
export PYTHONPATH=$PWD
|
||||||
|
|
||||||
## Setup osc staging plugin
|
## Setup osc staging plugin
|
||||||
tempdir=$(mktemp -d)
|
tempdir=$(mktemp -d)
|
||||||
|
@ -18,7 +18,6 @@ pipelines:
|
|||||||
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
git: https://github.com/openSUSE/openSUSE-release-tools.git
|
||||||
whitelist:
|
whitelist:
|
||||||
- DO_NOT_TRIGGER
|
- DO_NOT_TRIGGER
|
||||||
destination: scripts
|
|
||||||
stages:
|
stages:
|
||||||
- Check.Ring.1.Finished:
|
- Check.Ring.1.Finished:
|
||||||
timeout: 50
|
timeout: 50
|
||||||
@ -27,8 +26,6 @@ pipelines:
|
|||||||
tasks:
|
tasks:
|
||||||
- script: |-
|
- script: |-
|
||||||
set -eu
|
set -eu
|
||||||
export PYTHONPATH=$PWD/scripts
|
|
||||||
cd scripts/gocd
|
|
||||||
status="$(osc -A $STAGING_API api /build/$SLFO_RING_1_PROJECT/standard/x86_64?view=status | grep 'code=' | sed -E 's/^.*code="(.*)".*$/\1/')"
|
status="$(osc -A $STAGING_API api /build/$SLFO_RING_1_PROJECT/standard/x86_64?view=status | grep 'code=' | sed -E 's/^.*code="(.*)".*$/\1/')"
|
||||||
echo $SLFO_RING_1_PROJECT status: "${status}"
|
echo $SLFO_RING_1_PROJECT status: "${status}"
|
||||||
if printf '%s' "${status}" | grep -q finished; then
|
if printf '%s' "${status}" | grep -q finished; then
|
||||||
@ -44,7 +41,7 @@ pipelines:
|
|||||||
tasks:
|
tasks:
|
||||||
- script: |-
|
- script: |-
|
||||||
set -eu
|
set -eu
|
||||||
export PYTHONPATH=$PWD/scripts
|
export PYTHONPATH=$PWD
|
||||||
|
|
||||||
## Setup osc staging plugin
|
## Setup osc staging plugin
|
||||||
tempdir=$(mktemp -d)
|
tempdir=$(mktemp -d)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user