You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: Test
|
|
|
|
|
|
|
|
clone:
|
|
|
|
disable: true
|
|
|
|
|
|
|
|
# server:
|
|
|
|
# host: 11.1.1.21
|
|
|
|
# user: tox
|
|
|
|
# ssh_key:
|
|
|
|
# from_secret: rsa_key
|
|
|
|
|
|
|
|
steps:
|
|
|
|
# - name: Show Environment
|
|
|
|
# commands:
|
|
|
|
# - whoami
|
|
|
|
# - pwd
|
|
|
|
# - hostname
|
|
|
|
# - ls
|
|
|
|
# - ls -lta ~/
|
|
|
|
|
|
|
|
- name: ssh
|
|
|
|
image: appleboy/drone-ssh
|
|
|
|
settings:
|
|
|
|
host:
|
|
|
|
- 11.1.1.21
|
|
|
|
username: tox
|
|
|
|
key:
|
|
|
|
from_secret: rsa_key
|
|
|
|
port: 22
|
|
|
|
command_timeout: 2m
|
|
|
|
script:
|
|
|
|
- echo "Hello World"
|
|
|
|
- mkdir ~/test
|
|
|
|
|
|
|
|
# - name: build
|
|
|
|
# commands:
|
|
|
|
# - cd src/
|
|
|
|
# - gcc -o echo_bot tox_bot.c commands.c misc.c -std=gnu99 -lsodium -I /usr/local/include/ -ltoxcore -lconfig
|
|
|
|
# - mkdir ~/tox_bot
|
|
|
|
# - cp echo_bot ~/tox_bot
|
|
|
|
# - cp ../{bot.cfg,masterkeys.txt} ~/tox_bot
|
|
|
|
# - ls -lta ~/
|
|
|
|
# - sleep 15
|