|
@@ -26,6 +26,9 @@ pipeline:
|
|
|
- rm dotdeb.gpg
|
|
|
- apt-get update
|
|
|
- apt-get install -yq php7.0-cli php7.0-mysql mysql-client php7.0-curl php7.0-xml php7.0-bcmath php7.0-mbstring
|
|
|
+
|
|
|
+ - yes | mysqladmin -h 127.0.0.1 create fd3_ftth
|
|
|
+ - yes | mysqladmin -h 127.0.0.1 create fd_session
|
|
|
|
|
|
- php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
|
|
- php composer-setup.php --install-dir=/usr/local/bin/ --filename=composer
|
|
@@ -36,6 +39,7 @@ pipeline:
|
|
|
- mkdir -p /root/.ssh/
|
|
|
- ssh-keyscan -p222 200.50.168.30 >> ~/.ssh/known_hosts
|
|
|
- ssh-keyscan -p222 infra.flowdat.com >> ~/.ssh/known_hosts
|
|
|
+ - ssh-keyscan -p222 gogs.infra.flowdat.com >> ~/.ssh/known_hosts
|
|
|
- ssh-keyscan -p22 bitbucket.org >> ~/.ssh/known_hosts
|
|
|
- chmod 0400 keys/bitbucket.id_rsa
|
|
|
- eval $(ssh-agent); ssh-add keys/bitbucket.id_rsa
|