Noor Hashem
11/14/2022, 4:59 AMBeth (pactflow.io/Pact Broker/pact-ruby)
Noor Hashem
11/15/2022, 4:53 AMContract published that requires verification
webhook and that works great. But for the other webhooks i'm unclear on a few things:
1. Which webhook is the correct one for me to use if I want some kind of status on the consumer PR after the webhook triggers a provider verification github workflow. I was thinking to use the Verification results published (with any status)
but i'm not sure if this is the correct one for what I want because I also see others like this one here which sound like they do what i want "Report the pact verification status back to the consumer project in Github."
2. After finding the correct webhook, some of them as for a username and password, i'm not too sure what that username and password should be.
I think my first step is to find the correct webhook for the job. Does there exist a webhook that actually sends back some kind of status on the consumer PR after the verification step is finished?Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Noor Hashem
11/16/2022, 4:57 AMBeth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Noor Hashem
11/16/2022, 5:07 AM"<https://api.github.com/repos/><organization>/<project>/statuses/${pactbroker.consumerVersionNumber}"
I am not too sure what <project>
would be in my case, from researching I just put the repo name.
But the main issue is this error:
"message":"No commit found for SHA: 8700f0d",
I think that might be because the commit is on the consumer PR not on master of the consumer repo so it cannot locate it?Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
<https://github.com/ApplyBoard/platform_monorepo_ui/commit/8700f0d>
Noor Hashem
11/16/2022, 5:13 AM<https://github.com/ApplyBoard/platform_monorepo_ui/pull/4500/commits/8700f0d74b44d2af3d7c6d27e2f0e5dbec74b598>
Noor Hashem
11/16/2022, 5:13 AMBeth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Noor Hashem
11/16/2022, 5:15 AMBeth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Noor Hashem
11/16/2022, 5:18 AMtesting_pactflow_webhooks_flow
I am going to try and use the full git hash just in case that is causing any issueBeth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Noor Hashem
11/16/2022, 5:20 AM/commits
instead of /commit
so now i get back the actual commitBeth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Noor Hashem
11/16/2022, 5:22 AMNoor Hashem
11/16/2022, 5:22 AMBeth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Noor Hashem
11/16/2022, 5:25 AMNoor Hashem
11/16/2022, 5:26 AMNoor Hashem
11/16/2022, 5:40 AMNoor Hashem
11/16/2022, 5:40 AMNoor Hashem
11/16/2022, 5:41 AMBeth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Noor Hashem
11/16/2022, 5:50 AMBeth (pactflow.io/Pact Broker/pact-ruby)
Noor Hashem
11/29/2022, 5:23 PMBeth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Noor Hashem
11/30/2022, 2:20 PMBeth (pactflow.io/Pact Broker/pact-ruby)