Commit graph

121 commits

Author SHA1 Message Date
Brad Rydzewski
ccb28d0d74 commit embedded templates 2017-05-12 16:06:01 +02:00
Mikkel Oscar Lyderik Larsen
97946dad38
Order procs by proc_pid 2017-05-09 21:20:33 +02:00
Brad Rydzewski
3a64aa4cf2 simplify gating logic 2017-05-05 20:05:42 +02:00
Brad Rydzewski
4aac0bc4d6 re-use gated logic 2017-05-05 19:13:40 +02:00
Brad Rydzewski
4569b60f09 persist and compare yaml for gating 2017-05-05 18:59:37 +02:00
Brad Rydzewski
222bdd6854 setup queue service in main package 2017-05-04 02:02:08 +02:00
Brad Rydzewski
2f579e4b7d setup store in main() 2017-05-03 23:25:33 +02:00
Brad Rydzewski
e172de592f restore queue on restart 2017-04-14 13:32:36 +02:00
Brad Rydzewski
8348c858ba wip enable pluggable secret and registry backends 2017-04-11 19:06:45 +02:00
Brad Rydzewski
55d4ccd64e add registry management 2017-04-06 21:51:01 +09:00
Brad Rydzewski
76006d28ac restart build by clearing prior procs and logs 2017-04-04 19:50:15 +09:00
Brad Rydzewski
16a07e660a enable granular step data for matrix 2017-04-04 18:30:06 +09:00
Brad Rydzewski
0daee76aa8 use separate log table 2017-04-03 18:34:37 +09:00
Brad Rydzewski
ec88661d9e refactor job to proc 2017-04-02 23:13:26 +09:00
Brad Rydzewski
f090a2d34f fixed mysql ddl 2017-04-02 00:51:40 +09:00
Brad Rydzewski
6c11444de0 agent update build steps 2017-04-01 20:17:04 +09:00
Brad Rydzewski
aa3fc5123f enable postgres 2017-03-28 18:13:13 +09:00
Brad Rydzewski
c153db8c47 add pg and mysql database migrations 2017-03-28 17:57:57 +09:00
Brad Rydzewski
3118c07329 add proc and file structs 2017-03-28 17:53:06 +09:00
Brad Rydzewski
6246b32569 ability to customize yaml path 2017-03-19 16:44:57 +08:00
Brad Rydzewski
e319aaff15 add reviewer fields, endpoints 2017-03-18 16:49:27 +08:00
Brad Rydzewski
39bb69a27d fix mysql ddl build_error column 2017-03-13 23:30:41 +08:00
Brad Rydzewski
b4c4e92b5b handle compiler or lint error 2017-03-10 02:58:25 -08:00
Joachim Hill-Grannec
488ce878b3 Doesn’t need to check for SQLite again the the Progres list 2017-02-11 12:12:34 -08:00
Joachim Hill-Grannec
0699138c47 Merge branch 'master' into remove_size_limit 2017-02-04 19:58:51 -08:00
Joachim Hill-Grannec
e436db0862 temp fix to increase size on non SQLite db 2017-02-04 18:45:25 -08:00
Don
e77936f5c8 Implement backend for concealing secrets 2016-11-16 11:28:36 -08:00
Brad Rydzewski
8a463d8f0c Merge pull request #1807 from joshq00/fix-mariadb-max-key-length
Fix: key exceeds max on MariaDB (MySQL) [ci skip]
2016-10-24 23:59:04 +02:00
Brad Rydzewski
01945b1ae5 Merge pull request #1824 from donny-dont/feature/secret_skip_verify_model
Adding SkipVerify to Secrets
2016-10-20 01:53:24 +02:00
Don
dfcaa78e85 Adding SkipVerify to Secrets 2016-10-19 13:04:08 -07:00
Vaidas Jablonskis
284fca370e Add a reference to parent build on forks / deploys 2016-10-19 13:28:18 +01:00
Josh Quintana
67a88c5d13 Fix: (MySQL) key exceeds max on MariaDB
Fixes MariaDB `Specified key was too long; max key length is 767 bytes` error
2016-10-08 14:31:56 -04:00
Marius Grigoriu
d8d0e47d01 fix typo in toListPosgres 2016-10-06 12:18:45 -07:00
Marius Grigoriu
0ace6aefd6 remove size limit in toList 2016-10-06 12:18:45 -07:00
Marius Grigoriu
be0ee06019 remove size limit in toListPosgres to accomodate users with access to many repositories 2016-10-06 12:18:45 -07:00
Thomas Boerger
4d43195479
Moved merged secret list into store 2016-08-01 23:03:31 +02:00
Thomas Boerger
889b88d38f
Integrated store layer for org secrets 2016-07-31 23:25:10 +02:00
Thomas Boerger
1b84375db5
Added migrations for team_secrets 2016-07-31 23:25:10 +02:00
Thomas Boerger
2cfdf8b294
Always return an empty collection within feed 2016-07-10 21:52:56 +02:00
Sandro Santilli
bf65ac03d9 Do not run an SQL query to get info about no repos
Closes #1649
2016-07-06 15:02:36 +02:00
Brad Rydzewski
67ac073164 repo feed for latest build only 2016-06-14 17:34:47 -07:00
Brad Rydzewski
64785c8b47 update yaml for s3 upload 2016-05-26 11:08:48 -07:00
Brad Rydzewski
752ce496d5 added code for agent to ping central drone server 2016-05-11 14:37:56 -07:00
Brad Rydzewski
447741b840 added query, endpoint, cli for build queue items 2016-05-10 22:19:45 -07:00
Brad Rydzewski
e7aa94f875 store signature and verification in database 2016-05-10 18:48:02 -07:00
Brad Rydzewski
cf6bf0763b fix mysql syntax error 2016-05-10 17:17:12 -07:00
Brad Rydzewski
850c00dbba drone exec and drone agent now share code 2016-05-10 17:03:24 -07:00
Brad Rydzewski
90408f20a5 resolve admin error in database 2016-05-02 12:27:22 -07:00
Brad Rydzewski
ebd547deac refactoring remotes to remove deprecated variables, adding tests 2016-05-01 16:30:00 -07:00
Brad Rydzewski
4d4003a9a1 moved 0.5 out of feature flag, removed deprecated 0.4 code and features 2016-04-28 14:10:32 -07:00
Brad Rydzewski
f3709922b3 added code to manage secrets 2016-04-23 04:27:28 -07:00
Brad Rydzewski
9b306a1bc8 load all things via middleware 2016-04-12 13:08:17 -07:00
Ivan Koptiev
be09e91d9f Google Cloud SQL support
Fixes #1373, adds support for `innodb_large_prefix=off`.
2016-04-04 23:13:38 +03:00
Brad Rydzewski
a24a974437 fixed param binding issue with postgres 2016-03-31 12:17:01 -07:00
Brad Rydzewski
7ffa88cc09 ability to store per-repository secrets & sign yaml 2016-03-31 12:01:32 -07:00
Brad Rydzewski
d3c1ba1254 Merge pull request #1543 from MetalMatze/pr/gofmt
Use gofmt to fmt & simplify
2016-03-27 12:19:02 -07:00
Matthias Loibl
2de58d1f90 Use gofmt to fmt & simplify 2016-03-27 01:24:09 +01:00
Matthias Loibl
c039bc7a16 Fix misspellings in comments
Found by https://goreportcard.com/report/github.com/drone/drone
2016-03-27 01:14:00 +01:00
Brad Rydzewski
3c7b33de7b fixed issue w/ test database driver 2016-03-25 13:24:16 -07:00
Brad Rydzewski
688b29b639 backported 0.5 database restructure to 0.4.1 2016-03-25 12:54:16 -07:00
Brad Rydzewski
d9f49cb77a increase feed from 25 to 50 items
this is being implemented as a temporary workaround until I have time for pagination
2016-03-23 10:05:27 -07:00
Brad Rydzewski
43894050b5 cleanup the database on restart to remove stuck jobs 2015-12-13 01:00:03 -08:00
Brad Rydzewski
84a0ef1f89 fixed placeholder issue in listof query 2015-11-11 15:09:12 -08:00
Brad Rydzewski
f1022d045a ddl statements should use IF NOT EXISTS 2015-11-11 10:23:44 -08:00
Brad Rydzewski
5e06cb093f fix for issue #919 2015-11-10 12:32:09 -08:00
Brad Rydzewski
377caf1b99 added an endpoint to fetch the last build for a given branch 2015-10-28 11:50:11 -07:00
Brad Rydzewski
810770388a fixed missing func error in datastore 2015-10-27 18:48:04 -07:00
Brad Rydzewski
4a0deff5a5 implements Stringer for store and remotes 2015-10-27 16:48:05 -07:00
Brad Rydzewski
22fc0e3bf8 improved database coverage, including feed coverage 2015-10-21 17:17:29 -07:00
Brad Rydzewski
2f071bb2cf re-enabled build feed 2015-10-21 16:39:43 -07:00
Brad Rydzewski
cfdfbcfd3b didn't realize gin supports net.Context. Change to support Context pattern! 2015-10-21 16:14:02 -07:00