Przeglądaj źródła

FD3-347 .drone.yml updated

Guillermo Espinoza 7 lat temu
rodzic
commit
e173ccd458
1 zmienionych plików z 5 dodań i 5 usunięć
  1. 5 5
      .drone.yml

+ 5 - 5
.drone.yml

@@ -20,13 +20,14 @@ 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
 
       - yes | mysqladmin -h 127.0.0.1 create fd3_radius
       - yes | mysqladmin -h 127.0.0.1 create fd_session
-      
+
       - echo 'client = Flowdat3-Radius-Drone-Test' | tee /etc/flowdat.conf
       - echo 'date.timezone="America/Argentina/Buenos_Aires"' >> /etc/php/7.0/cli/php.ini
 
@@ -39,7 +40,7 @@ pipeline:
       - chmod 0777 -R var/logs var/cache var/sessions
       - php bin/console doctrine:schema:update --force -vvv --env=test
       - touch var/logs/test.log
-      - tail -f var/logs/*.log & 
+      - tail -f var/logs/*.log &
 #      - bin/console server:run --help --end=prod
       - vendor/phpunit/phpunit/phpunit -c phpunit.xml.dist
 
@@ -50,7 +51,7 @@ pipeline:
    registry: docker.infra.flowdat.com
    username: drone
    password: 6hd2dLfL
-   tag: 
+   tag:
      - latest
    when:
      event: [pull_request, push, tag]
@@ -63,9 +64,8 @@ pipeline:
    registry: docker.infra.flowdat.com
    username: drone
    password: 6hd2dLfL
-   tag: 
+   tag:
      - ${DRONE_TAG##v}
    when:
      event: [pull_request, push, tag]
      branch: [v*]
-