-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate building and testing phases via --build and --test flags.
Sometimes the tests fails for reasons not related to the runtime. This gives us a way to build and push the image anyway.
- Loading branch information
Doug Greiman
committed
Oct 20, 2017
1 parent
8df5ad6
commit 44af511
Showing
6 changed files
with
65 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
timeout: 3600s | ||
steps: | ||
- # Validate structure of base runtime image | ||
name: gcr.io/gcp-runtimes/structure_test:latest | ||
args: [ | ||
'-i', '${_DOCKER_NAMESPACE}/python:${_TAG}', | ||
'--config', '/workspace/tests/virtualenv/virtualenv_default.yaml', | ||
'--config', '/workspace/tests/virtualenv/virtualenv_python34.yaml', | ||
'--config', '/workspace/tests/virtualenv/virtualenv_python35.yaml', | ||
'--config', '/workspace/tests/virtualenv/virtualenv_python36.yaml', | ||
'--config', '/workspace/tests/no-virtualenv/no-virtualenv.yaml', | ||
'--config', '/workspace/tests/python2-libraries/python2-libraries.yaml', | ||
'--config', '/workspace/tests/python3-libraries/python3-libraries.yaml', | ||
'--config', '/workspace/tests/license-test/license-test.yaml', | ||
'-v' | ||
] | ||
- # Run compatibility tests | ||
name: gcr.io/cloud-builders/docker:latest | ||
args: ['build', '--tag=${_DOCKER_NAMESPACE}/python/tests/eventlet:${_TAG}', | ||
'--no-cache', '/workspace/tests/eventlet/'] | ||
- # Build image to run google client library unit tests | ||
name: gcr.io/cloud-builders/docker:latest | ||
args: ['build', '--tag=${_DOCKER_NAMESPACE}/python/tests/google-cloud-python:${_TAG}', | ||
'--no-cache', '/workspace/tests/google-cloud-python/'] | ||
- # Run google client library unit tests | ||
name: ${_DOCKER_NAMESPACE}/python/tests/google-cloud-python:${_TAG} | ||
images: [ | ||
] |