Commit graph

149 commits

Author SHA1 Message Date
Joachim Hill-Grannec c413565521 adding the ability to set the RSA key as a string value on drone startup instead of a file that has to be mounted. 2017-02-01 13:41:45 -08:00
Manuel Rüger a1055b278e Fix typo in help 2017-01-20 14:05:57 +01:00
Brad Rydzewski def995b164 use yaml parameter to restrict local plugin execution 2017-01-20 14:16:15 +07:00
Brad Rydzewski 1f0261a72a promote secret interpolation 2017-01-20 11:12:30 +07:00
Veg (Martin Wellard) eb7e79e887 Propagate errors from NewClientTokenTLS back to caller. 2017-01-18 10:26:46 -05:00
Bo-Yi Wu d1ac862623 feat: support multiple yaml transform extensions 2017-01-13 15:53:13 +08:00
Brad Rydzewski 846a906834 initial support yaml transform extensions 2017-01-12 09:42:43 +04:00
Brad Rydzewski 877619d97e Merge pull request #1865 from patrickjahns/feature/cli_chown
add command line feature for chown api endpoint
2016-11-20 22:48:53 +01:00
Patrick Jahns f4df9cbc73 add command line feature for chown api endpoint 2016-11-20 21:34:06 +01:00
Brad Rydzewski eee4fd1fd2 Increase default timeout to 15min for log inactivity [ci skip] 2016-11-19 16:27:12 +01:00
leiiwang 965347e9d5 Update server.go
typo
2016-11-18 09:45:23 +08:00
Brad Rydzewski 17e5eb5036 Merge pull request #1858 from donny-dont/feature/secret-concealer
Feature/secret concealer
2016-11-17 19:24:57 +01:00
Brad Rydzewski a2301bc06b Merge pull request #1845 from zweizeichen/patch-1
Fixed grammar [ci skip]
2016-11-17 18:58:24 +01:00
Brad Rydzewski 5fe84bd8e8 Merge pull request #1853 from gillesdemey/fix/server-trailing-slash
fixes trailing slash on DRONE_SERVER env variable
2016-11-17 18:57:01 +01:00
Don 9eee1c158a Revert "Implement secrets concealer in build logs"
This reverts commit 5377c62844.
2016-11-16 17:08:25 -08:00
Don 8d63f8c271 Add conceal option to CLI secrets 2016-11-16 11:30:35 -08:00
Gilles De Mey 27ee06a53b fixes trailing slash on DRONE_SERVER env variable 2016-11-12 20:13:52 +01:00
Brad Rydzewski 5bac61dc4b Merge pull request #1851 from bradrydzewski/feature/mq
ability to enable broker debugging
2016-11-11 09:53:11 +00:00
Brad Rydzewski 775c7e67ea ability to enable broker debugging 2016-11-11 09:48:01 +00:00
Sebastian a6361c358e Fixed grammar 2016-11-05 13:57:45 +01:00
Vladislav Vlastovskiy ba5f1d5154 Add space in log message 2016-10-28 00:57:41 +03:00
Vladislav Vlastovskiy 5c3701e321 Fix missed placeholder in log message 2016-10-28 00:53:38 +03:00
Vaidas Jablonskis 5377c62844 Implement secrets concealer in build logs 2016-10-25 21:23:37 +01:00
Brad Rydzewski 58f84ced84 Merge pull request #1825 from donny-dont/feature/global_secrets
Implementing global secrets
2016-10-25 00:03:20 +02:00
Don 0852424cfe Implementing global secrets 2016-10-20 11:23:12 -07:00
Brad Rydzewski 76b0286b68 update agent logs 2016-09-29 17:45:13 -04:00
Brad Rydzewski 778971eb68 removed unused packages 2016-09-27 20:30:28 -05:00
Brad Rydzewski 584ec88b07 add platform field and selector capabilities 2016-09-27 20:16:46 -05:00
Brad Rydzewski 6f44450ef8 initial sort of working mq integration 2016-09-27 19:33:13 -05:00
Brad Rydzewski 0b2f1c8e51 integrates drone/mq into agent 2016-09-26 03:29:05 -05:00
Brad Rydzewski f2c1d46f9e queue integrated with server, but not agent 2016-09-26 00:39:28 -05:00
Sandro Santilli 0a07ae65ef Typo in privileged plugins listing 2016-09-10 01:16:06 +02:00
Brad Rydzewski 7791cebf6b Merge pull request #1762 from appleboy/patch-6 [CI SKIP]
fix go coding style by gofmt.
2016-08-30 20:30:55 -07:00
Thomas Boerger a4076e00ff
Correct arg length checks 2016-08-15 00:02:11 +02:00
Bo-Yi Wu 21430d2ecd fix go coding style by gofmt.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-08-14 12:25:45 +08:00
Joachim Hill-Grannec c884a9f210 Seems like folks keep adding a trailing / to the DRONE_SERVER env. This should remove it if it exists and not worry if it doesn't 2016-08-12 17:04:42 -07:00
Trevor Hartman 358243ed07 Add support for "drone build start foo/bar last"
This starts the build on the default branch
2016-08-11 17:04:25 -06:00
Brad Rydzewski abaa02efa2 Merge pull request #1737 from tboerger/feature/org-secrets
Organization/Team secrets
2016-08-09 20:01:37 -07:00
John Chadwick f2b418e9dd Expose GitHub machine user options. 2016-08-01 13:54:47 -04:00
Thomas Boerger 225d1c8288
Integrated org secret commands 2016-07-31 23:25:10 +02:00
Brad Rydzewski d5c8ab248b Merge pull request #1735 from vaijab/restart-params
Add custom build parameters to build re-start / deploy
2016-07-27 17:18:01 -07:00
Vaidas Jablonskis 7170cd6758 Add custom build parameters support to build re-start and deploy 2016-07-27 22:33:14 +01:00
Fabio Rapposelli 46dba4377c
Run matrix as default when running docker exec 2016-07-27 17:51:45 +02:00
Vaidas Jablonskis c6b9466370 Fix cli args typo
This was preventing from using --github-secret while env var worked.
2016-07-21 20:17:54 +01:00
Brad Rydzewski 88df2520c8 gracefully shutdown agent when builds running 2016-07-18 00:06:34 -07:00
Brad Rydzewski e573d66b91 remove unstable acknowledgements 2016-07-13 12:00:07 -07:00
Cole R Lawrence 6802913dc0 Rename secert_add.go to secret_add.go 2016-07-10 16:26:42 -05:00
Thomas Boerger 41af9c0720
Integrated initial command to list secrets
Since we are not able to list the already set secrets I have added the
required API andpoint and the required sub command to list them.
2016-06-28 00:20:01 +02:00
Fabio Rapposelli f9f90af793
Add --secrets-file option to exec command 2016-06-17 12:02:53 +02:00
mirrorZ 4384121586 Invoke repoAdd on repo add command 2016-06-08 15:38:07 +09:00
Fabio Rapposelli 837446825d
Add modifiable context for Github status API 2016-05-27 20:22:32 +02:00
Brad Rydzewski 0bab3771bc Merge pull request #1657 from bradrydzewski/master
ability to provide secret to agent and generate token
2016-05-23 19:03:50 -07:00
Brad Rydzewski 5b1748aafd ability to provide secret to agent and generate token 2016-05-23 18:47:44 -07:00
Brad Rydzewski c220466b21 Merge pull request #1654 from bradrydzewski/master
agents stream logs using websockets
2016-05-23 14:45:28 -07:00
Brad Rydzewski 5456f13e9c ability to stream logs using websockets 2016-05-23 14:35:58 -07:00
Brad Rydzewski de1853159b Merge pull request #1644 from bradrydzewski/master
fix issue with incorrect build status environment variable
2016-05-13 11:55:35 -07:00
Brad Rydzewski 5c9a22a58b fix issue with incorrect build status environment variable 2016-05-13 09:56:58 -07:00
Brad Rydzewski a607f881ab Merge pull request #1641 from bradrydzewski/master
bump version number, auto-pull new plugins, process http_proxy vars
2016-05-12 22:40:52 -07:00
Brad Rydzewski a6e9c215ec bump version number, auto-pull new plugins, process http_proxy vars 2016-05-12 22:14:33 -07:00
Brad Rydzewski 00dc944bb2 Merge pull request #1640 from bradrydzewski/master
ability to limit log size, defaults to 5mb
2016-05-12 13:57:55 -07:00
Brad Rydzewski 56b6eb1b0c ability to limit log size, defaults to 5mb 2016-05-12 13:24:51 -07:00
Brad Rydzewski 45bf0f7242 Merge pull request #1636 from bradrydzewski/master
CLI commands for listing agents, queue items
2016-05-11 21:29:19 -07:00
Brad Rydzewski f217b40f9a CLI commands for listing agents, queue items 2016-05-11 18:43:24 -07:00
Brad Rydzewski a53eb9322e Merge pull request #1635 from bradrydzewski/master
ability for agent to ping central drone server
2016-05-11 17:53:29 -07:00
Brad Rydzewski 752ce496d5 added code for agent to ping central drone server 2016-05-11 14:37:56 -07:00
Brad Rydzewski 540f95630e Merge pull request #1628 from bradrydzewski/master
added query, endpoint, cmd to list builds in queue
2016-05-10 22:26:49 -07:00
Brad Rydzewski 447741b840 added query, endpoint, cli for build queue items 2016-05-10 22:19:45 -07:00
Brad Rydzewski 2aa82a3e68 Merge pull request #1622 from compressed/sqite
fix(typo): sqite3 -> sqlite3
2016-05-10 19:42:12 -07:00
Brad Rydzewski b35adcd739 Merge pull request #1625 from bradrydzewski/master
refactored build runner, enables drone exec command
2016-05-10 17:22:26 -07:00
Brad Rydzewski 850c00dbba drone exec and drone agent now share code 2016-05-10 17:03:24 -07:00
Brad Rydzewski 8f467ff5ca abstracted build execution to /agent package and hooked up to drone exec 2016-05-10 15:04:19 -07:00
Brad Rydzewski 3d05659134 simplify build engine for reliability 2016-05-09 22:57:57 -07:00
Brad Rydzewski 0befdf034b improve yaml parsing and interpreter 2016-05-08 00:01:45 -07:00
Christopher Brickley bcb0325bb6 fix(typo): sqite3 -> sqlite3 2016-05-07 20:29:31 -04:00
Brad Rydzewski 105a693b57 Merge pull request #1621 from bradrydzewski/master
migrate almost all CLI commands to core
2016-05-06 12:06:18 -07:00
Brad Rydzewski 254f826bca remove referene to external package 2016-05-06 12:01:09 -07:00
Brad Rydzewski c07e8f1520 migrate almost all CLI commands to core 2016-05-06 10:59:36 -07:00
Brad Rydzewski 81a53daf72 Merge pull request #1615 from bradrydzewski/master
Migrate yaml to 0.5
2016-05-04 00:20:54 -07:00
Brad Rydzewski 1d508fb792 fix drone agent issue 2016-05-03 23:36:23 -07:00
Brad Rydzewski abeb9bc3c6 Merge pull request #1608 from bradrydzewski/master
refactoring github package to increase test coverage
2016-05-02 17:58:29 -07:00
Brad Rydzewski f930545410 refactoring github package to increase test coverage 2016-05-02 17:47:58 -07:00
Brad Rydzewski d88d3421ee Merge pull request #1606 from mujiburger/typo
TYPO: plguins != plugins
2016-05-02 13:35:40 -07:00
Brad Rydzewski 0fb4aeda3f bump to 0.5 in master 2016-05-02 12:21:25 -07:00
bo fd7b004e12 TYPO: plguins != plugins 2016-05-02 13:22:04 -04:00
Brad Rydzewski 53eac09f34 added org and open registration 2016-05-01 17:33:22 -07:00
Brad Rydzewski ebd547deac refactoring remotes to remove deprecated variables, adding tests 2016-05-01 16:30:00 -07:00
Brad Rydzewski 082570fb5b refactoring input and configuration 2016-04-29 12:39:56 -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 ef9b32378b bump version 2016-04-28 12:12:47 -07:00
Brad Rydzewski 2b7f46de08 included more plugin inputs 2016-04-25 09:41:53 -07:00
Brad Rydzewski 6fffa7af26 removed deprecated cli variable 2016-04-23 13:59:54 -07:00
Brad Rydzewski f9eda30f3e write netrc file in build images 2016-04-23 13:51:12 -07:00
Brad Rydzewski f3709922b3 added code to manage secrets 2016-04-23 04:27:28 -07:00
Brad Rydzewski 34c3c92ec3 created custom stream implementation 2016-04-22 17:35:32 -07:00
Brad Rydzewski 5ca35c4c63 re-attempt pushing updates from agent on failure 2016-04-21 18:05:54 -07:00
Brad Rydzewski faf7ff675d use new .drone.sig signature file 2016-04-21 17:10:19 -07:00
Brad Rydzewski 6529e095a8 enables cloning private repos 2016-04-21 01:18:20 -07:00
Brad Rydzewski bcc768b157 fully functioning build using 0.5 agents 2016-04-21 00:25:30 -07:00
Brad Rydzewski b5823d20ff chunk the yaml into sections 2016-04-19 18:37:53 -07:00