Skip to content

Commit ac92ef0

Browse files
committed
Merge branch 'fix-integration-tests'
2 parents 0e5de18 + 5b04c5f commit ac92ef0

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

.dockerignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,10 @@ Dockerfile*
99
./keys
1010
./integration-tests/.env
1111

12+
# Ignore the compose file themselves
13+
compose.base.yaml
14+
compose.deploy.yaml
15+
./integration-tests/compose.yaml
16+
1217
# Ignore integration tests completely
1318
./integration-tests

integration-tests/Dockerfile.test_client

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ RUN chown --recursive test-client:test-group /app
1515

1616
USER test-client
1717

18-
ARG MEESIGN_TEST_CLIENT_REPO_OWNER=quapka
19-
ARG MEESIGN_TEST_CLIENT_REPO_BRANCH=integration-test
18+
ARG MEESIGN_TEST_CLIENT_REPO_OWNER=crocs-muni
19+
ARG MEESIGN_TEST_CLIENT_REPO_BRANCH=devel
2020
RUN git clone \
2121
--recurse-submodules \
2222
--depth 1 \

integration-tests/compose.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ services:
1919
test-client:
2020
build:
2121
args:
22-
# By deafult test against `main` branch
23-
MEESIGN_TEST_CLIENT_REPO_OWNER: quapka
24-
MEESIGN_TEST_CLIENT_REPO_BRANCH: integration-test
22+
# TODO Test against crocs-muni `main` branch
23+
# TODO Allow testing against a particular commit or a tag
24+
MEESIGN_TEST_CLIENT_REPO_OWNER: crocs-muni
25+
MEESIGN_TEST_CLIENT_REPO_BRANCH: devel
2526
dockerfile: ./integration-tests/Dockerfile.test_client
2627
networks:
2728
# This network is defined in the /docker-compose.dev.yaml

run_integration_tests.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ if test "$1" == "down"; then
1414
fi
1515

1616
if [ -z "$1" ]; then
17-
# Call all tests by default
18-
MEESIGN_TEST_CLIENT_REPO_OWNER=quapka \
19-
MEESIGN_TEST_CLIENT_REPO_BRANCH=integration-test \
2017
docker compose \
2118
--file compose.base.yaml \
2219
--file integration-tests/compose.yaml \
@@ -28,8 +25,6 @@ if [ -z "$1" ]; then
2825
else
2926
# If any command line arguments are supplied, these are pass on to the
3027
# `test-client`, i.e. calling `dart test --reporter=expanded "$@"`
31-
MEESIGN_TEST_CLIENT_REPO_OWNER=quapka \
32-
MEESIGN_TEST_CLIENT_REPO_BRANCH=integration-test \
3328
docker compose \
3429
--file compose.base.yaml \
3530
--file integration-tests/compose.yaml \

0 commit comments

Comments
 (0)