From 78ba0ef6033c0c1689cd7daa649526c18933662a Mon Sep 17 00:00:00 2001 From: Leonard Jonathan Oh Date: Wed, 22 Nov 2023 04:50:06 +0000 Subject: [PATCH] Fix (tests): Fix integration tests to not use a non-existent image --- .vscode/tasks.json | 4 ++-- docs/bf2hub-bf2stats-example/docker-compose.build.yml | 5 +++++ docs/full-bf2-stack-example/docker-compose.build.yml | 5 +++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index f0e2790c..c3f6d4dc 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -12,13 +12,13 @@ { "label": "Test (prod1)", "type": "shell", - "command": "./test/test.sh prod 1", + "command": "./test/test.sh prod1 1", "group": "build" }, { "label": "Test (prod2)", "type": "shell", - "command": "./test/test.sh prod 1", + "command": "./test/test.sh prod2 1", "group": "build" }, { diff --git a/docs/bf2hub-bf2stats-example/docker-compose.build.yml b/docs/bf2hub-bf2stats-example/docker-compose.build.yml index 9b6e5700..02891ce1 100644 --- a/docs/bf2hub-bf2stats-example/docker-compose.build.yml +++ b/docs/bf2hub-bf2stats-example/docker-compose.build.yml @@ -1,5 +1,10 @@ # This is a docker compose override file, for production builds with caching for CI environments services: + bf2: + image: startersclan/docker-bf2:v1.5.3153.0 + volumes: + - ../../src/python:/server/bf2/python # Mount the python files + asp: build: dockerfile: Dockerfile.asp diff --git a/docs/full-bf2-stack-example/docker-compose.build.yml b/docs/full-bf2-stack-example/docker-compose.build.yml index 9b6e5700..02891ce1 100644 --- a/docs/full-bf2-stack-example/docker-compose.build.yml +++ b/docs/full-bf2-stack-example/docker-compose.build.yml @@ -1,5 +1,10 @@ # This is a docker compose override file, for production builds with caching for CI environments services: + bf2: + image: startersclan/docker-bf2:v1.5.3153.0 + volumes: + - ../../src/python:/server/bf2/python # Mount the python files + asp: build: dockerfile: Dockerfile.asp