update for new dell site
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
53
.drone.yml
53
.drone.yml
@@ -81,24 +81,41 @@ steps:
|
|||||||
- sudo bash -c 'mv /home/l075239/smt/test.env /home/l075239/smt/.env'
|
- sudo bash -c 'mv /home/l075239/smt/test.env /home/l075239/smt/.env'
|
||||||
- sudo bash -c '/etc/init.d/smt restart'
|
- sudo bash -c '/etc/init.d/smt restart'
|
||||||
|
|
||||||
- name: dell-deploy
|
|
||||||
# # https://github.com/cschlosser/drone-ftps/blob/master/README.md
|
- name: dell-sftp-deploy
|
||||||
image: cschlosser/drone-ftps
|
image: hypervtechnics/drone-sftp
|
||||||
# when:
|
settings:
|
||||||
# event:
|
host: deft.dell.com
|
||||||
# - tag
|
username:
|
||||||
environment:
|
from_secret: DELLFTP_USER
|
||||||
FTP_USERNAME:
|
password:
|
||||||
from_secret: FTP_USERNAME
|
from_secret: DELLFTP_PASS
|
||||||
FTP_PASSWORD:
|
port: 22
|
||||||
from_secret: FTP_PASSWORD
|
source: ./
|
||||||
PLUGIN_HOSTNAME: ftp.emc.com:21
|
filter: smt*
|
||||||
PLUGIN_SECURE: false
|
clean: false
|
||||||
PLUGIN_VERIFY: false
|
target: /
|
||||||
PLUGIN_CHMOD: false
|
overwrite: true
|
||||||
#PLUGIN_DEBUG: false
|
verbose: true
|
||||||
PLUGIN_INCLUDE: ^smt$,^smt_checksum.txt$
|
|
||||||
PLUGIN_EXCLUDE: ^\.git/$,^\controllers/$,^\middlewares/$,^\models/$,^\utils/$,^\pkg.build/$,^\pkg.mod/$,^\www/$
|
#- name: dell-deploy
|
||||||
|
## # https://github.com/cschlosser/drone-ftps/blob/master/README.md
|
||||||
|
# image: cschlosser/drone-ftps
|
||||||
|
## when:
|
||||||
|
## event:
|
||||||
|
## - tag
|
||||||
|
# environment:
|
||||||
|
# FTP_USERNAME:
|
||||||
|
# from_secret: FTP_USERNAME
|
||||||
|
# FTP_PASSWORD:
|
||||||
|
# from_secret: FTP_PASSWORD
|
||||||
|
# PLUGIN_HOSTNAME: ftp.emc.com:21
|
||||||
|
# PLUGIN_SECURE: false
|
||||||
|
# PLUGIN_VERIFY: false
|
||||||
|
# PLUGIN_CHMOD: false
|
||||||
|
# #PLUGIN_DEBUG: false
|
||||||
|
# PLUGIN_INCLUDE: ^smt$,^smt_checksum.txt$
|
||||||
|
# PLUGIN_EXCLUDE: ^\.git/$,^\controllers/$,^\middlewares/$,^\models/$,^\utils/$,^\pkg.build/$,^\pkg.mod/$,^\www/$
|
||||||
|
|
||||||
- name: rebuild-cache-with-filesystem
|
- name: rebuild-cache-with-filesystem
|
||||||
image: meltwater/drone-cache
|
image: meltwater/drone-cache
|
||||||
|
Reference in New Issue
Block a user