aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/ci-management/ci-management.yaml
diff options
context:
space:
mode:
authorAnil Belur <abelur@linuxfoundation.org>2017-08-01 14:31:17 +1000
committerAnil Belur <abelur@linuxfoundation.org>2017-08-01 14:31:17 +1000
commita1c66436bdfc4778b066e65ddaa1a228181becec (patch)
treea48b92f74b45e229c19d078cad2e7c2b2475ddba /jjb/ci-management/ci-management.yaml
parent8f551bf3eb8a3af4a4754b2966451745fb100bde (diff)
Improve packer verify and build jobs
- AGL uses multiple user credentials some of which are missing. JJB does not support setting "Ignore missing credentials" through JJB, therefore create a separate wrapper to fix the issue. - Improve the packer validation builder to exclude non-packer templates. Change-Id: I16524cbee14add2028d8c9e30b0f6c9315928031 Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Diffstat (limited to 'jjb/ci-management/ci-management.yaml')
-rw-r--r--jjb/ci-management/ci-management.yaml28
1 files changed, 22 insertions, 6 deletions
diff --git a/jjb/ci-management/ci-management.yaml b/jjb/ci-management/ci-management.yaml
index 07811ea5..5407073f 100644
--- a/jjb/ci-management/ci-management.yaml
+++ b/jjb/ci-management/ci-management.yaml
@@ -113,8 +113,17 @@
choosing-strategy: 'gerrit'
wrappers:
- - agl-infra-wrappers:
- build-timeout: '{build-timeout}'
+ - timeout:
+ type: absolute
+ timeout: '{build-timeout}'
+ timeout-var: 'BUILD_TIMEOUT'
+ fail: true
+ - ssh-agent-credentials:
+ users:
+ - 'd28b1f3b-3603-49bc-b837-bb0a2e85d4b8'
+ - ansicolor
+ - openstack:
+ single-use: false
triggers:
- gerrit-trigger-patch-submitted:
@@ -153,22 +162,29 @@
choosing-strategy: 'gerrit'
wrappers:
+ - timeout:
+ type: absolute
+ timeout: '{build-timeout}'
+ timeout-var: 'BUILD_TIMEOUT'
+ fail: true
- ssh-agent-credentials:
users:
- - '{ssh-credentials}'
- - agl-infra-wrappers:
- build-timeout: '{build-timeout}'
+ - 'd28b1f3b-3603-49bc-b837-bb0a2e85d4b8'
+ - ansicolor
+ - openstack:
+ single-use: false
triggers:
- timed: '00 10 1 * *'
- gerrit:
+ server-name: 'gerrit.automotivelinux.org'
trigger-on:
- change-merged-event
- comment-added-contains-event:
comment-contains-value: 'remerge'
projects:
- project-compare-type: 'ANT'
- project-pattern: 'ci-management'
+ project-pattern: '{name}'
branches:
- branch-compare-type: 'ANT'
branch-pattern: '**/{branch}'