Skip to content
Snippets Groups Projects

Draft: test artifact publishing

Closed Zygmunt Krynicki requested to merge feature/pi-bundle-publishing into integration
+ 12
12
@@ -136,21 +136,21 @@ publish-raspberrypi4-64:
&& echo "BUNDLE_FILE=$BUNDLE_FILE"
&& exit 1 )
# TODO: create or find sw mod type for SysOTA + RAUC bundle
- hawkbitctl create software-module \
-name "$CI_ONIRO_HAWKBIT_SWMOD_NAME" \
-version "$BUNDLE_VERSION" \
-type os \
-vendor Onrio \
- hawkbitctl create software-module
-name "$CI_ONIRO_HAWKBIT_SWMOD_NAME"
-version "$BUNDLE_VERSION"
-type os
-vendor "Onrio"
-description "Automatic build from Oniro CI"
# TODO: create or find ds type for Raspberry Pi 4 + Oniro
- hawkbitctl create distribution-set \
-name "$CI_ONIRO_HAWKBIT_DS_NAME" \
-version "$BUNDLE_VERSION" \
-type os_only \
-modules "$CI_ONIRO_HAWKBIT_SWMOD_NAME:$BUNDLE_VERSION" \
- hawkbitctl create distribution-set
-name "$CI_ONIRO_HAWKBIT_DS_NAME"
-version "$BUNDLE_VERSION"
-type os_only
-modules "$CI_ONIRO_HAWKBIT_SWMOD_NAME:$BUNDLE_VERSION"
-description "Automatic build from Oniro CI"
- hawkbitctl upload \
-m "$CI_ONIRO_HAWKBIT_SWMOD_NAME:$BUNDLE_VERSION" \
- hawkbitctl upload
-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:
# Publishing is done only for scheduled builds
Loading