Commit Graph

137 Commits (fix-go-revert)

Author SHA1 Message Date
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
ShobhitSingh11 e1fc66e077
fix: [CI-8780]: Added new API for decline build to avoid race condition (#3499) 2024-04-16 10:28:08 +01:00
Max Knee 3c37646f3a
add http prometheus metrics (#3432)
This will add metrics to http endpoints to measure latency and to see if
other parts of infra are working

This will close #2421

Signed-off-by: Max Knee <max.knee@nytimes.com>
2024-01-02 12:12:52 +00:00
dependabot-ci 8afff99731 (CI-8780) set approved stages to waiting, if they have stage dependencies 2023-08-17 15:30:48 +01:00
TP Honey 5075f84e2b
Merge pull request #3341 from filippopisano/feature/add-action-param-to-custom-build
Support arbitrary action value from parameter in query string
2023-08-09 11:34:58 +01:00
cui fliter 60e453e139 remove repetitive words
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-07-27 17:30:39 +08:00
Filippo Pisano bbc6cee45a Added support to action parameter in query string for custom builds 2023-07-26 18:00:35 +02:00
zc bafaa40ded
support custom pipeline message (#3294)
Signed-off-by: zc <zc2638@qq.com>
2023-04-28 14:56:13 +01:00
FSJ c7587fd3f0
Add endpoint for allowing admins to force rotate a user's token (#3272)
* Add endpoint for allowing admins to force rotate a user's token

* Finishing a missed test for user not found, and finished test for db update error
2022-10-26 13:13:01 +01:00
TP Honey eb26c8bce7 (dron-267) correctly set parent for promotion retry 2022-05-09 11:11:54 +01:00
Michelangelo f889ae8eb0
Add tag filter when call build list endpoint (#3173)
* Add tag filter when call build list endpoint

* Add unit test
2022-01-11 11:03:41 +00:00
Eoin McAfee ee99e86b2c
removed redirect slashes and changed to stripslashses (#3170) 2021-12-17 14:36:36 +00:00
Eoin McAfee 8a27f0f0e8
refactor create / find / delete end points for cards (#3159)
* refactor create / find / delete end points for cards
2021-11-12 10:23:08 +00:00
Eoin McAfee df2da1c646
Feature/dron 101 cards 2 (#3158)
* refactor create / find / delete end points for cards
2021-10-26 08:10:01 +01:00
Brad Rydzewski 3c39e541bc
Merge pull request #3149 from drone/feature/dron-101-cards
Feature/dron 101 cards
2021-10-01 13:30:23 -04:00
Eoin McAfee a69573b0ff remove unused function 2021-10-01 16:48:56 +01:00
Eoin McAfee faacd81b79 rename mocks in test 2021-09-30 15:05:56 +01:00
Eoin McAfee 8815afed32 rename store functions to match go standards 2021-09-30 15:01:01 +01:00
Eoin McAfee 30a2c9a137 add public create end point 2021-09-29 16:22:04 +01:00
Eoin McAfee d530046e8f remove auth changes & tech qa changes: 2021-09-29 15:03:02 +01:00
TP Honey 2bf3c9ca98
(DRON-124) adding new status endpoint (#3143) 2021-09-29 10:33:46 +01:00
Eoin McAfee f3d192e899 regenerate mocks and fix broken tests 2021-09-28 10:55:27 +01:00
Eoin McAfee 85fd11c421 card api and db work to support new cards feature 2021-09-24 10:06:26 +01:00
zc 5426fb7b31
event-stream supports timeout (#3125)
* event-stream supports timeout
* Increaded timeout to 24 hours for events/build.go
* Increased timeout to 24 hours for events/global.go
* Increased timeout to 24 hours for events/logs.go
2021-08-31 17:45:07 +02:00
Eoin McAfee 352eff9062
add check on template extension type - throw error if invalid (#3128)
* add check on template extension type - throw error if invalid
2021-08-31 15:51:39 +01:00
Eoin McAfee b37cbd7771 revert repo change to visilbity 2021-08-27 11:05:07 +01: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
Eoin McAfee 00f65ec289 change error message for non member of organization to be forbidden instead of not found: 2021-08-20 10:44:50 +01:00
Eoin McAfee fe9ea60aad
update template create api to accept namespace (#3121)
* update template create api to accept namespace
* fixes issue were personal repos were not authorized on checkmembership
2021-08-19 16:19:51 +01:00
Marko Gaćeša ff70133341 added error as return value for pubsub.Subscribers() 2021-07-22 18:56:41 +02:00
Eoin McAfee d67c10eeb6
Merge pull request #3099 from drone/defect/dron-91-url-slashes
Add middleware function redirect slashes to fix trailing slash in url.
2021-07-01 16:54:26 +01:00
Eoin McAfee 914c3561cb fixing trailing slash in url bug 2021-07-01 10:12:54 +01:00
Marko Gaćeša a6f931e697
Merge branch 'master' into master 2021-06-29 11:21:05 +02:00
TP Honey 44f5cc2dbf
Merge pull request #3088 from phil-davis/typo-fixes
Fix various typos
2021-06-22 10:20:17 +01:00
Phil Davis c7e03b6251
Fix various typos 2021-06-10 08:19:00 +05:45
Eoin McAfee 1655fadc4a fixing oss build issue with new feature templates 2021-06-04 09:59:46 +01:00
Eoin McAfee 56fc7b8a2a group drone imports separately 2021-06-02 14:17:42 +01:00
Eoin McAfee 1173323cbf group drone imports separately 2021-06-02 14:11:18 +01:00
Eoin McAfee 1ebf5b7d43 revert change to page.go 2021-06-01 14:17:32 +01:00
Eoin McAfee 31867a9261 group imports 2021-06-01 10:29:58 +01:00
Eoin McAfee 88a5a8e796 Tech QA Feedback & add support for organization level templates 2021-05-28 16:59:00 +01:00
Eoin McAfee 8b7933c116 starlark converter & parser created and working. Unit tests add & some moving around/refactoring of plugins. 2021-05-27 14:58:23 +01:00
Eoin McAfee eb9a301a9e deleted all.go - not required & fixed issue where template if none found return null instead of empty list. 2021-05-21 13:31:06 +01:00
Eoin McAfee b63facdc62 added more unit tests, changed input for template data to byte array & fixed another issue with insert sql script not autoincrement 2021-05-20 16:02:38 +01:00
Eoin McAfee 2d84d48c3a Fixed issue with routing for templates. 2021-05-20 14:24:31 +01:00
Eoin McAfee a73c29eb47 Add unit tests for controllers & fix issue where api route was in the wrong location for template 2021-05-20 13:55:45 +01:00
Eoin McAfee a28d218285 Add unit tests for controllers & fix issue where api route was in the wrong location for template 2021-05-20 13:55:26 +01:00
Eoin McAfee 34bf7e9142 ran wire to generate DI for template store 2021-05-19 16:08:46 +01:00
Eoin McAfee 00b6d6e436 Initial api routes 2021-05-19 14:18:24 +01:00