From: Don Zickus on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2709 NOTE: Truncated patchset since committer email 'mhofmann@redhat.com' does not match the submitter's GitLab public email address 'dzickus@redhat.com'. There is no easy way to test or debug scheduled job .gitlab-ci.yml changes. Add infrastructure to allow pushes to a test-os-build area and a scheduled job to play that branch.
Signed-off-by: Don Zickus dzickus@redhat.com
--- .gitlab-ci.yml | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
From: Don Zickus dzickus@redhat.com
Add testing infrastructure
There is no easy way to test or debug scheduled job .gitlab-ci.yml changes. Add infrastructure to allow pushes to a test-os-build area and a scheduled job to play that branch.
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 @@ -38,6 +38,9 @@ workflow: only-os-build-schedule: &only-os-build-schedule if: $CI_COMMIT_BRANCH != "os-build" || $CI_PIPELINE_SOURCE != "schedule" when: never + only-test-os-build-schedule: &only-test-os-build-schedule + if: $CI_COMMIT_BRANCH != "test-os-build" || $CI_PIPELINE_SOURCE != "schedule" + when: never only-ark-latest-head: &only-ark-latest-head if: $CI_COMMIT_BRANCH != "ark-latest" || $CI_PIPELINE_SOURCE !~ /push|web/ when: never @@ -271,6 +274,19 @@ rawhide_release: - *only-os-build-schedule - if: $RAWHIDE_RELEASE == "true"
+test_scheduled_job: + extends: .scheduled_setup + script: + - git checkout --track origin/ark-latest && git describe + - git checkout --track origin/ark-infra && git describe + # make sure we are on correct code base before running script + - git checkout test-os-build && git describe + - sh -x redhat/scripts/ci/ark-create-release.sh + retry: 2 + rules: + - *only-test-os-build-schedule + - if: $RAWHIDE_RELEASE == "testing" + test_makefile: image: quay.io/fedora/fedora:rawhide variables:
-- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2709
From: Michael Hofmann on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2709#note_1549725...
I put a commit on top of your branch with how it could be done
From: Don Zickus on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2709#note_1563538...
Closing for now as we agreed to use the existing scheduled jobs for testing.
kernel@lists.fedoraproject.org