blob: b29ec145e3ca0d43f2f213f9c02321285361679d [file] [log] [blame]
Paul Sokolovskydedc4832022-01-17 23:26:30 +03001- job:
2 name: ci-dockerfiles-sanity-check
3 project-type: matrix
4 defaults: global
5 properties:
6 - authorization:
7 anonymous:
8 - job-discover
9 authenticated:
10 - job-read
11 - job-extended-read
12 - job-discover
13 - build-discarder:
14 days-to-keep: 90
15 num-to-keep: 200
16 - build-blocker:
17 use-build-blocker: true
18 blocking-jobs:
19 - "ci-docker*"
20 block-level: 'NODE'
21 disabled: false
22 node: build-amd64
23 concurrent: false
24 display-name: 'CI Dockerfiles sanity check'
25 scm:
26 - git:
27 url: https://review.trustedfirmware.org/${GERRIT_PROJECT}
28 refspec: ${GERRIT_REFSPEC}
29 branches:
30 - ${GERRIT_BRANCH}
31 skip-tag: true
32 clean:
33 before: true
34 choosing-strategy: gerrit
35 basedir: dockerfiles
36 triggers:
37 - gerrit:
38 server-name: 'review.trustedfirmware.org'
39 trigger-on:
Paul Sokolovsky6ab98c02022-01-18 00:07:27 +030040 - comment-added-contains-event:
41 comment-contains-value: check-staging
Paul Sokolovskydedc4832022-01-17 23:26:30 +030042 projects:
43 - project-compare-type: 'PLAIN'
44 project-pattern: 'ci/dockerfiles'
45 branches:
46 - branch-compare-type: 'PLAIN'
47 branch-pattern: 'master'
Paul Sokolovsky6ab98c02022-01-18 00:07:27 +030048 silent-start: false
Paul Sokolovskydedc4832022-01-17 23:26:30 +030049 axes:
50 - axis:
51 type: slave
52 name: label
53 values:
54 - build-amd64
55 execution-strategy:
56 sequential: false
57 wrappers:
58 - timestamps
59 builders:
60 - shell: |
61 #!/bin/bash -e
62 echo "#${BUILD_NUMBER}-${GERRIT_PATCHSET_REVISION:0:8}" > ${WORKSPACE}/version.txt
63 - build-name-setter:
64 name: 'version.txt'
65 file: true
66 - shell:
67 !include-raw: ci-dockerfiles-deployment/builders.sh
68 - shell:
69 !include-raw: ci-dockerfiles-deployment/report.sh
70 publishers:
71 - email:
72 recipients: linaro-infrastructure-errors@lists.linaro.org