2022-08-15 19:49:29 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
steps:
|
2022-08-15 20:01:51 +00:00
|
|
|
- name: test
|
2022-08-15 20:16:30 +00:00
|
|
|
image: golang:1.19
|
2022-08-15 19:49:29 +00:00
|
|
|
commands:
|
2022-08-15 20:01:51 +00:00
|
|
|
- go build
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: ssh
|
|
|
|
name: deploy
|
2022-08-15 20:16:30 +00:00
|
|
|
server:
|
|
|
|
host: c4230.l.dedikuoti.lt
|
|
|
|
user: root
|
2022-08-15 20:01:51 +00:00
|
|
|
settings:
|
|
|
|
id_rsa:
|
|
|
|
from_secret: ssh_private
|
2022-08-15 20:16:30 +00:00
|
|
|
depends_on:
|
|
|
|
- default
|
2022-08-15 20:01:51 +00:00
|
|
|
steps:
|
|
|
|
- name: deploy
|
|
|
|
commands:
|
|
|
|
- /opt/arns/deploy_push_file_service.sh
|