2022-08-07 15:10:18 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
2022-08-17 21:31:56 +00:00
|
|
|
name: testing
|
2022-08-07 15:10:18 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: backend
|
|
|
|
image: golang
|
|
|
|
commands:
|
2022-08-17 21:28:49 +00:00
|
|
|
- go build
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: ssh
|
|
|
|
name: deploy
|
2022-08-17 21:34:11 +00:00
|
|
|
|
2022-08-17 21:28:49 +00:00
|
|
|
server:
|
|
|
|
host:
|
|
|
|
from_secret: host
|
|
|
|
user:
|
|
|
|
from_secret: username
|
|
|
|
ssh_key:
|
|
|
|
from_secret: ssh_private
|
2022-08-17 21:34:11 +00:00
|
|
|
|
2022-08-17 21:28:49 +00:00
|
|
|
steps:
|
|
|
|
- name: deploy
|
|
|
|
commands:
|
|
|
|
- /opt/arns/deploy_gemini.sh
|
2022-08-17 21:34:11 +00:00
|
|
|
|
2022-08-17 21:28:49 +00:00
|
|
|
depends_on:
|
2022-08-17 21:31:56 +00:00
|
|
|
- testing
|