Integration tests: Allow running a custom image
Signed-off-by: Till Maas <opensource@till.name>
This commit is contained in:
parent
09c50b5693
commit
c7b6516b38
@ -43,8 +43,15 @@ or running the scripts:
|
||||
`debug_exit_shell=1 ./automation/run-integration-tests.sh`
|
||||
|
||||
|
||||
After closing the shell, the container will be removed. Alternatively, the
|
||||
following commands start the container manually:
|
||||
After closing the shell, the container will be removed.
|
||||
|
||||
To specify a different container image for the tests, specify it with the
|
||||
`DOCKER_IMAGE` variable:
|
||||
|
||||
`DOCKER_IMAGE=local/centos7-nmstate-dev debug_exit_shell=1 ./automation/run-integration-tests.sh`
|
||||
|
||||
|
||||
Alternatively, the following commands start the container manually:
|
||||
|
||||
```
|
||||
DOCKER_IMAGE="nmstate/centos7-nmstate-dev"
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
EXEC_PATH=$(dirname "$(realpath "$0")")
|
||||
PROJECT_PATH="$(dirname $EXEC_PATH)"
|
||||
DOCKER_IMAGE="nmstate/centos7-nmstate-dev"
|
||||
: ${DOCKER_IMAGE:=nmstate/centos7-nmstate-dev}
|
||||
EXPORT_DIR="$PWD/exported-artifacts"
|
||||
CONT_EXPORT_DIR="/exported-artifacts"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user