-
Notifications
You must be signed in to change notification settings - Fork 176
/
Copy pathrelease-builder.yaml
75 lines (65 loc) · 1.81 KB
/
release-builder.yaml
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
org: istio
repo: release-builder
support_release_branching: true
image: gcr.io/istio-testing/build-tools:master-ba6e7d3a0ff9666b1cc2a650507b0d99acfefff4
jobs:
- name: lint
command: [make, lint]
- name: test
command: [make, test]
- name: gencheck
command: [make, gen-check]
- name: dry-run
command: [entrypoint, test/publish.sh]
requirements: [docker]
resources: dedicated
regex: '\.go$|\.sh$'
- name: build-warning
types: [presubmit]
regex: '^release/trigger-build$'
command: [release/build-warning.sh]
modifiers: [presubmit_optional]
- name: publish-warning
types: [presubmit]
regex: '^release/trigger-publish$'
command: [release/publish-warning.sh]
modifiers: [presubmit_optional]
- name: build-release
types: [postsubmit]
regex: '^release/trigger-build$'
command: [entrypoint, release/build.sh]
requirements: [docker]
resources: dedicated
# For build, we just need SA (giving GCS/GCR access)
service_account_name: prowjob-release
- name: publish-release
types: [postsubmit]
regex: '^release/trigger-publish$'
command: [entrypoint, release/publish.sh]
requirements: [release, docker]
resources: dedicated
max_concurrency: 1
- name: build-base-images
types: [periodic]
cron: "0 19 * * *" # every day at 07:00 PM UTC (12:00 PM PST)
env:
- name: VERSION
value: "master"
command: [entrypoint, release/build-base-images.sh]
requirements: [build-base, docker]
resources: build
resources_presets:
build:
requests:
memory: "3Gi"
cpu: "5000m"
limits:
memory: "24Gi"
cpu: "8000m"
# Give 15 CPUs which will put us on a dedicated node, ensuring fast builds
dedicated:
requests:
memory: "8Gi"
cpu: "15000m"
limits:
memory: "24Gi"