Georg
c3610bcfef
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Signed-off-by: Georg <georg@lysergic.dev>
54 lines
595 B
YAML
54 lines
595 B
YAML
---
|
|
kind: pipeline
|
|
type: exec
|
|
name: default1
|
|
|
|
clone:
|
|
disable: true
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: greeting
|
|
commands:
|
|
- echo hello
|
|
- uname -a
|
|
- echo ok | nc -N 127.0.0.2 2424
|
|
|
|
trigger:
|
|
branch:
|
|
- master
|
|
|
|
---
|
|
kind: pipeline
|
|
type: ssh
|
|
name: default2
|
|
|
|
server:
|
|
host:
|
|
from_secret: host110
|
|
user:
|
|
from_secret: user
|
|
ssh_key:
|
|
from_secret: ssh_key
|
|
port: 28
|
|
|
|
clone:
|
|
disable: true
|
|
|
|
steps:
|
|
- name: deploy
|
|
commands:
|
|
- echo hello
|
|
- bash /opt/scripts/confirm-test.sh
|
|
when:
|
|
branch:
|
|
- master
|
|
failure: ignore
|
|
|
|
trigger:
|
|
branch:
|
|
- master
|