46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
# Docs at https://docs.drone.io/pipeline/exec/overview/
|
|
# Also see https://github.com/harness/drone-cli/blob/master/.drone.yml
|
|
|
|
steps:
|
|
- name: build
|
|
image: golang
|
|
commands:
|
|
- sh ./.drone.sh
|
|
|
|
#- name: dell-deploy
|
|
## # https://github.com/cschlosser/drone-ftps/blob/master/README.md
|
|
# image: cschlosser/drone-ftps
|
|
# 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: ^events$,^events_checksum.txt$
|
|
# PLUGIN_EXCLUDE: ^\.git/$
|
|
|
|
# https://github.com/hypervtechnics/drone-sftp
|
|
- name: dell-sftp-deploy
|
|
image: hypervtechnics/drone-sftp
|
|
settings:
|
|
host: ftp.emc.com
|
|
username:
|
|
from_secret: FTP_USERNAME
|
|
password:
|
|
from_secret: FTP_PASSWORD
|
|
port: 22
|
|
source: ./
|
|
filter: events*
|
|
clean: false
|
|
target: /
|
|
overwrite: true
|
|
verbose: true
|