Skip to content
Snippets Groups Projects

Don't run deploy in schedule when HAWKBIT_* not set and allow for failure if...

Open Pawel Stankiewicz requested to merge pastanki/oniro:kirkstone into kirkstone
1 unresolved thread
@@ -404,9 +404,11 @@
-a "${CI_PROJECT_DIR}/artifacts/images/${MACHINE}/$(readlink "${CI_PROJECT_DIR}/artifacts/images/${MACHINE}/${CI_ONIRO_RAUC_BUNDLE_NAME}-${MACHINE}.raucb")"
rules:
# Publishing is done only for scheduled builds
- if: '$CI_PIPELINE_SOURCE == "schedule"'
- if: $CI_PIPELINE_SOURCE == "schedule" && $HAWKBIT_URL && $HAWKBIT_USERNAME && $HAWKBIT_PASSWORD
allow_failure: true
# Run the job when a tag is placed.
- if: '$CI_COMMIT_TAG'
allow_failure: true
# For merge requests, the publishing is optional and can be triggered manually.
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: manual
Loading