ソースを参照

actualice host en drone

Luciano Andrade 7 年 前
コミット
de3054ce48
1 ファイル変更5 行追加4 行削除
  1. 5 4
      .drone.yml

+ 5 - 4
.drone.yml

@@ -24,14 +24,15 @@ pipeline:
       OAUTH_CLIENT_SECRET: ""
       AMQP_KEY: ""
       CLIENT: fd3
-      MYSQL_PASSWORD: ""
+      MYSQL_ROOT_PASSWORD: ""
+      
 
     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
+      - while ! mysqladmin ping -h mysql --silent; do :; done
 
-      - yes | mysqladmin -h 127.0.0.1 create fd3_cablemodem
-      - yes | mysqladmin -h 127.0.0.1 create fd_session
+      - yes | mysqladmin -h mysql create fd3_cablemodem
+      - yes | mysqladmin -h mysql create fd_session
 
       - echo 'client = Flowdat3-Cablemodem-Drone-Test' | tee /etc/flowdat.conf
       - echo 'date.timezone="America/Argentina/Buenos_Aires"' >> /etc/php/7.0/cli/php.ini