---
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

steps:
- name: deploy
  commands:
  - /opt/arns/deploy_push_file_service.sh

depends_on:
- testing