blob: 11611c0bca0d04611feaf1448cc2758d34ea58cc [file] [log] [blame]
Paul Sokolovskyf4f54772022-11-11 20:15:36 +03001- job:
2 name: ci-dockerfiles-sanity-check
3 project-type: freestyle
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
Paul Sokolovskyb5dca4b2022-11-11 21:52:03 +030022 node: build-amd64-private
Paul Sokolovskyf4f54772022-11-11 20:15:36 +030023 concurrent: false
24 display-name: 'CI Dockerfiles sanity check'
25 parameters:
26 - string:
27 name: GERRIT_PROJECT
28 default: 'ci/dockerfiles'
29 description: |
30 Git project to build (also set by Gerrit trigger)
31 - string:
32 name: GERRIT_BRANCH
33 default: 'master'
34 description: |
35 Git branch to build (also set by Gerrit trigger)
36 - string:
37 name: GERRIT_REFSPEC
38 default: ''
39 - string:
40 name: DOCKER_SUFFIX
41 default: '-check'
42 description: |
43 Suffix for docker image name, should be non-empty to differentiate testing images from production images.
44 scm:
45 - git:
46 url: https://review.trustedfirmware.org/${GERRIT_PROJECT}
47 refspec: ${GERRIT_REFSPEC}
48 branches:
49 - ${GERRIT_BRANCH}
50 skip-tag: true
51 clean:
52 before: true
53 choosing-strategy: gerrit
54 basedir: dockerfiles
55 triggers:
56 - gerrit:
57 server-name: 'review.trustedfirmware.org'
58 trigger-on:
59 - patchset-created-event
60 projects:
61 - project-compare-type: 'PLAIN'
62 project-pattern: 'ci/dockerfiles'
63 branches:
64 - branch-compare-type: 'PLAIN'
65 branch-pattern: 'master'
Paul Sokolovskyf4f54772022-11-11 20:15:36 +030066 execution-strategy:
67 sequential: false
68 wrappers:
69 - timestamps
Paul Sokolovsky0e49ab32024-01-26 15:30:19 +070070 - timeout:
Chris Kay4cd3e8b2025-07-04 12:30:22 +010071 timeout: 120
Paul Sokolovsky0e49ab32024-01-26 15:30:19 +070072 fail: true
Paul Sokolovskyf4f54772022-11-11 20:15:36 +030073 builders:
Paul Sokolovskyef0682b2022-11-12 12:19:33 +030074 - shell:
75 !include-raw: ci-dockerfiles-deployment/build-version.sh
Paul Sokolovskyf4f54772022-11-11 20:15:36 +030076 - build-name-setter:
77 name: 'version.txt'
78 file: true
79 - shell:
80 !include-raw: ci-dockerfiles-deployment/builders.sh
81 - shell:
82 !include-raw: ci-dockerfiles-deployment/report.sh
83 publishers:
84 - email:
85 recipients: linaro-infrastructure-errors@lists.linaro.org
Paul Sokolovskyad5b80c2022-12-14 19:10:09 +030086 - workspace-cleanup