From 0060339da3640fba7800bc31a5b28961278c37ca Mon Sep 17 00:00:00 2001 From: Allen Wittenauer Date: Thu, 19 Nov 2020 12:05:14 -0800 Subject: [PATCH 1/2] add a pipeline --- .buildkite/pipeline.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .buildkite/pipeline.yml diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml new file mode 100644 index 0000000..d41a5c7 --- /dev/null +++ b/.buildkite/pipeline.yml @@ -0,0 +1,17 @@ +--- +steps: + - command: /home/aw/Src/buretoolbox/precommit/src/main/shell/test-patch.sh + --patch-dir=/tmp/yetus-out + --plugins=all + --docker + --docker-cache-from=apache/yetus:main + --html-report-file=/tmp/yetus-out/report.html + --console-report-file=/tmp/yetus-out/console.txt + --brief-report-file=/tmp/yetus-out/brief.txt + --bugcomments=briefreport,htmlout,buildkiteannotate + --tests-filter=checkstyle,test4tests + label: "Apache Yetus" + - label: 'Buildkite Recovery' + command: > + /home/aw/Src/buretoolbox/precommit/src/main/shell/buildkite-recovery.sh + --patch-dir=/tmp/yetus-out From 9555426ad578a79d2bcfc85b4b6ce138b86505fc Mon Sep 17 00:00:00 2001 From: Allen Wittenauer Date: Fri, 20 Nov 2020 08:25:06 -0800 Subject: [PATCH 2/2] fixup! add a pipeline --- .buildkite/pipeline.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index d41a5c7..06422b8 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -1,6 +1,9 @@ --- steps: - - command: /home/aw/Src/buretoolbox/precommit/src/main/shell/test-patch.sh + - label: "Clean patch-dir" + command: \[ -d /tmp/yetus-out ] && rm -rf /tmp/yetus-out/* + - command: > + /home/aw/Src/buretoolbox/precommit/src/main/shell/test-patch.sh --patch-dir=/tmp/yetus-out --plugins=all --docker