Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gocd: slfo_stagings: Fix openSUSE-release-tools path. #3163

Merged
merged 1 commit into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading