mirror of
https://github.com/HariSekhon/DevOps-Bash-tools.git
synced 2025-02-06 10:02:14 +00:00
49 lines
1.5 KiB
YAML
49 lines
1.5 KiB
YAML
#
|
|
# 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/DevOps-Bash-tools
|
|
#
|
|
# 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
|
|
#
|
|
|
|
# ============================================================================ #
|
|
# B u d d y C I
|
|
# ============================================================================ #
|
|
|
|
# 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/DevOps-Bash-tools"
|
|
trigger_condition: "ALWAYS"
|
|
actions:
|
|
- action: "Execute: make ci test"
|
|
type: "BUILD"
|
|
working_directory: "/buddy/devops-bash-tools"
|
|
docker_image_name: "library/ubuntu"
|
|
docker_image_tag: "18.04"
|
|
#setup_commands:
|
|
# this step gets cached, which results in
|
|
# E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
|
|
# - apt update
|
|
# - apt install -qy git make
|
|
execute_commands:
|
|
- setup/ci_bootstrap.sh
|
|
- make init
|
|
- make ci
|
|
- make test
|
|
volume_mappings:
|
|
- "/:/buddy/devops-bash-tools"
|
|
shell: "BASH"
|
|
trigger_condition: "ALWAYS"
|