update .drone.yml
continuous-integration/drone/push Build is passing Details

master
wanggang 4 years ago
parent b9f23abf96
commit 6ee5272665

@ -13,26 +13,26 @@ steps:
- $SRC/docker/docker-compose.build.sh - $SRC/docker/docker-compose.build.sh
- echo ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8}>version - echo ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8}>version
- name: deploy # - name: deploy
image: appleboy/drone-scp:linux-amd64 # image: appleboy/drone-scp:linux-amd64
settings: # settings:
host: 10.10.14.176 # host: 10.10.14.176
port: 22 # port: 22
username: root # username: root
password: dsideal # password: dsideal
target: /root/publish/bigdata # target: /root/publish/bigdata
source: ./docker # source: ./docker
rm: false # rm: false
- name: restart # - name: restart
image: appleboy/drone-ssh:linux-amd64 # image: appleboy/drone-ssh:linux-amd64
settings: # settings:
host: 10.10.14.176 # host: 10.10.14.176
port: 22 # port: 22
username: root # username: root
password: dsideal # password: dsideal
script: # script:
- cd /root/publish/bigdata/docker # - cd /root/publish/bigdata/docker
- chmod 755 start.sh # - chmod 755 start.sh
- chmod 755 stop.sh # - chmod 755 stop.sh
- ./start.sh # - ./start.sh
Loading…
Cancel
Save