test: run the datastore system tests in google cloud build#8343
Open
danieljbruce wants to merge 6 commits into
Open
test: run the datastore system tests in google cloud build#8343danieljbruce wants to merge 6 commits into
danieljbruce wants to merge 6 commits into
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces a new Cloud Build configuration for the datastore component, covering dependency installation, system testing, and coverage reporting. Feedback focuses on correcting the Node.js image version to a stable release, adopting npm ci for more reliable builds, parameterizing the project ID, and reducing the build timeout to prevent resource waste.
| args: | ||
| - '-c' | ||
| - | | ||
| npm install |
Contributor
Contributor
Author
There was a problem hiding this comment.
Made this change
Contributor
Author
There was a problem hiding this comment.
Actually, this breaks the build so needs to be reverted.
| substitutions: | ||
| _GCP_PROJECT_ID: 'long-door-651' | ||
|
|
||
| timeout: '10800s' |
Contributor
Contributor
Author
There was a problem hiding this comment.
Made this change. Reduced the timeout to 1h.
pearigee
approved these changes
May 21, 2026
pearigee
approved these changes
May 21, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request adds a yaml file to instruct the Datastore system test CI check to work with the new Cloud Build trigger thereby making the new CI check effectively run our system tests. It also includes minor code modifications to the Datastore handwritten layer that allow the system tests to operate properly in the new Cloud Build Environment.
Impact
Leverages the strengths of running system tests in GCB rather than relying on kokoro for system tests.
Testing
This pull request tells the tests how to work with the new check to the continuous integration pipeline for the Datastore system tests thus improves the effectiveness of that test.
Next Steps