From: Don Zickus dzickus@redhat.com
CI: rawhide_release: switch to using script to push
Currently the gitlab-ci.yml script pushes the gitlab changes. Switch to using the script to make testing and debugging easier.
No functional changes, but script pushing is minimally tested.
Signed-off-by: Don Zickus dzickus@redhat.com
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index blahblah..blahblah 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -265,17 +265,7 @@ rawhide_release: - git checkout --track origin/ark-infra && git describe # make sure we are on correct code base before running script - git checkout os-build && git describe - - redhat/scripts/ci/ark-create-release.sh || exit_code=$? - - if [ $exit_code -eq 3 ]; then echo "Tag exists, halting" && exit 0; fi; - - if [ $exit_code -ne 0 ]; then echo "Unable to create release tag" && exit 1; fi; - - git push gitlab os-build - # ark-create-release.sh creates a tag for ark-latest to be pushed. - # Make sure the ark-latest branch is checked out. - - git checkout ark-latest - - git push gitlab "$(git describe)" - - git push gitlab ark/* - - git push -f gitlab ark-latest - - git push -f gitlab ark-infra + - DIST_PUSH=1 redhat/scripts/ci/ark-create-release.sh retry: 2 rules: - *only-os-build-schedule
-- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2519
From: Patrick Talbert on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2519#note_1513626...
Let's see what happens.
kernel@lists.fedoraproject.org