Skip to content

Adding e2e_test for Cloud Run image processing sample#4852

Merged
tmatsuo merged 4 commits into
masterfrom
cloudrun-e2e
Oct 15, 2020
Merged

Adding e2e_test for Cloud Run image processing sample#4852
tmatsuo merged 4 commits into
masterfrom
cloudrun-e2e

Conversation

@dinagraves
Copy link
Copy Markdown
Contributor

  • Uploads image to one storage bucket
  • Pub/Sub Notification to Cloud Run service
  • Uploads blurred image to another storage bucket

@dinagraves dinagraves requested review from a team, averikitsch and grant as code owners October 14, 2020 23:53
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 14, 2020
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Oct 15, 2020
def pubsub_topic(service_url):
# Create pub/sub topic
topic = f"image_proc_{SUFFIX}"
subprocess.run(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is all really great, but in the future would it be better to this to be set up as a part of cloud build?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question -- I didn't go down that road b/c the Cloud Build service agent didn't have pub/sub permissions in this project, but obviously we could update the permissions.

@dinagraves dinagraves added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 15, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 15, 2020
@tmatsuo tmatsuo merged commit c4132c0 into master Oct 15, 2020
@tmatsuo tmatsuo deleted the cloudrun-e2e branch October 15, 2020 20:42
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. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants