Pass GH_TOKEN to containers started during tests

This commit is contained in:
Geoff Bourne
2026-06-26 07:17:53 -05:00
parent 292b2f757e
commit c7a0f39f29
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -16,6 +16,7 @@ fullMinecraftUpTest(){
--attach-dependencies
--always-recreate-deps
--abort-on-container-failure
-e GH_TOKEN="${GH_TOKEN:-}"
)
if ! docker compose -f "$file" up "${upArgs[@]}" monitor; then
echo "$(dirname "$file") Result: failed"
+1 -1
View File
@@ -46,7 +46,7 @@ setupOnlyMinecraftTest(){
start=$(date +%s)
status=PASSED
verify=
if ! logs=$(docker compose run --rm -e SETUP_ONLY=true -e DEBUG="${DEBUG:-false}" mc 2>&1); then
if ! logs=$(docker compose run --rm -e SETUP_ONLY=true -e DEBUG="${DEBUG:-false}" -e GH_TOKEN="${GH_TOKEN:-}" mc 2>&1); then
status=FAILED
outputContainerLog "$logs"
result=1