aboutsummaryrefslogtreecommitdiff
path: root/erp-test-automation.yaml
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2018-01-11 18:13:24 +0800
committerFathi Boudra <fathi.boudra@linaro.org>2018-01-15 10:08:03 +0000
commit648b7a80c1a71edda37ca2eec289d226dcd86089 (patch)
treed8dec2b8468c7dcf5d1cbe8b29696fe4530c8a38 /erp-test-automation.yaml
parent296d147630ab2129757caebdbf01c4afc6ffb227 (diff)
erp-test-automation: schedule weekly ERP testing
Add erp-test-automation project to provision image and run ERP tests automatically, which can be trigged with HOSTS, BUILD_ENV and BUILD_NUM parameters. Add a trigger to run erp-test-automation weekly. Change-Id: If6a545e93c3c2cfe33e1ce4dd94f5543b8a6a9b9 Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to 'erp-test-automation.yaml')
-rw-r--r--erp-test-automation.yaml39
1 files changed, 39 insertions, 0 deletions
diff --git a/erp-test-automation.yaml b/erp-test-automation.yaml
new file mode 100644
index 00000000..7448b712
--- /dev/null
+++ b/erp-test-automation.yaml
@@ -0,0 +1,39 @@
+- job:
+ name: 'erp-test-automation'
+ display-name: 'ERP test automation'
+ project-type: freestyle
+ defaults: global
+ properties:
+ - authorization:
+ linaro:
+ - job-read
+ - job-extended-read
+ - job-build
+ - job-cancel
+ - build-discarder:
+ days-to-keep: 30
+ num-to-keep: 30
+ disabled: false
+ node: master
+ parameters:
+ - string:
+ name: HOSTS
+ default: 'cb-g0'
+ - string:
+ name: BUILD_ENV
+ default: 'staging'
+ - string:
+ name: BUILD_NUM
+ default: 'latest'
+ wrappers:
+ - timestamps
+ - credentials-binding:
+ - text:
+ credential-id: ANSIBLE_VAULT
+ variable: ANSIBLE_VAULT
+ builders:
+ - shell:
+ !include-raw: erp-test-automation/builders.sh
+ publishers:
+ - email:
+ recipients: 'chase.qi@linaro.org'