2022-08-15 19:49:29 +00:00
|
|
|
---
|
2022-08-15 20:52:48 +00:00
|
|
|
|
2022-08-15 19:49:29 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2022-08-15 20:38:09 +00:00
|
|
|
name: testing
|
2022-08-15 20:52:48 +00:00
|
|
|
|
2022-08-15 19:49:29 +00:00
|
|
|
steps:
|
2022-08-15 20:38:09 +00:00
|
|
|
- name: build
|
|
|
|
image: golang
|
2022-08-15 19:49:29 +00:00
|
|
|
commands:
|
2022-08-15 20:01:51 +00:00
|
|
|
- go build
|
|
|
|
|
|
|
|
---
|
2022-08-15 20:52:48 +00:00
|
|
|
|
2022-08-15 20:01:51 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: ssh
|
|
|
|
name: deploy
|
2022-08-15 20:52:48 +00:00
|
|
|
|
2022-08-15 20:16:30 +00:00
|
|
|
server:
|
2022-08-15 20:52:48 +00:00
|
|
|
host:
|
|
|
|
from_secret: host
|
|
|
|
user:
|
|
|
|
from_secret: username
|
2022-08-15 22:00:52 +00:00
|
|
|
ssh_key:
|
|
|
|
from_secret: ssh_private
|
2022-08-15 20:52:48 +00:00
|
|
|
|
2022-08-15 20:01:51 +00:00
|
|
|
steps:
|
|
|
|
- name: deploy
|
|
|
|
commands:
|
2022-08-16 04:07:49 +00:00
|
|
|
- echo Nu?
|
2022-08-15 20:01:51 +00:00
|
|
|
- /opt/arns/deploy_push_file_service.sh
|