blob: 62302b6605bdfa7f978bb824197165c1dd22d04a [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'
Paul Sokolovskye5823d52022-01-18 23:30:19 +030025 parameters:
26 - string:
27 name: DOCKER_SUFFIX
28 default: '-check'
29 description: |
30 Suffix for docker image name, should be non-empty to differentiate testing images from production images.
Paul Sokolovskydedc4832022-01-17 23:26:30 +030031 scm:
32 - git:
33 url: https://review.trustedfirmware.org/${GERRIT_PROJECT}
34 refspec: ${GERRIT_REFSPEC}
35 branches:
36 - ${GERRIT_BRANCH}
37 skip-tag: true
38 clean:
39 before: true
40 choosing-strategy: gerrit
41 basedir: dockerfiles
42 triggers:
43 - gerrit:
44 server-name: 'review.trustedfirmware.org'
45 trigger-on:
Paul Sokolovsky6ab98c02022-01-18 00:07:27 +030046 - comment-added-contains-event:
47 comment-contains-value: check-staging
Paul Sokolovskydedc4832022-01-17 23:26:30 +030048 projects:
49 - project-compare-type: 'PLAIN'
50 project-pattern: 'ci/dockerfiles'
51 branches:
52 - branch-compare-type: 'PLAIN'
53 branch-pattern: 'master'
Paul Sokolovsky6ab98c02022-01-18 00:07:27 +030054 silent-start: false
Paul Sokolovskydedc4832022-01-17 23:26:30 +030055 axes:
56 - axis:
57 type: slave
58 name: label
59 values:
60 - build-amd64
61 execution-strategy:
62 sequential: false
63 wrappers:
64 - timestamps
65 builders:
66 - shell: |
67 #!/bin/bash -e
68 echo "#${BUILD_NUMBER}-${GERRIT_PATCHSET_REVISION:0:8}" > ${WORKSPACE}/version.txt
69 - build-name-setter:
70 name: 'version.txt'
71 file: true
Paul Sokolovskydedc4832022-01-17 23:26:30 +030072 - shell:
73 !include-raw: ci-dockerfiles-deployment/builders.sh
74 - shell:
75 !include-raw: ci-dockerfiles-deployment/report.sh
76 publishers:
77 - email:
78 recipients: linaro-infrastructure-errors@lists.linaro.org