Files
OSIT-Mailman3/tests/generate_tests.sh
Abhilash Raj d9c5d6ef95 Quote the variables. (#255)
* Quote the variables.

* test using images without repo url.
2018-07-03 21:27:30 -07:00

23 lines
393 B
Bash

#!/bin/sh
if [ "$EVENT_TYPE" = "cron" ] || [ ! -z $DEV ] ; then
echo "Event type is: $EVENT_TYPE"
echo "This is a development version build: $DEV"
TAG="rolling"
fi
cat > docker-test.yaml <<EOF
version: '2'
services:
mailman-core:
image: maxking/mailman-core:$TAG
mailman-web:
image: maxking/mailman-web:$TAG
environment:
- SECRET_KEY=abcdefghijklmnopqrstuv
EOF