Przeglądaj źródła

se agrego ssh key en drone

Guillermo Espinoza 8 lat temu
rodzic
commit
4fd68e3a94
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      .drone.yml

+ 5 - 0
.drone.yml

@@ -17,6 +17,11 @@ pipeline:
       - echo 'client = Flowdat3-FTTH-Drone-Test' | tee /etc/flowdat.conf
       - echo 'date.timezone="America/Argentina/Buenos_Aires"' >> /etc/php5/cli/php.ini
       - yes | mysqladmin -h 127.0.0.1 create flowdat_ftth
+      - mkdir -p /root/.ssh/
+      - ssh-keyscan -p222 200.50.168.30 >> ~/.ssh/known_hosts
+      - ssh-keyscan -p222 infra.flowdat.com >> ~/.ssh/known_hosts
+      - chmod 0400 keys/bitbucket.id_rsa
+      - eval $(ssh-agent); ssh-add keys/bitbucket.id_rsa
       - composer install
       - chmod 0777 -R var/logs var/cache var/sessions
       - php bin/console doctrine:schema:update --force -vvv --env=test