Commit Graph

14 Commits (fix-test-failure-14)

Author SHA1 Message Date
ShobhitSingh11 87381af2ac
fix: [CI-11840]: Added env variable to control the event of inbound w… (#3508)
Have added the env var "DRONE_INCOMING_WEBHOOK_EVENTS" (of type list of
string) to control the event in case of incoming webhook. If no such env
variable is provided then it will fallback to default behaviour. Below
are the test cases


- Case 1: When no env variable "DRONE_INCOMING_WEBHOOK_EVENTS" is
present.


https://github.com/harness/gitness/assets/139750384/ad228d61-2608-4756-abaa-b3397eba1fb7

-  Case 2: When Deployment event is missing from env var.


https://github.com/harness/gitness/assets/139750384/0faf2afc-9e0b-42f1-9327-8dc674ed112d

- Case 3: When Deployment, pull_request events are missing from env var.


https://github.com/harness/gitness/assets/139750384/29f40107-4b7a-4eae-afa8-464d78662e8b

- Case 4: When Deployment and push events are only present in env var.


https://github.com/harness/gitness/assets/139750384/b6cdec79-20bb-4d56-8fd0-f72cb9e57a8e


Tested with few more combinations as well.
2024-05-07 16:35:06 +01:00
Phil Davis c7e03b6251
Fix various typos 2021-06-10 08:19:00 +05:45
Brad Rydzewski ed8d93b5d3 unsupported webhook action should not return webhook error 2020-08-27 12:59:17 -04:00
Bradley Rydzewski a88f9d0743 added endpoints for branch summary 2020-03-13 13:27:07 -04:00
Michael Nicholls 119ef50471 Fix incorrect return value from toMap function 2020-01-30 23:03:48 +00:00
Brad Rydzewski 33bd477f71 added support for github deployment status 2019-08-26 12:26:09 -07:00
Brad Rydzewski 12f4df222b
Merge branch 'master' into drone-2685-process-action 2019-07-29 20:47:42 -07:00
Brad Rydzewski 4b1972b22a support for github pr base sha 2019-07-18 17:56:06 -07:00
Lucian Jones e51ef216f3 pass through the true webhook action when parsing 2019-06-25 14:49:54 +12:00
Brad Rydzewski 6a43a8dbe4 bump drone-yaml to support actions 2019-06-16 23:51:30 -07:00
徐扬 49bbaf4a11 fix some typos 2019-04-16 11:05:46 +08:00
Brad Rydzewski db7f0cdffb enable deploy events 2019-02-20 15:15:29 -08:00
Brad Rydzewski 6621f4c7f7 wip enable CE 2019-02-20 10:34:26 -08:00
Brad Rydzewski 5b6a3d8ff4 squash and merge local branch 2019-02-19 15:56:41 -08:00