This repository has been archived by the owner on Oct 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 82
/
integration-tests.yaml
67 lines (61 loc) · 2.14 KB
/
integration-tests.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
steps:
# test runner
- name: gcr.io/cloud-builders/docker
args: ['build', '-t', 'gcr.io/${_GOOGLE_PROJECT_ID}/php-test-runner:$_TAG', '.']
dir: cloudbuild-test-runner
waitFor: ['-']
id: test-runner
# php80_e2e test
- name: gcr.io/${_GOOGLE_PROJECT_ID}/php-test-runner:$_TAG
args: ['/workspace/testapps/php80_e2e/tests']
waitFor: ['test-runner']
id: php80_e2e
env:
- 'SERVICE_ACCOUNT_JSON=${_SERVICE_ACCOUNT_JSON}'
- 'TAG=${_TAG}-e2e'
- 'E2E_PROJECT_ID=${_E2E_PROJECT_ID}'
- 'TEST_VM_IMAGE=${_TEST_VM_IMAGE}'
# php74_e2e test
- name: gcr.io/${_GOOGLE_PROJECT_ID}/php-test-runner:$_TAG
args: ['/workspace/testapps/php74_e2e/tests']
waitFor: ['test-runner']
id: php74_e2e
env:
- 'SERVICE_ACCOUNT_JSON=${_SERVICE_ACCOUNT_JSON}'
- 'TAG=${_TAG}-e2e'
- 'E2E_PROJECT_ID=${_E2E_PROJECT_ID}'
- 'TEST_VM_IMAGE=${_TEST_VM_IMAGE}'
# php73_e2e test
- name: gcr.io/${_GOOGLE_PROJECT_ID}/php-test-runner:$_TAG
args: ['/workspace/testapps/php73_e2e/tests']
waitFor: ['test-runner']
id: php73_e2e
env:
- 'SERVICE_ACCOUNT_JSON=${_SERVICE_ACCOUNT_JSON}'
- 'TAG=${_TAG}-e2e'
- 'E2E_PROJECT_ID=${_E2E_PROJECT_ID}'
- 'TEST_VM_IMAGE=${_TEST_VM_IMAGE}'
# build_pipeline test
- name: gcr.io/${_GOOGLE_PROJECT_ID}/php-test-runner:$_TAG
args: ['/workspace/testapps/build_pipeline/tests']
waitFor: ['test-runner']
id: build_pipeline
env:
- 'SERVICE_ACCOUNT_JSON=${_SERVICE_ACCOUNT_JSON}'
- 'TAG=${_TAG}-build-pipeline'
- 'E2E_PROJECT_ID=${_E2E_PROJECT_ID}'
- 'RUNTIME_BUILDER_ROOT=${_RUNTIME_BUILDER_ROOT}'
- 'TEST_VM_IMAGE=${_TEST_VM_IMAGE}'
# build_pipeline_stackdriver test
- name: gcr.io/${_GOOGLE_PROJECT_ID}/php-test-runner:$_TAG
args: ['/workspace/testapps/build_pipeline_std/tests']
waitFor: ['test-runner']
id: build_pipeline_stackdriver
env:
- 'SERVICE_ACCOUNT_JSON=${_SERVICE_ACCOUNT_JSON}'
- 'TAG=${_TAG}-bp-std'
- 'E2E_PROJECT_ID=${_E2E_PROJECT_ID}'
- 'RUNTIME_BUILDER_ROOT=${_RUNTIME_BUILDER_ROOT}'
- 'TEST_VM_IMAGE=${_TEST_VM_IMAGE}'
options:
machineType: 'N1_HIGHCPU_8'