forked from HariSekhon/Nagios-Plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buddy.yml
39 lines (37 loc) · 1.04 KB
/
buddy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# Author: Hari Sekhon
# Date: 2020-03-16 14:02:53 +0000 (Mon, 16 Mar 2020)
#
# vim:ts=2:sts=2:sw=2:et
#
# https://github.com/harisekhon/nagios-plugins
#
# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
#
# https://www.linkedin.com/in/harisekhon
#
# https://buddy.works/docs/yaml/yaml-schema
- pipeline: "Build"
trigger_mode: "ON_EVERY_PUSH"
ref_name: "master"
ref_type: "BRANCH"
target_site_url: "https://github.com/harisekhon/nagios-plugins"
trigger_condition: "ALWAYS"
actions:
- action: "Execute: make ci test"
type: "BUILD"
working_directory: "/buddy/nagios-plugins"
docker_image_name: "library/ubuntu"
docker_image_tag: "18.04"
setup_commands:
- apt update
- apt install -qy git make
execute_commands:
- make init
- make ci test
volume_mappings:
- "/:/buddy/nagios-plugins"
shell: "BASH"
trigger_condition: "ALWAYS"