diff options
Diffstat (limited to 'worker/jobs/checkout_ci.run')
-rwxr-xr-x | worker/jobs/checkout_ci.run | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/worker/jobs/checkout_ci.run b/worker/jobs/checkout_ci.run index 0945444..6416bfe 100755 --- a/worker/jobs/checkout_ci.run +++ b/worker/jobs/checkout_ci.run @@ -8,7 +8,7 @@ WORKING_DIR="$PWD/$RUN" export LOG_PREFIX="[checkout_ci.$RUN]" -log "starting checkout_ci job $remote @ $refname - $rev in $WORKING_DIR" +log "hewwo~ starting checkout job for $remote @ $refname - $rev" mkdir -p "$WORKING_DIR" && cd "$WORKING_DIR" CODE="$WORKING_DIR/src" @@ -16,17 +16,17 @@ checkout="$rev" path="$CODE" fetch_code CI_WORKFLOW="$CODE/.ci/ci.json" if [[ ! -e "$CI_WORKFLOW" ]]; then - log "no CI configuration found" + log "couldn't find any ci configuration (。•́︿•̀。) that's okay~" exit 0 fi PIPELINE_GENERATOR_PATH=$(jq -r '.pipeline' "$CI_WORKFLOW") if [[ "$PIPELINE_GENERATOR_PATH" == *".."* ]]; then - log "no '..'" + log "found sneaky '..' in path (⋟﹏⋞) that's not allowed!" exit 1 fi -log "building the pipeline..." +log "building the pipeline~ (◕ᴗ◕✿) let's make something amazing!" PIPELINE="$WORKING_DIR/pipeline.json" docker run --rm --network none --cap-drop ALL --security-opt no-new-privileges \ -e refname="$refname" -e rev="$rev" -e remote="$remote" \ @@ -36,7 +36,7 @@ docker run --rm --network none --cap-drop ALL --security-opt no-new-privileges \ pipeline="$PIPELINE" run_pipeline -log "cleaning up working directory" +log "cleaning up after myself like a good kitty (˘ω˘)" cd "$RETURN" && rm -rf "$WORKING_DIR" -log "checkout_ci run done" +log "all done with checkout! hope it worked~ (⑅˘꒳˘)" |