20 Commits

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
Evan Smith
8668d901d8
Make buffer for the cleanup reaper configurable (#3308) 2023-04-04 15:23:08 +01:00
kit101
fab2899a2b Datadog add the tag of 'remote:gitee' 2021-12-27 08:44:19 +08:00
TP Honey
2904b6f599 (fix) remove unused jwt-go library 2021-08-31 16:10:34 +01:00
Brad Rydzewski
6b8abc32bf update login / register screens 2021-05-13 13:51:22 -04:00
Brad Rydzewski
e44aae58b4 metrics sink update 2021-05-04 19:11:57 -04:00
Brad Rydzewski
1fa3daca29 remove deprecated schedulers 2021-01-20 16:29:40 -05:00
Brad Rydzewski
840f58dc7f re-assign repository ownership when user deleted or deactivated 2020-06-08 14:32:28 -04:00
Bradley Rydzewski
5e31db25cb enable reaper routine by default 2020-06-04 22:15:30 -04:00
Brad Rydzewski
0b4e5156ae option to auto-cancel pending builds 2019-10-01 23:28:57 -07:00
Brad Rydzewski
4572cc8ddd check organization membership when authorizing orgsecret access 2019-09-29 13:51:56 -07:00
Brad Rydzewski
d60054c459 increase size of stage name column 2019-09-23 16:46:20 -07:00
Brad Rydzewski
aaa02ba1a0 added build link endpoint with redirect 2019-09-20 17:08:25 -07:00
Vytautas Maciulskis
6e338b4a8b DRONE_REPOSITORY_TRUSTED env variable added:
This environment variable will allow to make repositories trusted, when enabling them in drone by default
It is recommended to use `DRONE_REPOSITORY_TRUSTED=true` only in scenarios, where you are running drone master and drone agents for single trusted organization
2019-09-12 09:46:07 +03:00
JordanSussman
4ae206d812 feat(repo): allow internal project visibility by default' 2019-09-10 22:16:19 -05:00
Brad Rydzewski
6558d53de2 enable legacy token mapper 2019-06-06 13:27:38 -07:00
Brad Rydzewski
16707c4bdb ability to set cookie secure flag, closes #2671 2019-04-19 12:32:35 -07:00
Brad Rydzewski
ff8f29df53 audit headers 2019-03-13 14:47:47 -07:00
Brad Rydzewski
cfa4aa5672 added datadog sink 2019-03-04 23:16:53 -08:00
Brad Rydzewski
5b6a3d8ff4 squash and merge local branch 2019-02-19 15:56:41 -08:00