blob: 911c4e1b8fa91fb3e5bd3f41c8d88c9d94824d63 [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:
Saheer Babucaf89d52024-11-05 14:16:24 +000057 silent: true
Paul Sokolovskyf4f54772022-11-11 20:15:36 +030058 server-name: 'review.trustedfirmware.org'
59 trigger-on:
60 - patchset-created-event
61 projects:
62 - project-compare-type: 'PLAIN'
63 project-pattern: 'ci/dockerfiles'
64 branches:
65 - branch-compare-type: 'PLAIN'
66 branch-pattern: 'master'
Paul Sokolovskyf4f54772022-11-11 20:15:36 +030067 execution-strategy:
68 sequential: false
69 wrappers:
70 - timestamps
Paul Sokolovsky0e49ab32024-01-26 15:30:19 +070071 - timeout:
72 timeout: 60
73 fail: true
Paul Sokolovskyf4f54772022-11-11 20:15:36 +030074 builders:
Paul Sokolovskyef0682b2022-11-12 12:19:33 +030075 - shell:
76 !include-raw: ci-dockerfiles-deployment/build-version.sh
Paul Sokolovskyf4f54772022-11-11 20:15:36 +030077 - build-name-setter:
78 name: 'version.txt'
79 file: true
80 - shell:
81 !include-raw: ci-dockerfiles-deployment/builders.sh
82 - shell:
83 !include-raw: ci-dockerfiles-deployment/report.sh
Saheer Babu08f49c52025-01-15 11:27:46 +000084 # publishers:
85 # - email:
86 # recipients: linaro-infrastructure-errors@lists.linaro.org
87 # - workspace-cleanup