Skip to content

Conversation

@grayside
Copy link
Collaborator

Problem

Cloud Run release testing does not rely on a PR. The .kokoro/build-with-run.sh script names a service with a hard dependency on a PR-specific environment variable. As a result, end-to-end tests attempt to deploy with an invalid name (e.g., sample-name-).

Solution

This PR adjusts the construction of the service name to fall back to the first 12 characters of the commit hash of the change if the PR environment variable is not available.

@grayside grayside requested a review from fhinkel July 12, 2019 21:48
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants