Skip to content
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

Add forwarder cloud function #1

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Add forwarder cloud function #1

wants to merge 12 commits into from

Conversation

cisaacstern
Copy link
Member

First draft of cloud function to address requirements discussed in pangeo-forge/pangeo-forge-orchestrator#226 (comment).

@cisaacstern
Copy link
Member Author

cisaacstern commented Jan 27, 2023

I made this a Heroku app (instead of a GCP Cloud Function) because Columbia's GCP organization policy prevents us from making Cloud Functions with --allow-unauthenticated invocations.

The latest commit is now deployed to https://github-webhook-forwarder.herokuapp.com/ and both server logs

2023-01-27T18:46:15.084777+00:00 app[web.1]: event = 'pull_request'
2023-01-27T18:46:15.085202+00:00 app[web.1]: Forwarding GitHub webhook to recipient = 'smee.io/Rr2ityhdvexeoITZ'
2023-01-27T18:46:15.085373+00:00 app[web.1]: 140.82.115.111:0 - "POST / HTTP/1.1" 200

and GitHub response log

Screen Shot 2023-01-27 at 11 05 19 AM

are passing a manual smoke test.

Now that we have a working deployment, I'll flesh out the remainder of the functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant