teet
CI Feature / Load example-gitea-env.conf to pipeline env (push) Successful in 31s
unit-tests Bats test report
CI Feature / Bats tests (push) Successful in 1m34s
acc-tests Cucumber test report
CI Feature / Cucumber tests (push) Successful in 1m47s
CI Feature / Report Summary (push) Successful in 6s

This commit is contained in:
moilanik
2026-06-21 17:14:27 +03:00
parent 5c9df73a66
commit 1385afcca6
3 changed files with 51 additions and 40 deletions
+2 -9
View File
@@ -11,15 +11,8 @@ fi
case "$1" in
clone)
TARGET_DIR="${@: -1}"
mkdir -p "$TARGET_DIR"
cd "$TARGET_DIR"
git init --initial-branch=main 2>/dev/null
git config user.email "mock@test.com"
git config user.name "Mock Test"
mkdir -p "$(dirname "$INPUT_FILE")"
echo 'version: 0.1.0' > "$INPUT_FILE"
git add -A 2>/dev/null
git commit -m "initial" 2>/dev/null
mkdir -p "${TARGET_DIR}/$(dirname "$INPUT_FILE")"
echo 'version: 0.1.0' > "${TARGET_DIR}/${INPUT_FILE}"
echo "Cloning into '$TARGET_DIR'..."
;;
add|commit|push|config|init)