Commit graph

3882 commits

Author SHA1 Message Date
guessi
d53f845480 fix(bug): build failed with tag "oss"
```
cmd/drone-server/inject_store.go:63:19: too many arguments in call to db.Connect

    have (string, string, int)
    want (string, string)
```

introduced by https://github.com/drone/drone/pull/3089

Signed-off-by: guessi <guessi@gmail.com>
2021-06-28 22:43:35 +08:00
Brad Rydzewski
1e1ab2d04d Merge remote-tracking branch 'origin/master' 2021-06-23 19:02:38 -04:00
Brad Rydzewski
1a61cb85ab prevent repository list short circuit in UI [DRON-87] 2021-06-23 19:02:17 -04:00
Eoin McAfee
b69d01bab1
Merge pull request #3097 from drone/eoinmcafee00-patch-1
remove deprecated steps
2021-06-23 14:52:26 +01:00
Eoin McAfee
9b42d5ddae
remove deprecated steps 2021-06-22 16:33:40 +01:00
Eoin McAfee
0c53e7d161
Merge pull request #3072 from tphoney/add_steps_fields
(feat) adding depends_on, image and detached fields to step
2021-06-22 14:25:09 +01:00
tphoney
8fe5a54b59 (feat) adding depends_on, image and detached fields to step 2021-06-22 13:57:04 +01:00
Eoin McAfee
0d750b1b9a
Merge pull request #3082 from tkushnir/add-build-debug
Add ctx.build.debug boolean
2021-06-22 10:23:30 +01:00
Marko Gaćeša
4f78da023a
Merge pull request #3084 from Al2Klimov/jsonnet-0.17
Bump github.com/google/go-jsonnet to v0.17.0
2021-06-22 11:22:45 +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
TP Honey
096443883b
Merge pull request #3096 from drone/drone84
bump go-scm v1.15.1
2021-06-17 12:41:49 +01:00
Eoin McAfee
79ddd384c1 bump go-scm v1.15.1 2021-06-17 12:31:31 +01:00
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
Timofei Kushnir
1c04be5916 Add ctx.build.debug boolean 2021-06-17 07:06:10 +03: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
Phil Davis
c7e03b6251
Fix various typos 2021-06-10 08:19:00 +05:45
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
Alexander A. Klimov
6e67007844 Bump github.com/google/go-jsonnet to v0.17.0
... to allow std.objectValues().
2021-05-30 12:47:16 +02:00