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
Michelangelo
fa73a8531b
Enhance status check label for promotions ( #3263 )
...
* Better status check label for promotions
* slugify deployTo
2022-11-22 10:10:34 +00:00
Dan Wilson
dc6c94b7af
clean up debug code
2022-03-14 13:22:54 +00:00
Dan Wilson
80629d12fa
ignore nil repos in list and add better debugging
2022-03-14 12:17:55 +00:00
Eoin McAfee
7e757c4a3d
(feat) ignore archive repos on sync ( #3178 )
...
* (feat) ignore archive repos on sync
2022-01-10 10:49:37 +00:00
TP Honey
8de5eac502
(DRON-157) use deploy string in deployment
2021-12-08 11:59:51 +00: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
Eoin McAfee
c1a5f264c3
fixes issue where case statement for bitbucket cloud logic was never getting into ( #3147 )
2021-09-23 08:47:47 +01:00
Marko Gaćeša
0c422357a3
(feat) drone h/a: wrapped scheduler's signal func with redis mutex
2021-08-31 15:59:24 +02:00
Eoin McAfee
6076621ada
tech qa feedback, add test for update & fix issue with visiability & config
2021-08-27 10:36:33 +01:00
Eoin McAfee
9b86e80f5f
ability to cancel running builds if new commit is pushed
2021-08-26 17:21:00 +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
fb29636608
h/a stuff is !oss, simplified redis pubsub subscribe
2021-08-09 13:01:50 +02:00
Brad Rydzewski
4b7f52ad8a
unmarshal repos from raw json message
2021-07-02 15:39:34 -04:00
TP Honey
44f5cc2dbf
Merge pull request #3088 from phil-davis/typo-fixes
...
Fix various typos
2021-06-22 10:20:17 +01:00
Eoin McAfee
685e6766a7
fix issue with kicking off builds using bitbucket server
2021-06-17 11:17:04 +01:00
Phil Davis
c7e03b6251
Fix various typos
2021-06-10 08:19:00 +05:45
Marko Gaćeša
ea6566b059
fixed: graceful shutdown ( #3083 )
...
* fixed: graceful shutdown
* updated test for cron scheduler shutdown
2021-05-27 13:52:09 +01:00
Brad Rydzewski
ba172461f4
support for gitlab and github internal visibility
2020-12-18 13:59:16 -05:00
Brad Rydzewski
e52be087b4
remove remote license
2020-10-20 15:30:22 -04:00
Brad Rydzewski
ed8d93b5d3
unsupported webhook action should not return webhook error
2020-08-27 12:59:17 -04:00
Brad Rydzewski
a1a59c95b4
clarify build tags
2020-08-25 16:07:13 -04:00
Brad Rydzewski
840f58dc7f
re-assign repository ownership when user deleted or deactivated
2020-06-08 14:32:28 -04:00
Brad Rydzewski
cb039a0f7a
use multierror in reaper
2020-06-08 11:13:40 -04:00
Bradley Rydzewski
42f3fd621b
gracefully recover from unexpected reaper panic
2020-06-04 22:43:00 -04:00
Bradley Rydzewski
5e31db25cb
enable reaper routine by default
2020-06-04 22:15:30 -04:00
Bradley Rydzewski
4b5b66688d
added reaper to kill zombie builds
2020-06-04 21:18:55 -04:00
Bradley Rydzewski
a88f9d0743
added endpoints for branch summary
2020-03-13 13:27:07 -04:00
Brad Rydzewski
aead279caf
ignore gitlab surepositories
2020-02-27 14:09:56 -08:00
Michael Nicholls
119ef50471
Fix incorrect return value from toMap function
2020-01-30 23:03:48 +00:00
Brad Rydzewski
6bc5b01366
load license from env directly
2019-11-05 13:11:53 -08:00
Brad Rydzewski
4596e510f6
finalize support for auto-cancel
2019-10-02 08:23:56 -07:00
Brad Rydzewski
0b4e5156ae
option to auto-cancel pending builds
2019-10-01 23:28:57 -07:00
Brad Rydzewski
3fcbf1c78f
service to batch cancel pending builds
2019-10-01 22:51:23 -07:00
Brad Rydzewski
4572cc8ddd
check organization membership when authorizing orgsecret access
2019-09-29 13:51:56 -07:00
Brad Rydzewski
dce18f9afd
check remote system when creating user
2019-09-28 14:27:37 -07:00
Brad Rydzewski
5414bb75f7
improve bitbucket status display text
2019-09-25 12:12:52 -07:00
Brad Rydzewski
a3b7511d9c
added endpoints for deep links
2019-09-20 18:17:32 -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
04724b4d90
fix incorrect file headers [ci skip]
2019-09-10 18:38:35 -07:00
Brad Rydzewski
8627d2100a
improve syncer debugging with trace logging
2019-09-06 14:49:50 -07:00
Brad Rydzewski
e97b1e968b
support for cron event type
2019-09-03 19:25:18 -07:00
Brad Rydzewski
33bd477f71
added support for github deployment status
2019-08-26 12:26:09 -07:00
Brad Rydzewski
2e081efc69
change build tag
2019-08-21 16:30:41 -07:00
Brad Rydzewski
f8a312458f
bump scm, runtime and ui dependencies
2019-08-20 13:55:04 -07:00
Brad Rydzewski
1c87eba4ad
Merge pull request #2733 from ilanpillemer/master
...
bitbucket needs to get ref via branch, cant via heads
2019-07-29 21:19:41 -07:00
Brad Rydzewski
12f4df222b
Merge branch 'master' into drone-2685-process-action
2019-07-29 20:47:42 -07:00