Skip to content

Instantly share code, notes, and snippets.

@uphy
Created April 9, 2018 08:56
Show Gist options
  • Save uphy/901e8416d2bee9fd741981790185b7fe to your computer and use it in GitHub Desktop.
Save uphy/901e8416d2bee9fd741981790185b7fe to your computer and use it in GitHub Desktop.
chackerv1config
service1:
host: host1
commands:
status:
steps:
- type: upload
local: foo/bar
remote: /tmp/hoge
- type: script
script: |
cd "$1"
docker-compose ps
sudo: true
directory: /
environment:
A: 1
B: aaa
- type: scriptfile
file: ./test.sh
- type: download
remote: /var/log/messages
local: .
sudo: true
- type: stdout
script: tail -n 1000 /var/log/messages
- type: stdout
script: docker ps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment