forked from GoogleCloudPlatform/compute-image-import
-
Notifications
You must be signed in to change notification settings - Fork 0
/
prowjobs_cloudbuild.yaml
44 lines (42 loc) · 1.44 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
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: e2e-test-base
name: 'gcr.io/kaniko-project/executor:v0.22.0'
args:
- --destination=gcr.io/$PROJECT_ID/e2e-test-base:latest
- --destination=gcr.io/$PROJECT_ID/e2e-test-base:$COMMIT_SHA
- --context=/workspace
- --dockerfile=e2e_test_base.Dockerfile
- 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