Files
OSIT-Mailman3/tests/generate_tests.sh
Abhilash Raj 12e7761c1f Use Circle CI for faster builds. (#181)
Move to Circle CI from Travis CI.
2017-11-05 18:41:00 -08:00

23 lines
417 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: ${!REG_URL}/maxking/mailman-core:$TAG
mailman-web:
image: ${!REG_URL}/maxking/mailman-web:$TAG
environment:
- SECRET_KEY=abcdefghijklmnopqrstuv
EOF