Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: init eventarc quickstarts #4710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Sep 25, 2020

Conversation

grant
Copy link
Contributor

@grant grant commented Sep 18, 2020

Description

  • Moves alpha run/events-* samples to beta eventarc/*.
  • Updates markdown instructions to use gcloud beta commands.
  • Creates new eventarc/ folder. Updates GH owners.
  • Updates run/ README.md
  • No source code changes.

Fixes #4708

Checklist

CC: @llatif

Signed-off-by: Grant Timmerman <[email protected]>
Signed-off-by: Grant Timmerman <[email protected]>
@grant grant requested a review from averikitsch September 18, 2020 19:59
@grant grant requested a review from a team as a code owner September 18, 2020 19:59
@grant grant self-assigned this Sep 18, 2020
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Sep 18, 2020
Signed-off-by: Grant Timmerman <[email protected]>

```sh
MY_RUN_SERVICE=gcs-service
MY_RUN_CONTAINER=gcs-container
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: you may want to note that this needs to be globally unique

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added.


Learn more about [testing your container image locally.][testing]

## Deploying
Copy link
Contributor

Choose a reason for hiding this comment

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

nit:

Suggested change
## Deploying
## Deploying a Cloud Run service

Do you want to add any trigger creation info in this readme?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

  • Changed to Run service like mentioned above.
  • Mentioned generic step for creating trigger. It depends on the trigger type.

[run_deploy]: https://cloud.google.com/run/docs/deploying
[events_pubsub]: events-pubsub/
[anthos_events_pubsub]: events-pubsub/anthos.md
[events_storage]: events-storage/
Copy link
Contributor

Choose a reason for hiding this comment

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

audit-storage?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch.

I tested all 4 links in VS Code. I had to add README.md for the default READMEs to work.

## Samples

| Sample | Description | Deploy |
| ------------------------------- | ------------------------ | ------------- |
Copy link
Contributor

Choose a reason for hiding this comment

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

No cloud run button?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not a big fan of the button as you can't modify samples or easily test. Could be a FR

@averikitsch
Copy link
Contributor

Do region tags need to be updated?

Signed-off-by: Grant Timmerman <[email protected]>
Copy link
Contributor Author

@grant grant left a comment

Choose a reason for hiding this comment

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

Addressed comments.

## Samples

| Sample | Description | Deploy |
| ------------------------------- | ------------------------ | ------------- |
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not a big fan of the button as you can't modify samples or easily test. Could be a FR


Learn more about [testing your container image locally.][testing]

## Deploying
Copy link
Contributor Author

Choose a reason for hiding this comment

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

  • Changed to Run service like mentioned above.
  • Mentioned generic step for creating trigger. It depends on the trigger type.

[run_deploy]: https://cloud.google.com/run/docs/deploying
[events_pubsub]: events-pubsub/
[anthos_events_pubsub]: events-pubsub/anthos.md
[events_storage]: events-storage/
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch.

I tested all 4 links in VS Code. I had to add README.md for the default READMEs to work.


```sh
MY_RUN_SERVICE=gcs-service
MY_RUN_CONTAINER=gcs-container
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added.

@product-auto-label product-auto-label bot added the samples Issues that are directly related to samples. label Sep 19, 2020
@grant
Copy link
Contributor Author

grant commented Sep 21, 2020

Hi @GoogleCloudPlatform/python-samples-owners, can you review this PR? It looks like I must have a 2nd review.

@grant
Copy link
Contributor Author

grant commented Sep 24, 2020

@busunkim96 @tmatsuo Can you review? Not sure how best to request a review.

@grant
Copy link
Contributor Author

grant commented Sep 25, 2020

Hey folks, can we get a review in today? Trying to get the samples ready for our TW.

@grant grant merged commit b7c80d4 into GoogleCloudPlatform:master Sep 25, 2020
@grant grant deleted the grant_eventarc_init branch September 25, 2020 15:47
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.

Eventarc Beta Quickstarts
3 participants