aboutsummaryrefslogtreecommitdiff
path: root/lava-tool.yaml
diff options
context:
space:
mode:
authorNeil Williams <neil.williams@linaro.org>2015-10-16 16:14:59 +0100
committerLinaro Code Review <review@review.linaro.org>2015-10-16 15:24:55 +0000
commit991a64d45ac290ff80c029a2e9f02a5ab36dd329 (patch)
treef1b9929eda52d8795a2f7084f1f5caeb35e324db /lava-tool.yaml
parent88d55fe61bc3c6f9969eebec4ab479e3b13b839a (diff)
downloadconfigs-991a64d45ac290ff80c029a2e9f02a5ab36dd329.tar.gz
Add config for lavabot usage
lava-server, lava-dispatcher and lava-tool Change-Id: I2334c22cd0d099aecf5b6cc9c0864fbc907bc106
Diffstat (limited to 'lava-tool.yaml')
-rw-r--r--lava-tool.yaml48
1 files changed, 48 insertions, 0 deletions
diff --git a/lava-tool.yaml b/lava-tool.yaml
new file mode 100644
index 000000000..ccb0bd80a
--- /dev/null
+++ b/lava-tool.yaml
@@ -0,0 +1,48 @@
+- job:
+ name: lava-tool
+ project-type: freestyle
+ defaults: global
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 30
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ disabled: false
+ node: lavabot
+ display-name: 'PEP8 and Unit Test CI Job for lava-tool'
+ triggers:
+ - gerrit:
+ tool-name: 'review.linaro.org'
+ override-votes: true
+ gerrit-build-successful-codereview-value: 1
+ gerrit-build-failed-codereview-value: -1
+ trigger-for-unreviewed-patches: true
+ readable-message: false
+ successful-message: 'PEP8 and Units Tests Successful'
+ start-message: 'PEP8 and Units Tests Started'
+ failure-message: 'PEP8 and Units Tests Failed'
+ custom-url: '${BUILD_URL}/console'
+ projects:
+ - project-compare-type: 'PLAIN'
+ project-pattern: 'lava/lava-tool'
+ branches:
+ - branch-compare-type: 'PLAIN'
+ branch-pattern: 'master'
+ wrappers:
+ - timestamps
+ - build-name:
+ name: '#${BUILD_NUMBER}-${GERRIT_PATCHSET_REVISION,length=8}'
+ builders:
+ - linaro-publish-token
+ - shell: |
+ #!/bin/bash
+
+ rm -rf ${WORKSPACE}/*
+ git clone https://git.linaro.org/${GERRIT_PROJECT} -b ${GERRIT_BRANCH}
+ cd *
+ git log -n3
+ git fetch https://review.linaro.org/${GERRIT_PROJECT} ${GERRIT_REFSPEC} && git checkout FETCH_HEAD
+ ./ci-run