mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-01 15:37:32 +08:00
Only run integration tests with --privileged
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
./run_tests.sh --dockerize --python3 --db postgres --clean_pyc --integration "$@"
|
||||
DOCKER_RUN_EXTRA_ARGS="--privileged" ./run_tests.sh --dockerize --python3 --db postgres --clean_pyc --integration "$@"
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
./run_tests.sh --dockerize --db postgres --clean_pyc --integration "$@"
|
||||
DOCKER_RUN_EXTRA_ARGS="--privileged" ./run_tests.sh --dockerize --db postgres --clean_pyc --integration "$@"
|
||||
|
||||
@@ -303,7 +303,6 @@ then
|
||||
docker --version
|
||||
echo "Launching docker container for testing with extra args ${DOCKER_RUN_EXTRA_ARGS}..."
|
||||
docker $DOCKER_EXTRA_ARGS run $DOCKER_RUN_EXTRA_ARGS \
|
||||
--cap-add=SYS_ADMIN \
|
||||
-e "BUILD_NUMBER=$BUILD_NUMBER" \
|
||||
-e "GALAXY_TEST_DATABASE_TYPE=$db_type" \
|
||||
-e "LC_ALL=C" \
|
||||
|
||||
@@ -51,9 +51,6 @@ cd /galaxy
|
||||
|
||||
HOME=/home/galaxy
|
||||
|
||||
echo "Testing singularity exec as galaxy user"
|
||||
sudo -E -u "#${GALAXY_TEST_UID}" singularity -vvv exec docker://busybox hostname
|
||||
|
||||
echo "Running common startup for updated dependencies (if any)"
|
||||
sudo -E -u "#${GALAXY_TEST_UID}" ./scripts/common_startup.sh --dev-wheels || { echo "common_startup.sh failed"; exit 1; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user