forked from GoogleCloudPlatform/compute-image-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prowjobs_cloudbuild.yaml
111 lines (109 loc) · 3.9 KB
/
prowjobs_cloudbuild.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
timeout: 3600s
options:
env:
- GO111MODULE=on
- GOPROXY=https://proxy.golang.org
volumes:
- name: go-pkg
path: /go/pkg
- name: go-src
path: /go/src
steps:
- id: cleanerupper
name: 'gcr.io/kaniko-project/executor:v0.22.0'
args:
- --destination=gcr.io/$PROJECT_ID/cleanerupper:latest
- --destination=gcr.io/$PROJECT_ID/cleanerupper:$COMMIT_SHA
- --context=/workspace/test-infra/prowjobs/cleanerupper
- --cache=true
- --cache-ttl=24h
- id: wrapper
name: 'gcr.io/kaniko-project/executor:v0.22.0'
args:
- --destination=gcr.io/$PROJECT_ID/wrapper:latest
- --destination=gcr.io/$PROJECT_ID/wrapper:$COMMIT_SHA
- --context=/workspace/test-infra/prowjobs/wrapper
- --cache=true
- --cache-ttl=24h
- id: wrapper-with-gcloud
name: 'gcr.io/kaniko-project/executor:v0.22.0'
args:
- --destination=gcr.io/$PROJECT_ID/wrapper-with-gcloud:latest
- --destination=gcr.io/$PROJECT_ID/wrapper-with-gcloud:$COMMIT_SHA
- --context=/workspace/test-infra/prowjobs/wrapper
- --dockerfile=withgcloud.Dockerfile
- --build-arg=PROJECT_ID=$PROJECT_ID
- --cache=true
- --cache-ttl=24h
- id: test-runner
name: 'gcr.io/kaniko-project/executor:v0.22.0'
args:
- --destination=gcr.io/$PROJECT_ID/test-runner:latest
- --destination=gcr.io/$PROJECT_ID/test-runner:$COMMIT_SHA
- --context=/workspace
- --dockerfile=daisy_test_runner.Dockerfile
- --build-arg=PROJECT_ID=$PROJECT_ID
- id: gce-image-import-export-tests
name: 'gcr.io/kaniko-project/executor:v0.22.0'
args:
- --destination=gcr.io/$PROJECT_ID/gce-image-import-export-tests:latest
- --destination=gcr.io/$PROJECT_ID/gce-image-import-export-tests:$COMMIT_SHA
- --context=/workspace
- --dockerfile=gce_image_import_export_tests.Dockerfile
- --build-arg=PROJECT_ID=$PROJECT_ID
- id: gce-ovf-import-tests
name: 'gcr.io/kaniko-project/executor:v0.22.0'
args:
- --destination=gcr.io/$PROJECT_ID/gce-ovf-import-tests:latest
- --destination=gcr.io/$PROJECT_ID/gce-ovf-import-tests:$COMMIT_SHA
- --context=/workspace
- --dockerfile=gce_ovf_import_tests.Dockerfile
- --build-arg=PROJECT_ID=$PROJECT_ID
- id: gce-ovf-export-tests
name: 'gcr.io/kaniko-project/executor:v0.22.0'
args:
- --destination=gcr.io/$PROJECT_ID/gce-ovf-export-tests:latest
- --destination=gcr.io/$PROJECT_ID/gce-ovf-export-tests:$COMMIT_SHA
- --context=/workspace
- --dockerfile=gce_ovf_export_tests.Dockerfile
- --build-arg=PROJECT_ID=$PROJECT_ID
- id: gce-windows-upgrade-tests
name: 'gcr.io/kaniko-project/executor:v0.22.0'
args:
- --destination=gcr.io/$PROJECT_ID/gce-windows-upgrade-tests:latest
- --destination=gcr.io/$PROJECT_ID/gce-windows-upgrade-tests:$COMMIT_SHA
- --context=/workspace
- --dockerfile=gce_windows_upgrade_tests.Dockerfile
- --build-arg=PROJECT_ID=$PROJECT_ID
- id: gocheck
name: 'gcr.io/kaniko-project/executor:v0.22.0'
args:
- --destination=gcr.io/$PROJECT_ID/gocheck:latest
- --destination=gcr.io/$PROJECT_ID/gocheck:$COMMIT_SHA
- --context=/workspace/test-infra/prowjobs/gocheck
- --build-arg=PROJECT_ID=$PROJECT_ID
waitFor: ['wrapper']
- id: gobuild
name: 'gcr.io/kaniko-project/executor:v0.22.0'
args:
- --destination=gcr.io/$PROJECT_ID/gobuild:latest
- --destination=gcr.io/$PROJECT_ID/gobuild:$COMMIT_SHA
- --context=/workspace/test-infra/prowjobs/gobuild
- --build-arg=PROJECT_ID=$PROJECT_ID
waitFor: ['wrapper']
- id: flake8
name: 'gcr.io/kaniko-project/executor:v0.22.0'
args:
- --destination=gcr.io/$PROJECT_ID/flake8:latest
- --destination=gcr.io/$PROJECT_ID/flake8:$COMMIT_SHA
- --context=/workspace/test-infra/prowjobs/flake8
- --build-arg=PROJECT_ID=$PROJECT_ID
waitFor: ['wrapper']
- id: unittests
name: 'gcr.io/kaniko-project/executor:v0.22.0'
args:
- --destination=gcr.io/$PROJECT_ID/unittests:latest
- --destination=gcr.io/$PROJECT_ID/unittests:$COMMIT_SHA
- --context=/workspace/test-infra/prowjobs/unittests
- --build-arg=PROJECT_ID=$PROJECT_ID
waitFor: ['wrapper']