33 lines
369 B
YAML
33 lines
369 B
YAML
---
|
|
|
|
kind: pipeline
|
|
type: docker
|
|
name: testing
|
|
|
|
steps:
|
|
- name: build
|
|
image: golang
|
|
commands:
|
|
- go build
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
type: ssh
|
|
name: deploy
|
|
|
|
server:
|
|
host:
|
|
from_secret: host
|
|
user:
|
|
from_secret: username
|
|
ssh_key:
|
|
from_secret: ssh_private
|
|
|
|
depends_on:
|
|
- testing
|
|
|
|
steps:
|
|
- name: deploy
|
|
commands:
|
|
- /opt/arns/deploy_push_file_service.sh
|