drone/cmd/drone-server
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
..
bootstrap adde encrypt endpoint 2019-02-28 12:49:04 -08:00
config fix: [CI-11840]: Added env variable to control the event of inbound w… (#3508) 2024-05-07 16:35:06 +01:00
inject_client.go Added OAuth2 token refresher for Gitlab (#3215) 2022-06-14 10:46:35 +01:00
inject_external.go h/a stuff is !oss, simplified redis pubsub subscribe 2021-08-09 13:01:50 +02:00
inject_license.go squash and merge local branch 2019-02-19 15:56:41 -08:00
inject_login.go + sync gitea redirecturl config from gitee for customize login redirect url 2023-05-14 15:00:55 +08:00
inject_plugin.go Make starlark size limit configurable (#3291) 2022-12-06 09:38:55 +00:00
inject_runner.go remove deprecated schedulers 2021-01-20 16:29:40 -05:00
inject_scheduler.go h/a stuff is !oss, simplified redis pubsub subscribe 2021-08-09 13:01:50 +02:00
inject_server.go Enable http metrics (#3459) 2024-04-24 15:40:32 +01:00
inject_service.go fix: [CI-11840]: Added env variable to control the event of inbound w… (#3508) 2024-05-07 16:35:06 +01:00
inject_store.go card api and db work to support new cards feature 2021-09-24 10:06:26 +01:00
main.go enable reaper routine by default 2020-06-04 22:15:30 -04:00
wire.go added redis implemenatation for core.LogStream 2021-08-02 13:51:47 +02:00
wire_gen.go Enable http metrics (#3459) 2024-04-24 15:40:32 +01:00