mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-05 16:28:17 +00:00
@@ -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
|
||||
@@ -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
|
||||
@@ -25,4 +25,6 @@ while ! docker compose ps | grep healthy; do
|
||||
sleep $delay
|
||||
delay=$(( delay * 2 ))
|
||||
attempt=$(( attempt + 1 ))
|
||||
done
|
||||
done
|
||||
|
||||
exit 0
|
||||
@@ -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
|
||||
|
||||
@@ -34,3 +34,5 @@ go run ../../cmd/cipra/ --compose-name $(basename $(pwd))
|
||||
|
||||
docker compose down -t 1 || :
|
||||
docker compose rm -f || :
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user