drone/service
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
..
canceler Make buffer for the cleanup reaper configurable (#3308) 2023-04-04 15:23:08 +01:00
commit fixes issue where case statement for bitbucket cloud logic was never getting into (#3147) 2021-09-23 08:47:47 +01:00
content Fix various typos 2021-06-10 08:19:00 +05:45
hook fix: [CI-11840]: Added env variable to control the event of inbound w… (#3508) 2024-05-07 16:35:06 +01:00
license unmarshal repos from raw json message 2021-07-02 15:39:34 -04:00
linker added endpoints for deep links 2019-09-20 18:17:32 -07:00
netrc Feat: implemented gitee client (#3156) 2021-11-25 15:35:02 +00:00
org check organization membership when authorizing orgsecret access 2019-09-29 13:51:56 -07:00
redisdb (feat) drone h/a: wrapped scheduler's signal func with redis mutex 2021-08-31 15:59:24 +02:00
repo ignore nil repos in list and add better debugging 2022-03-14 12:17:55 +00:00
status Enhance status check label for promotions (#3263) 2022-11-22 10:10:34 +00:00
syncer clean up debug code 2022-03-14 13:22:54 +00:00
token fix incorrect file headers [ci skip] 2019-09-10 18:38:35 -07:00
transfer re-assign repository ownership when user deleted or deactivated 2020-06-08 14:32:28 -04:00
user check remote system when creating user 2019-09-28 14:27:37 -07:00