Docker config for @recaptime.dev's Knot server on Hack Club Nest. knot.hackclub.community
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

ci(gitlab-ci): sync tangled knotserver release at CI config side

Also improve build script debugging by aborting push when build is failed.

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@crew.recaptime.dev>

+7 -1
+1 -1
.gitlab-ci.yml
··· 7 7 source-ref: 8 8 description: "The source branch from the Tangled monorepo to build against. Defaults to latest tagged release." 9 9 type: string 10 - default: "v1.11.0-alpha" 10 + default: "v1.13.0-alpha" 11 11 build-type: 12 12 description: "The type of build to perform (e.g., 'production' for tagged releases, 'nightly' for nightly builds from the main branch and 'weekly' for weekly builds)." 13 13 options: ["production", "nightly", "weekly", "merge_request"]
+6
bin/build
··· 30 30 --build-arg DEPLOY_IMAGE=$DEPLOY_IMAGE \ 31 31 --build-arg BUILDER_IMAGE=$BUILDER_IMAGE \ 32 32 . 33 + 34 + BUILD_STATUS=$? 35 + if [[ "${BUILD_STATUS}" != "0" ]]; then 36 + echo "error: Something gone wrong while building the image, see logs above for context." 37 + exit 1 38 + fi 33 39 34 40 if [[ $CI == "true" || "$FF_PUSH_LOCAL_BUILDS" == "true" ]]; then 35 41 echo "Tagging $IMAGE_NAME:build-$TIMESTAMP for publishing"