mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-18 14:24:56 +00:00
@@ -21,3 +21,5 @@ docker compose up -d
|
|||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
(cd ./var/clones && git clone http://localhost:8005/status.git)
|
(cd ./var/clones && git clone http://localhost:8005/status.git)
|
||||||
|
|
||||||
|
exit 0
|
||||||
@@ -32,3 +32,5 @@ sleep 2
|
|||||||
git commit -sm "initial commit" && \
|
git commit -sm "initial commit" && \
|
||||||
git push -u http://localhost:3000/git/foo.git master
|
git push -u http://localhost:3000/git/foo.git master
|
||||||
)
|
)
|
||||||
|
|
||||||
|
exit 0
|
||||||
@@ -26,3 +26,5 @@ while ! docker compose ps | grep healthy; do
|
|||||||
delay=$(( delay * 2 ))
|
delay=$(( delay * 2 ))
|
||||||
attempt=$(( attempt + 1 ))
|
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/...)
|
(cd $REPO_ROOT && go install ./utils/cmd/...)
|
||||||
|
|
||||||
function cleanup() {
|
function cleanup() {
|
||||||
|
set +e
|
||||||
|
|
||||||
pkill -P $$
|
pkill -P $$
|
||||||
|
|
||||||
if [ -f "docker-compose.yaml" ]; then
|
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 down -t 1 || :
|
||||||
docker compose rm -f || :
|
docker compose rm -f || :
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user