fix(test): fix CI??

Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
Xe Iaso
2025-08-31 12:04:18 +00:00
parent 09088d0494
commit 56ea63cec6
5 changed files with 13 additions and 3 deletions

View File

@@ -20,4 +20,6 @@ docker compose up -d
sleep 2
(cd ./var/clones && git clone http://localhost:8005/status.git)
(cd ./var/clones && git clone http://localhost:8005/status.git)
exit 0

View File

@@ -31,4 +31,6 @@ sleep 2
git config user.email "social+anubis-ci@techaro.lol" && \
git commit -sm "initial commit" && \
git push -u http://localhost:3000/git/foo.git master
)
)
exit 0

View File

@@ -25,4 +25,6 @@ while ! docker compose ps | grep healthy; do
sleep $delay
delay=$(( delay * 2 ))
attempt=$(( attempt + 1 ))
done
done
exit 0

View File

@@ -2,6 +2,8 @@ REPO_ROOT=$(git rev-parse --show-toplevel)
(cd $REPO_ROOT && go install ./utils/cmd/...)
function cleanup() {
set +e
pkill -P $$
if [ -f "docker-compose.yaml" ]; then

View File

@@ -34,3 +34,5 @@ go run ../../cmd/cipra/ --compose-name $(basename $(pwd))
docker compose down -t 1 || :
docker compose rm -f || :
exit 0