Skip to content

Commit

Permalink
Merge pull request #3163 from gleidi-suse/fix_auto_freeze
Browse files Browse the repository at this point in the history
gocd: slfo_stagings: Fix openSUSE-release-tools path.
  • Loading branch information
gleidi-suse committed Sep 16, 2024
2 parents 29d8faa + 32e14f0 commit 6615422
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions gocd/slfo-stagings.gocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ pipelines:
git: https://github.com/openSUSE/openSUSE-release-tools.git
whitelist:
- DO_NOT_TRIGGER
destination: scripts
stages:
- Check.Ring.1.Finished:
timeout: 50
Expand All @@ -26,8 +25,6 @@ pipelines:
tasks:
- script: |-
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/')"
echo $SLFO_RING_1_PROJECT status: "${status}"
if printf '%s' "${status}" | grep -q finished; then
Expand All @@ -43,7 +40,7 @@ pipelines:
tasks:
- script: |-
set -eu
export PYTHONPATH=$PWD/scripts
export PYTHONPATH=$PWD
## Setup osc staging plugin
tempdir=$(mktemp -d)
Expand Down
5 changes: 1 addition & 4 deletions gocd/slfo-stagings.gocd.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ pipelines:
git: https://github.com/openSUSE/openSUSE-release-tools.git
whitelist:
- DO_NOT_TRIGGER
destination: scripts
stages:
- Check.Ring.1.Finished:
timeout: 50
Expand All @@ -27,8 +26,6 @@ pipelines:
tasks:
- script: |-
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/')"
echo $SLFO_RING_1_PROJECT status: "${status}"
if printf '%s' "${status}" | grep -q finished; then
Expand All @@ -44,7 +41,7 @@ pipelines:
tasks:
- script: |-
set -eu
export PYTHONPATH=$PWD/scripts
export PYTHONPATH=$PWD

## Setup osc staging plugin
tempdir=$(mktemp -d)
Expand Down

0 comments on commit 6615422

Please sign in to comment.