File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/sh
2- # Since containers are not built in the pre-commit hook any more, this script is used to build the test environment
32
3+ if [ ! -f versions.env ]; then
4+ echo " Missing versions.env in repository root."
5+ exit 1
6+ fi
7+
8+ # Export image/tool version variables used by compose.yml and Dockerfiles.
9+ set -a
10+ . ./versions.env
11+ set +a
12+
13+ # Since containers are not built in the pre-commit hook any more, this script is used to build the test environment
414REPO_ROOT_DIR=$( git rev-parse --show-toplevel)
515cd $REPO_ROOT_DIR
616docker compose -f compose.yml -f compose.override.test.yml --env-file versions.env --env-file backend/src/tests/.env build
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3+ if [ ! -f versions.env ]; then
4+ echo " Missing versions.env in repository root."
5+ exit 1
6+ fi
7+
8+ # Export image/tool version variables used by compose.yml and Dockerfiles.
9+ set -a
10+ . ./versions.env
11+ set +a
312
413# Handy tool to spped up tests - assunes the test environment is already built
514# to start all over pre-commit hookl might be handy!
Original file line number Diff line number Diff line change 11#! /bin/sh
22
33
4+ if [ ! -f versions.env ]; then
5+ echo " Missing versions.env in repository root."
6+ exit 1
7+ fi
8+
9+ # Export image/tool version variables used by compose.yml and Dockerfiles.
10+ set -a
11+ . ./versions.env
12+ set +a
13+
414# Handy tool to spped up tests - assunes the test environment is already built
515# to start all over pre-commit hookl might be handy!
616REPO_ROOT_DIR=$( git rev-parse --show-toplevel)
You can’t perform that action at this time.
0 commit comments