use python image for coffee
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
ae34b6b7ce
commit
35e577b866
|
@ -10,7 +10,7 @@ case $1 in
|
||||||
fi
|
fi
|
||||||
docker network create ceod
|
docker network create ceod
|
||||||
for host in auth1 coffee mail phosphoric-acid; do
|
for host in auth1 coffee mail phosphoric-acid; do
|
||||||
if [ $host = auth1 -o $host = coffee ]; then
|
if [ $host = auth1 ]; then
|
||||||
image=debian:buster
|
image=debian:buster
|
||||||
else
|
else
|
||||||
image=python:3.7-buster
|
image=python:3.7-buster
|
||||||
|
@ -22,6 +22,8 @@ case $1 in
|
||||||
--network ceod \
|
--network ceod \
|
||||||
--volume "$PWD:$PWD" \
|
--volume "$PWD:$PWD" \
|
||||||
--workdir "$PWD" \
|
--workdir "$PWD" \
|
||||||
|
--env FLASK_APP=ceod.api \
|
||||||
|
--env FLASK_ENV=development \
|
||||||
$image .drone/$host-setup.sh
|
$image .drone/$host-setup.sh
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue