blob: 962acd7efc0cd342e4b2b406145c3118ad2fc6a2 [file] [log] [blame]
Riku Voipiob7e0c1c2020-06-11 13:35:22 +03001- job:
2 name: ci-dockerfile-build-test
3 project-type: freestyle
4 defaults: global
5 properties:
6 - authorization:
7 anonymous:
8 - job-discover
Benjamin Copeland9dc2eb82022-10-11 12:40:33 +01009 everyone-flat:
Riku Voipiob7e0c1c2020-06-11 13:35:22 +030010 - job-read
11 - job-extended-read
12 - job-build
13 - job-cancel
14 - build-discarder:
15 days-to-keep: 90
16 num-to-keep: 200
17 - build-blocker:
18 use-build-blocker: true
19 blocking-jobs:
Riku Voipio6901a072021-12-10 16:23:09 +020020 - "ci-docker.*"
Riku Voipiob7e0c1c2020-06-11 13:35:22 +030021 block-level: 'NODE'
22 disabled: false
23 display-name: 'Build docker image'
24 parameters:
25 - string:
26 name: image
27 description: 'docker image to build'
28 - label:
29 name: nodelabel
30 description: 'build machine'
31 - file:
32 name: uploadimage
33 wrappers:
34 - timestamps
Riku Voipiob7e0c1c2020-06-11 13:35:22 +030035 - credentials-binding:
36 - text:
37 credential-id: DOCKER_AUTH
38 variable: DOCKER_AUTH
39 builders:
Laurent Alfonsi6a77a7c2022-05-03 13:15:43 +020040 - shell: |
41 #!/bin/bash -e
Kelley Spoonfbfc8432022-05-06 12:47:39 -050042 curl -L -o ${WORKSPACE}/config.json https://ci.linaro.org/userContent/config.json --fail
Riku Voipiob7e0c1c2020-06-11 13:35:22 +030043 - shell:
44 !include-raw: ci-dockerfiles-deployment/build-image-test.sh
45 publishers:
46 - email:
47 recipients: linaro-infrastructure-errors@lists.linaro.org