Explorar o código

Arreglo .drone.yml

Gabriel Gosparo %!s(int64=7) %!d(string=hai) anos
pai
achega
c71b59d47c
Modificáronse 1 ficheiros con 21 adicións e 38 borrados
  1. 21 38
      .drone.yml

+ 21 - 38
.drone.yml

@@ -9,7 +9,7 @@ services:
   amqp:
     image: rabbitmq:3-management
 pipeline:
- build:
+  build:
     image: docker.infra.flowdat.com/fd3/sf-php:latest
     environment:
       HOST_FTTH: ftth.test.fd3.flowdat.com
@@ -45,41 +45,24 @@ pipeline:
       - tail -f var/logs/*.log &
       - vendor/phpunit/phpunit/phpunit -c phpunit.xml.dist
 
-docker:
- repo : docker.infra.flowdat.com/fd3/dhcp
- image: plugins/docker
- email: luciano@interlink.com.ar
- registry: docker.infra.flowdat.com
- username: drone
- password: 6hd2dLfL
- tag:
-  - latest
- when:
-  event: [pull_request, push, tag]
-  branch: [master]
+  docker:
+   repo : docker.infra.flowdat.com/fd3/dhcp
+   image: plugins/docker
+   email: luciano@interlink.com.ar
+   registry: docker.infra.flowdat.com
+   tag: 
+     - latest
+   when:
+    event: [push]
+    branch: [master]
 
-docker_version:
- repo : docker.infra.flowdat.com/fd3/dhcp
- image: plugins/docker
- email: luciano@interlink.com.ar
- registry: docker.infra.flowdat.com
- username: drone
- password: 6hd2dLfL
- tag:
-  - "${DRONE_BRANCH##v}"
- when:
-  event: [push]
-  branch: [v*]
-
-docker_version_tag:
- repo : docker.infra.flowdat.com/fd3/dhcp
- image: plugins/docker
- email: luciano@interlink.com.ar
- registry: docker.infra.flowdat.com
- username: drone
- password: 6hd2dLfL
- tag:
-  - "${DRONE_TAG##v}"
- when:
-  event: [tag]
-  branch: [v*]
+  docker_version_tag:
+   repo : docker.infra.flowdat.com/fd3/dhcp
+   image: plugins/docker
+   email: luciano@interlink.com.ar
+   registry: docker.infra.flowdat.com
+   tag:
+     - "${DRONE_TAG##v}"
+   when:
+     event: [tag]
+     branch: [v*]