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
- echo ${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}-${DRONE_REPO_BRANCH}-${DRONE_COMMIT_SHA:0:8}>version
- name: deploy
image: appleboy/drone-scp:linux-amd64
settings:
host: 10.10.14.176
port: 22
username: root
password: dsideal
target: /root/publish/bigdata
source: ./docker
rm: false
# - name: deploy
# image: appleboy/drone-scp:linux-amd64
# settings:
# host: 10.10.14.176
# port: 22
# username: root
# password: dsideal
# target: /root/publish/bigdata
# source: ./docker
# rm: false
- name: restart
image: appleboy/drone-ssh:linux-amd64
settings:
host: 10.10.14.176
port: 22
username: root
password: dsideal
script:
- cd /root/publish/bigdata/docker
- chmod 755 start.sh
- chmod 755 stop.sh
- ./start.sh
# - name: restart
# image: appleboy/drone-ssh:linux-amd64
# settings:
# host: 10.10.14.176
# port: 22
# username: root
# password: dsideal
# script:
# - cd /root/publish/bigdata/docker
# - chmod 755 start.sh
# - chmod 755 stop.sh
# - ./start.sh
Loading…
Cancel
Save