Изменил(а) на '.drone.yml'

test plugin
master
Alex 1 year ago
parent c8f89cc0d4
commit 6ff615778d
  1. 47
      .drone.yml

@ -1,22 +1,25 @@
---
kind: pipeline
type: ssh
type: docker
name: Test
server:
host: 11.1.1.21
user: tox
ssh_key:
from_secret: rsa_key
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: Show Environment
# commands:
# - whoami
# - pwd
# - hostname
# - ls
# - ls -lta ~/
- name: ssh
image: appleboy/drone-ssh
@ -32,12 +35,12 @@ steps:
- 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
# - 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

Loading…
Cancel
Save