Skip to content
Snippets Groups Projects
Commit 443efb59 authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

fixup-cannot-force-push


Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent d797288e
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !101. Comments created here will be created in the context of that merge request.
......@@ -106,6 +106,7 @@ publish-raspberrypi4-64:
CI_ONIRO_RAUC_BUNDLE_NAME: oniro-bundle-base
MACHINE: raspberrypi4-64
script:
- env | grep HAWKBIT_
- test -n "${HAWKBIT_URL:-}" || (
echo "precondition failed - HAWKBIT_URL is not set."
&& exit 1 )
......@@ -147,8 +148,8 @@ publish-raspberrypi4-64:
-modules "$CI_ONIRO_HAWKBIT_SWMOD_NAME:$BUNDLE_VERSION" \
-description "Automatic build from Oniro CI"
- hawkbitctl upload \
-m "$CI_ONIRO_HAWKBIT_SWMOD_NAME:$CI_ONIRO_HAWKBIT_SWMOD_VERSION" \
-a "$BUNDLE_FILE"
-m "$CI_ONIRO_HAWKBIT_SWMOD_NAME:$BUNDLE_VERSION" \
-a "${CI_PROJECT_DIR}/artifacts/images/${MACHINE}/$(readlink "${CI_PROJECT_DIR}/artifacts/images/${MACHINE}/${CI_ONIRO_RAUC_BUNDLE_NAME}-${MACHINE}.raucb")"
rules:
# There's no point in trying when we don't have credentials or instance URL.
- if: '$HAWKBIT_USERNAME == "" || $HAWKBIT_PASSWORD == "" || $HAWKBIT_URL == ""'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment