|
@@ -1,21 +1,22 @@
|
|
|
pipeline:
|
|
|
build:
|
|
|
image: debian:9.0
|
|
|
+# image: docker.infra.flowdat.com/fd3/sf-php
|
|
|
commands:
|
|
|
- env
|
|
|
- echo 'Acquire::http { Proxy "http://200.50.168.30:3142"; };' > /etc/apt/apt.conf.d/01proxy
|
|
|
- - apt-get update && apt-get install -yq python git wget vim tmux graphviz php-cli php-mysql php-curl php-amqplib php-xml php-zip build-essential unzip php-bcmath php-mbstring mysql-client
|
|
|
- - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
|
|
- - php composer-setup.php --install-dir=/usr/local/bin/ --filename=composer
|
|
|
- - php -r "unlink('composer-setup.php');"
|
|
|
- - 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
|
|
|
- docker_php_sf:
|
|
|
+# - apt-get update && apt-get install -yq python git wget vim tmux graphviz php-cli php-mysql php-curl php-amqplib php-xml php-zip build-essential unzip php-bcmath php-mbstring mysql-client
|
|
|
+# - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
|
|
+# - php composer-setup.php --install-dir=/usr/local/bin/ --filename=composer
|
|
|
+# - php -r "unlink('composer-setup.php');"
|
|
|
+# - 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
|
|
|
+ docker:
|
|
|
repo : "docker.infra.flowdat.com/fd3/sf-php"
|
|
|
image: plugins/docker
|
|
|
email: luciano@interlink.com.ar
|