From: Don Zickus <dzickus@xxxxxxxxxx> 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@xxxxxxxxxx> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index blahblah..blahblah 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -100,17 +100,7 @@ rawhide_release: script: - git checkout --track origin/ark-latest && git describe - git checkout --track origin/ark-infra && 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 || exit 1 retry: 2 rules: - if: '$CI_PIPELINE_SOURCE == "schedule" && $RAWHIDE_RELEASE == "true"' -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2519 _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue