|
@@ -19,7 +19,8 @@ pipeline:
|
|
|
OAUTH_CLIENT_ID: ""
|
|
|
OAUTH_CLIENT_SECRET: ""
|
|
|
AMQP_KEY: ""
|
|
|
-
|
|
|
+ CLIENT: fd3
|
|
|
+
|
|
|
commands:
|
|
|
- command -v mysqladmin >/dev/null 2>&1 || { echo "I require mysqladmin but it's not installed. Aborting." >&2; exit 1; }
|
|
|
- while ! mysqladmin ping -h 127.0.0.1 --silent; do :; done
|
|
@@ -27,7 +28,7 @@ pipeline:
|
|
|
|
|
|
- yes | mysqladmin -h 127.0.0.1 create fd3_stats
|
|
|
- yes | mysqladmin -h 127.0.0.1 create fd_session
|
|
|
-
|
|
|
+
|
|
|
- echo 'client = Flowdat3-Stats-Drone-Test' | tee /etc/flowdat.conf
|
|
|
- echo 'date.timezone="America/Argentina/Buenos_Aires"' >> /etc/php/7.0/cli/php.ini
|
|
|
|
|
@@ -43,7 +44,7 @@ pipeline:
|
|
|
image: plugins/docker
|
|
|
email: luciano@interlink.com.ar
|
|
|
registry: docker.infra.flowdat.com
|
|
|
- tag:
|
|
|
+ tag:
|
|
|
- "latest"
|
|
|
when:
|
|
|
event: [push]
|
|
@@ -54,7 +55,7 @@ pipeline:
|
|
|
image: plugins/docker
|
|
|
email: luciano@interlink.com.ar
|
|
|
registry: docker.infra.flowdat.com
|
|
|
- tag:
|
|
|
+ tag:
|
|
|
- "${DRONE_TAG:1:5}"
|
|
|
- "${DRONE_TAG:1:3}"
|
|
|
when:
|