Remove generate tests and use static test yaml. (#515)
* Remove generate tests and use static test yaml. Since there aren't any more variables in the test yaml, replace the shell script with a static YAML. * Print python version * Remove generate test step
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
cat > docker-test.yaml <<EOF
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
@@ -11,4 +8,3 @@ services:
|
||||
image: maxking/mailman-web:rolling
|
||||
environment:
|
||||
- SECRET_KEY=abcdefghijklmnopqrstuv
|
||||
EOF
|
||||
@@ -4,10 +4,10 @@ set -e
|
||||
# If the DB environment variable is not set, use postgres.x
|
||||
if [ "$DB" = "postgres" ] || [ -z $DB ]
|
||||
then
|
||||
docker-compose -f docker-compose.yaml -f docker-test.yaml up -d
|
||||
docker-compose -f docker-compose.yaml -f tests/docker-test.yaml up -d
|
||||
elif [ "$DB" = "mysql" ]
|
||||
then
|
||||
docker-compose -f docker-compose-mysql.yaml -f docker-test.yaml up -d
|
||||
docker-compose -f docker-compose-mysql.yaml -f tests/docker-test.yaml up -d
|
||||
fi
|
||||
|
||||
# Print the IP Addresses of the Containers.
|
||||
|
||||
Reference in New Issue
Block a user