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

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

View File

@@ -32,3 +32,5 @@ sleep 2
git commit -sm "initial commit" && \
git push -u http://localhost:3000/git/foo.git master
)
exit 0

View File

@@ -26,3 +26,5 @@ while ! docker compose ps | grep healthy; do
delay=$(( delay * 2 ))
attempt=$(( attempt + 1 ))
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