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 '/etc/init.d/smt restart'
|
||||
|
||||
- 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: dell-sftp-deploy
|
||||
image: hypervtechnics/drone-sftp
|
||||
settings:
|
||||
host: deft.dell.com
|
||||
username:
|
||||
from_secret: DELLFTP_USER
|
||||
password:
|
||||
from_secret: DELLFTP_PASS
|
||||
port: 22
|
||||
source: ./
|
||||
filter: smt*
|
||||
clean: false
|
||||
target: /
|
||||
overwrite: true
|
||||
verbose: true
|
||||
|
||||
#- 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
|
||||
image: meltwater/drone-cache
|
||||
|
Reference in New Issue
Block a user