aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/py/lib/test_repo
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-09 19:52:19 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-09 20:10:19 +0200
commitb29534abce39107ab96985acbacf292619bbaf92 (patch)
treeaae117276846538184c9702dee351f8d7a3118c2 /test/py/lib/test_repo
parentstore process output in SQLite (diff)
downloadcimple-b29534abce39107ab96985acbacf292619bbaf92.tar.gz
cimple-b29534abce39107ab96985acbacf292619bbaf92.zip
test: test empty CI run output, refactoring
Meh, moving the shell code generation to Python I like better in the end.
Diffstat (limited to 'test/py/lib/test_repo')
-rwxr-xr-xtest/py/lib/test_repo/ci.sh24
1 files changed, 0 insertions, 24 deletions
diff --git a/test/py/lib/test_repo/ci.sh b/test/py/lib/test_repo/ci.sh
deleted file mode 100755
index 804cdb3..0000000
--- a/test/py/lib/test_repo/ci.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env bash
-
-set -o errexit -o nounset -o pipefail
-shopt -s inherit_errexit lastpipe
-
-script_dir="$( dirname -- "${BASH_SOURCE[0]}" )"
-script_dir="$( cd -- "$script_dir" && pwd )"
-readonly script_dir
-
-ci_output_dir="$( git remote get-url origin )"
-ci_output_dir="$ci_output_dir/output"
-readonly ci_output_dir
-
-mkdir -p -- "$ci_output_dir"
-
-readonly ci_output_template=ci_XXXXXX
-
-ci_output_path="$( mktemp --tmpdir="$ci_output_dir" "$ci_output_template" )"
-readonly ci_output_path
-
-timestamp="$( date --iso-8601=ns )"
-readonly timestamp
-
-echo "A CI run happened at $timestamp" | tee -- "$ci_output_path"