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: add shell debugging for build script

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

+9
+2
.gitlab-ci.yml
··· 55 55 # env vars for build/ci-publish-builds 56 56 IMAGE_NAME: $CI_REGISTRY/$CI_PROJECT_PATH 57 57 DOCKER_BUILD_REPO: https://tangled.org/recaptime.dev/knot-docker-nest 58 + # enable "set +x" for debugging 59 + DEBUG: "true" 58 60 59 61 .build-base: 60 62 stage: build
+7
bin/build
··· 1 1 #!/usr/bin/env bash 2 2 # SPDX-License-Identifier: MIT 3 + if [[ $DEBUG != "" ]]; then 4 + set +x 5 + fi 3 6 4 7 # First, collect metadata from git about the current commit 5 8 _COMMIT_SHA_LOCAL=$(git rev-parse HEAD) ··· 46 49 fi 47 50 else 48 51 echo "Skipping push of $IMAGE_NAME:build-$TIMESTAMP to registry" 52 + fi 53 + 54 + if [[ $DEBUG != "" ]]; then 55 + set -x 49 56 fi