Commit Graph

58 Commits (dummy-branch)

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
Max Knee 94bcb869dc
Enable http metrics (#3459)
Adding config option to enable http metrics

---------

Signed-off-by: Max Knee <max.knee@nytimes.com>
2024-04-24 15:40:32 +01:00
zigler zhang 78dc8573a3 + sync gitea redirecturl config from gitee for customize login redirect url 2023-05-14 15:00:55 +08:00
Evan Smith 8668d901d8
Make buffer for the cleanup reaper configurable (#3308) 2023-04-04 15:23:08 +01:00
Andrii Kasparevych 7a8c7e1d24
Make starlark size limit configurable (#3291) 2022-12-06 09:38:55 +00:00
kit101 a7bd561970
update discourse.drone.io to community.harness.io (#3261) 2022-09-13 11:08:08 +01:00
Brad Rydzewski 1de855eb61 remove default from DRONE_CONVERT_MULTI 2022-03-17 16:12:53 -07:00
Brad Rydzewski 62f1086680 feature flag to allow multiple conversion extensions 2022-03-17 14:51:48 -07:00
kit101 fab2899a2b Datadog add the tag of 'remote:gitee' 2021-12-27 08:44:19 +08:00
kit101 2b77d96600
Feat: implemented gitee client (#3156)
* Feature: implemented gitee client

implemented gitee client

* update Gitee struct

* inject netrc.Password when driver is gitee

* auto genarate gitee redirectURL

* update go-login and go-scm
2021-11-25 15:35:02 +00:00
Harri Avellan d50e89d411
Allow jsonnet imports in pipeline configuration (#3105) 2021-09-21 09:37:12 +01:00
TP Honey fcf9f8d246
Merge pull request #3129 from tphoney/DRON-119
(fix) remove unused jwt-go library
2021-09-08 17:18:31 +01:00
TP Honey 814bbc267d (fix) trim http/s prefixes from config hostnames 2021-09-07 13:35:58 +01:00
Phil Davis 8c24225240
Make starlark step limit configurable (#3134)
Define environment variable DRONE_STARLARK_STEP_LIMIT to some number to
override the default value.
2021-09-03 11:35:44 +01:00
TP Honey 2904b6f599 (fix) remove unused jwt-go library 2021-08-31 16:10:34 +01:00
Marko Gaćeša cf7d30a7f6 added more redis config env vars 2021-08-11 16:25:50 +02:00
Marko Gaćeša 40d09839f7 pubsub: redis implementation 2021-07-22 15:03:57 +02:00
TP Honey 9159661212 (feat) maximum open DB connections is configurable 2021-06-08 11:10:42 +01:00
Brad Rydzewski 04ec418c44 support optional convert plugin cache size 2021-05-14 14:06:47 -04:00
Brad Rydzewski eaadd82a83 support for optional mixed-mode encryption 2021-05-04 18:59:03 -04:00
Brad Rydzewski 1fa3daca29 remove deprecated schedulers 2021-01-20 16:29:40 -05:00
Brad Rydzewski 276f984db3 enable simple starlark scripts in core 2020-11-20 08:56:47 -05:00
Brad Rydzewski 1cdeb5f84d fix timeout conflict 2020-09-15 17:38:32 -04:00
Brad Rydzewski b5a401be56 enable caching of remote config requests 2020-09-15 17:28:45 -04:00
Doug Simmons 677d7cc2f7 Add configurable timeout for config, convert, and validate plugins
Also run 'go fmt' on changed files
2020-08-28 12:04:08 -07:00
Bradley Rydzewski 5e31db25cb enable reaper routine by default 2020-06-04 22:15:30 -04:00
Brad Rydzewski 73c84aec0c enable experimental private mode flag 2020-03-26 13:38:57 -07:00
Oleksii Kursov b63c11cb3b Add default labels to all Nomad Drone Controller jobs on creation 2020-01-09 13:49:29 -08:00
Brad Rydzewski c42273084f add optional pprof endpoints 2019-12-29 17:59:42 -08:00
Brad Rydzewski 45a3181f50 use major version in image name 2019-12-13 08:14:10 -08:00
Brad Rydzewski fa0ebede19 use new batch alogorithm by default, fixes #2658 2019-10-03 14:34:36 -07:00
Brad Rydzewski 20fa5b9a00 add feature flag for experimental batcher 2019-09-23 16:54:04 -07:00
Brad Rydzewski d60054c459 increase size of stage name column 2019-09-23 16:46:20 -07:00
Brad Rydzewski 976ae70229 enable the admission controller 2019-09-18 22:52:13 -07:00
Brad Rydzewski 6283b20972 support for convert plugin extension 2019-09-17 12:18:35 -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 870e967ee8 added support for rollback 2019-09-03 21:11:49 -07:00
Brad Rydzewski d9b529f2f6 added support for convert plugins 2019-09-02 23:05:30 -07:00
Robert Lippens 11a7729db9
configure azure blob storage for drone 2019-08-13 21:12:39 -07:00
Brad Rydzewski 801212a923 improve error when malformed port 2019-07-29 19:55:25 -07:00
Brad Rydzewski 443b369b91 ability to limit webhook delivery by event and action 2019-07-28 12:22:16 -07:00
Brad Rydzewski 6558d53de2 enable legacy token mapper 2019-06-06 13:27:38 -07:00
Jan Berktold e483fa505c Add DRONE_PROMETHEUS_ANONYMOUS_ACCESS configuration option 2019-04-24 23:57:38 +02:00
Brad Rydzewski 16707c4bdb ability to set cookie secure flag, closes #2671 2019-04-19 12:32:35 -07:00
Matti Ranta 236286ee14
Merge branch 'master' into gitea-oauth 2019-04-12 10:14:16 -04:00
Brad Rydzewski 316217a81d bump version [CI SKIP] 2019-03-19 16:17:40 -07:00
techknowlogick dd0795bb1c
Merge branch 'master' into gitea-oauth 2019-03-13 22:01:12 -04:00
Brad Rydzewski 5013cfa993 enable basic jsonnet in process 2019-03-13 16:12:54 -07:00
techknowlogick 39df2ffbad
Update config.go 2019-03-13 18:27:21 -04:00