Explorar o código

Update .gitlab-ci.yml

Espinoza Guillermo %!s(int64=6) %!d(string=hai) anos
pai
achega
7dfa8e27d3
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      .gitlab-ci.yml

+ 2 - 3
.gitlab-ci.yml

@@ -75,8 +75,8 @@ build:
   script:
     - command -v mysqladmin >/dev/null 2>&1 || { echo "I require mysqladmin but it's not installed.  Aborting." >&2; exit 1; }
     - while ! mysqladmin ping -h mysql --silent ; do :; done
-    - yes | mysqladmin -h mysql create fd3_ftth
-    - yes | mysqladmin -h mysql create fd_session
+    - echo "yes" | mysqladmin -h mysql create fd3_ftth
+    - echo "yes" | mysqladmin -h mysql create fd_session
     - echo 'client = Flowdat3-FTTH-Drone-Test' | tee /etc/flowdat.conf
     - echo 'date.timezone="America/Argentina/Buenos_Aires"' >> /etc/php/7.0/cli/php.ini
     - chmod 0400 keys/bitbucket.id_rsa
@@ -90,4 +90,3 @@ build:
     - bin/console server:run --env=prod &
     - vendor/phpunit/phpunit/phpunit -c phpunit.xml.dist
     - bin/console check:sintax --dir="app/DoctrineMigrations/src/" --debug=true
-