Commit graph

3813 commits

Author SHA1 Message Date
TP Honey
0ec6dd988f
Merge pull request #3092 from drone/defect/bitbucket-server-build-issue
Defect/bitbucket server build issue
2021-06-17 11:26:34 +01:00
Eoin McAfee
685e6766a7 fix issue with kicking off builds using bitbucket server 2021-06-17 11:17:04 +01:00
TP Honey
5c2aedc694
Merge pull request #3095 from drone/defect/template-not-found-handling
handle error properly if template doesn't exist in the db
2021-06-17 10:48:57 +01:00
TP Honey
4dc03b5f4d
Merge pull request #3093 from drone/graceful-shutdown-timeout
Limit graceful shutdown duration
2021-06-17 10:23:25 +01:00
Eoin McAfee
6b30b185f2
Task/update scm version (#3091)
* bump go-scm to 1.9.0
2021-06-17 10:22:26 +01:00
Eoin McAfee
9a763682f9 handle error properly if template doesn't exist in the db 2021-06-17 10:19:51 +01:00
Marko Gaćeša
0fa03b03e0 Limit graceful shutdown duration 2021-06-16 18:40:28 +02:00
Brad Rydzewski
1093154331 bump user interface 2021-06-15 22:40:21 -04:00
Brad Rydzewski
0b13008baf bump ui version 2021-06-15 20:36:11 -04:00
Brad Rydzewski
e3f09c867d ignore skip directive for promote and rollback events 2021-06-15 15:56:59 -04:00
Brad Rydzewski
a3863f9395
Merge pull request #3089 from tphoney/DRON-56
(feat) maximum open DB connections is configurable
2021-06-08 11:11:41 -04:00
TP Honey
9159661212 (feat) maximum open DB connections is configurable 2021-06-08 11:10:42 +01:00
Brad Rydzewski
ca3ac612c5
Merge pull request #3087 from drone/feature/jsonnet-additional-params
Feature/jsonnet additional params
2021-06-07 14:51:50 -04:00
Brad Rydzewski
8151ecaae2
Merge pull request #3086 from drone/defect/oss-build-issue
Defect/oss build issue
2021-06-07 14:49:08 -04:00
Eoin McAfee
460df004a7 fix broken test - check build/repo object is not nil 2021-06-07 10:27:45 +01:00
Eoin McAfee
cfa3a20395 pass repo & build parameters into jsonet conversion 2021-06-04 16:01:14 +01:00
Eoin McAfee
9ca1091975 Merge branch 'master' of github.com:drone/drone into defect/oss-build-issue 2021-06-04 15:58:55 +01:00
Brad Rydzewski
ef168cd2a4
Merge pull request #3085 from drone/feature/templates-jsonnet
add jsonnet support for build templates
2021-06-04 10:36:01 -04:00
Eoin McAfee
1655fadc4a fixing oss build issue with new feature templates 2021-06-04 09:59:46 +01:00
Eoin McAfee
afb5e35d2e another import grouping change. 2021-06-03 14:20:28 +01:00
Eoin McAfee
6cec8b3ee0 tech qa refactor for looping through data inputs 2021-06-03 14:17:39 +01:00
Eoin McAfee
61356c4344 fix import groupings 2021-06-03 14:15:41 +01:00
Eoin McAfee
65e5edddc3 add jsonnet support for build templates 2021-06-03 14:06:57 +01:00
Brad Rydzewski
ba1a1c6135 hide login button if user already authed 2021-06-02 15:29:55 -04:00
Brad Rydzewski
7278dd61f9
Merge pull request #3081 from drone/feature/template-config
Feature/template config
2021-06-02 09:22:33 -04: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
68eaa6fb75 fix issue with mysql script - syntax error in script. 2021-06-02 12:20:58 +01:00
Eoin McAfee
9dc11200d7 Add unique and indexes to db scripts on namespace. Code refactor in conversion files & grouping drone imports 2021-06-02 11:59:39 +01:00
Eoin McAfee
a3a4e7494c Fix broken test caused by adding a new line to test file. 2021-06-01 16:29:14 +01:00
Eoin McAfee
a0b83140fe Add line space at end of test files 2021-06-01 14:23:06 +01:00
Eoin McAfee
1ebf5b7d43 revert change to page.go 2021-06-01 14:17:32 +01:00
Eoin McAfee
cb75a7383b revert back starlark converter name 2021-06-01 14:14:23 +01:00
Eoin McAfee
31867a9261 group imports 2021-06-01 10:29:58 +01:00
Eoin McAfee
3b4d528ee9 updated mock file 2021-06-01 09:54:28 +01:00
Eoin McAfee
88a5a8e796 Tech QA Feedback & add support for organization level templates 2021-05-28 16:59:00 +01:00
Eoin McAfee
a7ef135403 Small bug fix - renaming converter back to template 2021-05-27 15:18:21 +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
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
TP Honey
f274fe6704 version 2.0.1 release prep [CI SKIP] 2021-05-25 17:39:31 +01:00
Brad Rydzewski
6c7559b84f
update changelog [CI SKIP] 2021-05-25 12:32:52 -04: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
953961ce1f Update inject store to include template 2021-05-19 16:16:38 +01:00
Eoin McAfee
34bf7e9142 ran wire to generate DI for template store 2021-05-19 16:08:46 +01:00
Eoin McAfee
4b0d9a1340 Fixed issue with template store. 2021-05-19 16:07:32 +01:00
Eoin McAfee
00b6d6e436 Initial api routes 2021-05-19 14:18:24 +01:00