blob: 64b7e6fe86eb8a189641f67ddc533ad26d33457f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
- job:
name: ci-dockerfiles-deployment
project-type: matrix
defaults: global
properties:
- authorization:
anonymous:
- job-discover
linaro:
- job-read
- job-extended-read
- build-discarder:
days-to-keep: 90
num-to-keep: 200
- build-blocker:
use-build-blocker: true
blocking-jobs:
- "ci-docker.*"
block-level: 'NODE'
disabled: false
node: master
concurrent: false
display-name: 'CI Dockerfiles build/publish deployment'
scm:
- git:
url: https://review.linaro.org/${GERRIT_PROJECT}
refspec: ${GERRIT_REFSPEC}
branches:
- ${GERRIT_BRANCH}
skip-tag: true
clean:
before: true
choosing-strategy: gerrit
basedir: dockerfiles
triggers:
- gerrit:
server-name: 'review.linaro.org'
trigger-on:
- change-merged-event
projects:
- project-compare-type: 'PLAIN'
project-pattern: 'ci/dockerfiles'
branches:
- branch-compare-type: 'PLAIN'
branch-pattern: 'master'
- branch-compare-type: 'ANT'
branch-pattern: 'tcwg**'
silent-start: true
axes:
- axis:
type: slave
name: label
values:
- build-amd64
- build-arm64
execution-strategy:
sequential: false
wrappers:
- timestamps
- credentials-binding:
- text:
credential-id: DOCKER_AUTH
variable: DOCKER_AUTH
- ssh-agent-credentials:
# tcwg-buildslave user id to clone dev-private-git.l.o/tcwg/llvm-config repo for *-tcwg-llvmbot-* images.
users:
- 'e0958a95-204f-4c14-a66c-5e2be6c5d50a'
builders:
- shell: |
#!/bin/bash -e
curl -L -o ${WORKSPACE}/config.json https://ci.linaro.org/userContent/config.json --fail
- shell: |
#!/bin/bash -e
echo "#${BUILD_NUMBER}-${GERRIT_PATCHSET_REVISION:0:8}" > ${WORKSPACE}/version.txt
- build-name-setter:
name: 'version.txt'
file: true
- shell:
!include-raw: ci-dockerfiles-deployment/builders.sh
- shell:
!include-raw: ci-dockerfiles-deployment/publish.sh
publishers:
- trigger:
project: 'ci-dockerslaves-cleanup'
- email:
recipients: linaro-infrastructure-errors@lists.linaro.org
|