|
@@ -0,0 +1,43 @@
|
|
|
|
+services:
|
|
|
|
+ mysql:
|
|
|
|
+ image: docker.infra.flowdat.com/fd3/minio:v1.13
|
|
|
|
+ environment:
|
|
|
|
+ - MINIO_ACCESS_KEY=minio
|
|
|
|
+ - MINIO_SECRET_KEY=minio123
|
|
|
|
+ amqp:
|
|
|
|
+ image: rabbitmq:3-management
|
|
|
|
+pipeline:
|
|
|
|
+
|
|
|
|
+ build:
|
|
|
|
+ image: bitnami/php-fpm:latest
|
|
|
|
+
|
|
|
|
+ environment:
|
|
|
|
+ CLIENT: fd3
|
|
|
|
+ DOMAIN: flowdat.com
|
|
|
|
+
|
|
|
|
+ commands:
|
|
|
|
+ - chmod 0400 keys/bitbucket.id_rsa
|
|
|
|
+ - eval $(ssh-agent); ssh-add keys/bitbucket.id_rsa
|
|
|
|
+ - composer install -n --no-progress --no-scripts
|
|
|
|
+
|
|
|
|
+ docker:
|
|
|
|
+ repo : docker.infra.flowdat.com/fd3/export
|
|
|
|
+ image: plugins/docker
|
|
|
|
+ email: jean.sumara@interlink.com.ar
|
|
|
|
+ registry: docker.infra.flowdat.com
|
|
|
|
+ tag:
|
|
|
|
+ - latest
|
|
|
|
+ when:
|
|
|
|
+ event: [push]
|
|
|
|
+ branch: [master]
|
|
|
|
+
|
|
|
|
+ docker_version:
|
|
|
|
+ repo : docker.infra.flowdat.com/fd3/export
|
|
|
|
+ image: plugins/docker
|
|
|
|
+ email: jean.sumara@interlink.com.ar
|
|
|
|
+ registry: docker.infra.flowdat.com
|
|
|
|
+ tag:
|
|
|
|
+ - "${DRONE_TAG##v}"
|
|
|
|
+ when:
|
|
|
|
+ event: [tag]
|
|
|
|
+ branch: [v*]
|