Skip to content

Commit 7d2ed27

Browse files
committed
run python test
1 parent 02db649 commit 7d2ed27

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

.cloudbuild/library_generation/cloudbuild-library-generation-integration-test.yaml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,16 @@
1313
# limitations under the License.
1414

1515
timeout: 7200s # 2 hours
16-
substitutions:
17-
_TEST_IMAGE_NAME: "test-image:latest"
1816
steps:
19-
- name: gcr.io/cloud-builders/docker
17+
- name: python
18+
id: install-python-deps
19+
entrypoint: python
20+
waitFor: ["-"]
2021
args: [
21-
"build",
22-
"-t", "${_TEST_IMAGE_NAME}",
23-
"--file", ".cloudbuild/library_generation/library_generation.Dockerfile",
24-
"."
22+
"-m",
23+
"unittest",
24+
"hermetic_build/library_generation/tests/integration_tests.py"
2525
]
26-
id: library-generation-build
27-
waitFor: ["-"]
28-
env:
29-
- 'DOCKER_BUILDKIT=1'
30-
31-
- name: test-image:latest
32-
waitFor: ["library-generation-build"]
33-
id: library-generation-integration-test
3426

3527
options:
3628
logging: CLOUD_LOGGING_ONLY

0 commit comments

Comments
 (0)