:-'Generic Commit'
Some checks failed
Build-Test-Publish / Build (push) Failing after 32s

This commit is contained in:
Your Name
2025-05-30 23:14:03 +12:00
parent 7f3387cc19
commit ef97829556
5 changed files with 9 additions and 8 deletions

View File

@@ -52,7 +52,7 @@ title "Building amd64 executable"
#------------------------------------------------------------------------------------------------
# build the docker image
title "Building docker image"
docker buildx build --no-cache --load -t gitea.jde.nz/public/simple-object-storage:test --platform linux/amd64 "${MAIN_DIR}"
docker buildx build --no-cache --load -t simple-object-storage-test --platform linux/amd64 "${MAIN_DIR}"
#------------------------------------------------------------------------------------------------
# run the docker container
@@ -84,7 +84,8 @@ if ! wait_for_container "sos-test"; then
fi
# run the tests. Docker inside docker support!
"${SCRIPT_DIR}/test.sh" "http://127.0.0.1:7703"
docker exec -it sos-test ls /testing || true
docker exec -it sos-test /bin/bash -c "cd /testing && ./test.sh http://127.0.0.1:7703"
RESULT=$?
# clean up.