forked from HariSekhon/Nagios-Plugin-Kafka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
codefresh.yml
39 lines (37 loc) · 980 Bytes
/
codefresh.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-02-24 17:43:07 +0000 (Mon, 24 Feb 2020)
#
# vim:ts=4:sts=4:sw=4:et
#
# https://github.com/harisekhon/nagios-plugin-kafka
#
# 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://codefresh.io/docs/docs/codefresh-yaml/
version: "1.0"
stages:
- "checkout"
- "build"
steps:
checkout:
type: "git-clone"
description: "Cloning main repository..."
repo: '${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}'
revision: "${{CF_REVISION}}"
stage: "checkout"
build:
title: Running docker image
type: freestyle
working_directory: '${{CF_REPO_NAME}}'
arguments:
image: 'ubuntu:18.04'
commands:
- apt update -qq && apt install -qy git make
- make init
- make ci
- make test