Jesse Lang
453f415cc4
Validate DRONE_HOST to ensure it contains a scheme and not a trailing slash
2017-12-19 20:08:55 -06:00
Mark Spicer
8476c90bbf
Set the redirect handler for lets encrypt.
...
This commit sets the http handler to the redirect function for let's encrypt
enabled drone instances. In addition, the `Strict-Transport-Security` header is
added to the redirect given `header.Secure` will only be added for gin routes.
This commit resolves #2261 .
2017-11-15 23:27:57 -05:00
Mark Spicer
238e916fa0
Redirect HTTP to HTTPS when SSL is enabled.
...
In our current drone setup, we are not using a proxy, thus letting drone handle
SSL termination. In addition, we are not exposing port 80 (effectively disabling
insecure drone access). When new engineers join and attempt to access drone,
they are not sent a 301 and often complain that they either do not have access
or that drone is broken (when in reality they are just accessing drone via the
incorrect protocol/port).
This commit changes the default behavior when running drone with a server-cert
by only sending redirects on port 80 rather than allowing both secure and
insecure access.
2017-11-15 21:36:02 -05:00
Bo-Yi Wu
7c1b1c6d95
fix wrong filter variable.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-10-17 16:52:35 +08:00
Brad Rydzewski
ec6016062b
show loading status in user interface
2017-09-20 12:29:57 -07:00
Brad Rydzewski
ae51e9d1b9
force downgrade to http/1.1 because safari
2017-09-19 15:30:31 -07:00
Brad Rydzewski
8c7d48ebed
graceful shutdown on SIGTERM
2017-09-14 18:42:00 -07:00
Brad Rydzewski
2f2144c4bd
Merge remote-tracking branch 'origin/master'
2017-09-14 09:40:12 -07:00
Brad Rydzewski
63001a7c66
expose agent name to pipeline
2017-09-14 09:39:52 -07:00
Brad Rydzewski
bf454572f2
Merge pull request #2215 from bradrydzewski/master
...
add gitlab v3 option for backward compat
2017-09-14 07:57:53 -07:00
Brad Rydzewski
913d8701f2
add gitlab v3 option for backward compat
2017-09-14 07:50:07 -07:00
Matt Leung
820d07263b
Add server env var to specify .drone.yml location
...
Allow setting DRONE_REPO_CONFIG to override default location of .drone.yml
2017-09-12 17:06:12 -07:00
Brad Rydzewski
42b60bd822
more advanced health check logic
2017-09-12 13:40:24 -07:00
Brad Rydzewski
eca91f4ec7
provide a basic agent healthcheck
2017-09-12 11:25:55 -07:00
Brad Rydzewski
8795cf039f
reduce logfile upload limit
2017-09-12 09:03:32 -07:00
Brad Rydzewski
25c9b8050a
introduce limiter for planned refactoring
2017-09-11 10:22:45 -07:00
Matt Leung
b79dae403e
Let agent pass filter expression string for builds
...
Drone agent accepts DRONE_FILTER env var
2017-09-08 14:27:27 -07:00
Brad Rydzewski
e11dd116a2
Merge pull request #2155 from frebib/fix-repo-user
...
Fix extractRepositoryName() in agent logs
2017-08-23 15:44:10 -07:00
Joachim Hill-Grannec
c30198e412
Adding Environment variable to configure the session expiration
2017-08-17 12:50:31 -07:00
Joe Groocock
fbb9526a39
Fix extractRepositoryName() in agent logs
2017-08-10 15:55:58 +01:00
Brad Rydzewski
9a5c2d5481
structured agent logging
2017-08-03 15:36:22 -04:00
Brad Rydzewski
60cd607450
capture file metadata
2017-08-02 16:04:00 -04:00
Brad Rydzewski
241d994a26
abstract the user interface
2017-07-31 15:15:05 -04:00
Brad Rydzewski
99b10537ba
enable redirect for http to https when certs provided
2017-07-26 10:44:38 -04:00
Brad Rydzewski
5e735c2632
improve experimental quic setup
2017-07-24 21:46:00 -04:00
Brad Rydzewski
2c8dbef79f
implement quic server
2017-07-24 19:15:25 -04:00
Brad Rydzewski
07c82aa1c6
Merge remote-tracking branch 'origin'
2017-07-24 13:23:47 -04:00
Brad Rydzewski
39251a85a9
removed unused and broken packages
2017-07-24 13:23:22 -04:00
mingshun
eb94dc0419
Added integration for coding.net
2017-07-22 17:12:09 +08:00
Brad Rydzewski
eaa6d41699
pass agent hostname to all rpc calls
2017-07-20 12:21:15 -04:00
Brad Rydzewski
250b048b22
pass agent hostname to server and persist
2017-07-19 17:46:03 -04:00
Brad Rydzewski
35e0ee2e5f
implement sync logic
2017-07-14 15:58:38 -04:00
Brad Rydzewski
f7066473c1
require DRONE_HOST on startup
2017-07-12 14:48:56 -04:00
Brad Rydzewski
a625f06c1a
enable grpc auth
2017-06-29 19:35:38 -04:00
Brad Rydzewski
1a6920e822
separate agent and server binary
2017-06-29 18:51:22 -04:00
Brad Rydzewski
155576fb03
moved to single binary project structure
2015-09-29 17:53:21 -07:00
Dan Williams
0407297229
Make exiting edit back to repo view more efficent
2015-09-28 16:54:51 -04:00
Brad Rydzewski
8535ea44fd
generate token via the UI
2015-09-09 14:34:28 -07:00
Brad Rydzewski
cdfec98cf4
cleaned up the token implementation for #1175
2015-09-09 14:05:52 -07:00
Brad Rydzewski
af82f7aa2c
removed old, unused config package
2015-09-08 18:55:03 -07:00
Brad Rydzewski
2fcfd8100a
re-enable SSL
2015-09-08 14:19:39 -07:00
Brad Rydzewski
c53e7173aa
purging agent code from 0.4 ... out of scope for 0.4 release
2015-09-08 14:14:03 -07:00
Brad Rydzewski
008a16f7e7
removed drone-build to its owner repository, drone/drone-exec
2015-09-08 14:02:48 -07:00
Brad Rydzewski
5feac33f85
put yaml unmarshal after find/replace
2015-09-07 19:24:14 -07:00
Brad Rydzewski
5f802056e0
ability to encrypt the .drone.sec file
2015-09-07 15:33:55 -07:00
Brad Rydzewski
08b73384ac
fix links to secrets
2015-09-07 12:32:30 -07:00
Brad Rydzewski
b65d1cda97
support for .drone.sec file
2015-09-07 12:13:27 -07:00
Brad Rydzewski
dbf0fa6ee0
consistent use of the _url in REST API
2015-09-03 17:21:08 -07:00
Brad Rydzewski
b1150ce6fb
Merge remote-tracking branch 'upstream/0.4.0' into 0.4.0
2015-09-02 16:14:58 -07:00
Brad Rydzewski
98a6c14331
prepping for new drone-exec build agent
2015-09-02 16:14:25 -07:00
Kirilll Zaitsev
654dd31cbd
Move gitlab routes to gitlab group
2015-09-02 05:19:11 +03:00
Kirilll Zaitsev
6854d1343e
Additional fixes
2015-08-30 01:18:45 +03:00
Kirill Zaitsev
fd98e26575
GitLab service interface
2015-08-30 00:33:41 +03:00
Thomas Boerger
2577b6cda2
Integrated logout button into the UI
2015-08-27 09:48:57 +02:00
Chengwei Yang
ceacbdd4fe
Fix default docker host configuration
...
Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
2015-08-26 16:49:08 +08:00
Brad Rydzewski
b264e837fe
build runner now in charge of timeout
2015-08-21 15:30:32 -07:00
Brad Rydzewski
bf1b9d2d8a
use exit status 130 when canceling a build
2015-08-21 00:06:10 -07:00
Brad Rydzewski
50d3ea8e00
trap SIGINT and cleanup containers
2015-08-20 18:31:54 -07:00
Brad Rydzewski
943fafb67e
hide UI things when user not authenticated
2015-08-20 17:43:44 -07:00
Brad Rydzewski
1b8a00f5f6
always check for new plugins, until we have an update strategy
2015-08-20 15:54:23 -07:00
Brad Rydzewski
e31b53f688
temporarily disable caching for public repos until we understand more
2015-08-19 15:54:29 -07:00
Brad Rydzewski
0c4c5d81a9
disable cache for public repo pull requests (for now)
2015-08-19 15:49:27 -07:00
Brad Rydzewski
b3f4cfccda
setup error when workspace path not exists
2015-08-19 12:39:16 -07:00
Brad Rydzewski
164c0c6a8e
move clone path calc due to panic
2015-08-19 12:38:08 -07:00
Brad Rydzewski
aeee201796
Merge pull request #1149 from donny-dont/features/git-checkout-specified
...
Adding support for setting the workspace directly in the config
2015-08-19 10:38:24 -07:00
Brad Rydzewski
06ef899c26
initial implementation and endpoint for #1145
2015-08-18 23:59:30 -07:00
Don Olmstead
b7635ec844
Fixing build and formatting issues
2015-08-18 18:29:01 -07:00
Don Olmstead
6b0f24cc11
Adding support for setting the workspace directly in the config
2015-08-18 17:34:04 -07:00
Brad Rydzewski
1cc2e3d4d6
add feed endpoint for wall
2015-08-18 16:09:27 -07:00
Brad Rydzewski
046f71ac06
Merge pull request #1142 from donny-dont/features/add-caching
...
Adding caching
2015-08-18 10:17:23 -07:00
Don Olmstead
d27788e4b4
Adding caching into the build. Fixing style issues
2015-08-17 16:25:08 -07:00
Brad Rydzewski
f191d130a3
some style for the restart button
2015-08-13 08:44:06 -07:00
Brad Rydzewski
f6078a4b71
fixed many minor UI bugs
2015-08-12 23:56:05 -07:00
Brad Rydzewski
d34cd6e5e9
ability to package 0.4 (.deb only at the moment)
2015-08-11 23:57:12 -07:00
Brad Rydzewski
25c905c7ed
fixed issue w/ double-loading controllers
2015-08-10 22:33:51 -07:00
Brad Rydzewski
c62ca29469
format jobs and include exist code, duration, etc
2015-08-10 22:17:58 -07:00
Brad Rydzewski
194f7dd6ca
make status icons 32px for consistency
2015-08-10 00:58:48 -07:00
Brad Rydzewski
daa29edbc6
added overall build status to header
2015-08-10 00:29:04 -07:00
Brad Rydzewski
c1d18b65bb
mark active job in list
2015-08-09 20:52:08 -07:00
Brad Rydzewski
819fa9db87
status icons, animated running icon
2015-08-09 20:18:21 -07:00
Brad Rydzewski
c6b9d09602
added alpine build image
2015-08-09 15:36:25 -07:00
Brad Rydzewski
9a70cb5ab4
slowing improving install process
2015-08-06 15:53:39 -07:00
Brad Rydzewski
e28930f997
adding flag package to deps
2015-08-06 09:22:31 -07:00
Brad Rydzewski
0b98eb4186
improving database & remote setup
2015-08-06 08:54:47 -07:00
Don Olmstead
c80e42287d
Removing TOML config references
2015-08-04 11:21:20 -07:00
Brad Rydzewski
90baef95e7
removed un-used config flag
2015-08-03 22:51:08 -07:00
Brad Rydzewski
653cb0e7a7
added avatar to repository
2015-08-03 00:10:43 -07:00
Brad Rydzewski
a3b6759cf9
persist avatar_url instead of gravatar_id
2015-08-02 23:50:08 -07:00
Brad Rydzewski
0c68b116ab
tweak login page
2015-08-02 23:19:59 -07:00
Brad Rydzewski
79bf71b03b
fixed config prefix, hookup build output
2015-08-02 23:02:44 -07:00
Brad Rydzewski
12cf89f8b3
order users by login
2015-07-30 00:00:17 -07:00
Brad Rydzewski
734cfd25b7
remove flicker of blankslate on repo page
2015-07-29 23:50:01 -07:00
Brad Rydzewski
18d7f7b241
more styling
2015-07-29 23:45:06 -07:00
Brad Rydzewski
647831bc85
continued styling
2015-07-29 19:51:55 -07:00
Brad Rydzewski
f1a9058191
updating styles
2015-07-29 09:16:08 -07:00
Kirill Zaitsev
f889a29482
More fixes for gitlab
2015-07-26 15:32:49 +03:00
letusfly85
51351d9a9d
add gitlab imp
2015-07-25 18:59:49 +09:00
Kirill Zaitsev
ae0d9ecc39
New driver load/register system, fixed config and returned DefaultURL for GetUserEmail method
2015-07-24 22:44:02 +03:00
Kirill Zaitsev
2966d294fe
Start working on specs implementation
2015-07-24 01:25:01 +03:00
Brad Rydzewski
8b54d51e04
Merge pull request #1096 from simonoff/0.4-database-assets-refactoring
...
Assets refactoring
2015-07-14 14:12:35 -04:00
Alexander Simonov
13b1ab9fd0
Build steps fix
2015-07-14 00:13:44 +03:00
Alexander Simonov
63408147b2
Builds UI fixes
2015-07-14 00:13:43 +03:00
Alexander Simonov
229e88a438
Little refactoring of all assets. JS code better identing.
2015-07-14 00:13:43 +03:00
Alexander Simonov
78a30c8d59
Starting imlemeting sharing and new google icons
2015-07-14 00:13:43 +03:00
Brad Rydzewski
c2755f5c00
fixed compile issues with builder
2015-07-13 00:11:33 -07:00
Alexander Simonov
44ec2c3064
Fix database connection
2015-07-12 01:07:14 +03:00
Brad Rydzewski
3b63d83d03
document repository API methods
2015-06-23 11:35:21 -07:00
Brad Rydzewski
5ec17e9172
migrating most of angular app to new data structure
2015-06-22 22:36:50 -07:00
Brad Rydzewski
e6cb22f190
migration to discussed data model in #1066
2015-06-22 20:45:08 -07:00
Brad Rydzewski
564e029c17
refactor task to job
2015-06-18 17:36:52 -07:00
Brad Rydzewski
dc0e714992
loading database via driver
2015-06-14 23:26:49 -07:00
Brad Rydzewski
c59d02a64c
switch to alpine linux container as ambassador so that we re-use layers
2015-06-08 09:09:09 -07:00
Brad Rydzewski
70a9a588ba
refactor to enable multiple builtin remote plugins
2015-06-07 19:48:36 -07:00
Brad Rydzewski
f76dcb1171
enforce plugin whitelist for notifications
2015-06-07 17:26:25 -07:00
Brad Rydzewski
906bbe9cc5
enforce plugin whitelist
2015-06-07 17:04:57 -07:00
Brad Rydzewski
362eea3b16
switch to /bin/sh instead of /bin/bash for portability
2015-06-06 14:00:36 -07:00
Brad Rydzewski
a169bec6dc
on display matrix params if exists
2015-06-01 23:00:27 -07:00
Brad Rydzewski
0b28ed0f9a
minor styling updates. better but not finished
2015-06-01 22:09:31 -07:00
Brad Rydzewski
bddd426ea9
itermediary page to list sub-builds in matrix before output
2015-05-31 23:00:43 -07:00
Brad Rydzewski
c0a72de557
Merge remote-tracking branch 'upstream/0.4.0' into 0.4.0
2015-05-31 13:20:18 -07:00
Brad Rydzewski
c8852f4032
added header to private variable page
2015-05-31 12:38:38 -07:00
Ben Schumacher
42896b3711
Replace pkg/settings with pkg/config
2015-05-29 23:00:01 -06:00
Brad Rydzewski
0d33d93e35
fixed missing favicon link
2015-05-28 22:45:29 -07:00
Brad Rydzewski
2c1e4f3612
added style to sub-build page
2015-05-28 22:08:29 -07:00
Brad Rydzewski
33b4a02787
more density on env var page
2015-05-28 15:31:02 -07:00
Brad Rydzewski
6a18db02af
user management screen somewhat styled
2015-05-28 15:18:16 -07:00
Brad Rydzewski
0207929d49
some hacky inline css to make the env section look not terrible
2015-05-28 11:31:10 -07:00
Brad Rydzewski
910a6a6594
remove chevron from non-settings rows
2015-05-27 23:20:38 -07:00
Brad Rydzewski
3bc5dea947
added styling to delete page, split environment vars to separate page
2015-05-27 23:10:04 -07:00
Brad Rydzewski
dfb7b885af
moved delete to separate page
2015-05-26 23:59:57 -07:00
Brad Rydzewski
d36af9f646
auto save when repo form data is changed
2015-05-26 23:25:47 -07:00
Brad Rydzewski
eede3b1613
improved styling for range slider, repo page
2015-05-26 22:58:48 -07:00
Brad Rydzewski
a3784a2589
fixed login error style
2015-05-26 13:44:44 -07:00
Brad Rydzewski
35d604659a
moved to Godep with path rewrite
2015-05-22 11:37:40 -07:00
Brad Rydzewski
52c62d4c70
fixed some but not all responsive issues
2015-05-21 23:04:08 -07:00
Brad Rydzewski
d0930f42cf
fixed styling
2015-05-21 17:00:31 -07:00
Brad Rydzewski
65ef905455
incorporate pass / fail icon on dashboard
2015-05-21 01:49:41 -07:00
Brad Rydzewski
3447596776
fixed font-size issue
2015-05-21 01:29:09 -07:00
Brad Rydzewski
e9e9124570
console output has border indicating build state
2015-05-21 01:24:42 -07:00
Brad Rydzewski
27e3fe3e41
fix build table overlfow on smaller screen size
2015-05-21 01:02:23 -07:00
Brad Rydzewski
34ce9b8f76
style for repository page (no status yet)
2015-05-21 00:59:16 -07:00
Brad Rydzewski
548db95602
fixed pending vs running status
2015-05-21 00:09:15 -07:00
Brad Rydzewski
b562924ced
base styling for the build page and others
2015-05-21 00:08:33 -07:00
Brad Rydzewski
8419424c38
working on updated style
2015-05-20 19:23:55 -07:00
Brad Rydzewski
46989c05f0
lint trusted vs untrusted plugins
2015-05-19 23:22:31 -07:00
Brad Rydzewski
8c655d600d
provides a way to white-list plugins at a global config level
2015-05-19 23:19:59 -07:00
Brad Rydzewski
f3c06a8fc3
global environment parameters
2015-05-19 21:22:31 -07:00
Ben Schumacher
01649db5a5
Remove agent management UI
2015-05-19 16:34:56 -06:00
Ben Schumacher
8d5910862e
Log error when ListenAndServe fails
2015-05-19 15:27:42 -06:00
Brad Rydzewski
87f0efaeab
fixed failing test. removed unused /incorrect plugin package
2015-05-18 23:20:12 -07:00
Brad Rydzewski
245b668b3f
hide output when job pending
2015-05-18 21:59:58 -07:00
Brad Rydzewski
e09f02db9e
remote agent now working and tested
2015-05-18 21:53:34 -07:00
Brad Rydzewski
7aedd78015
remote agent can now pull builds and push results
2015-05-18 20:44:44 -07:00
Brad Rydzewski
88d0cdbaf0
code re-enables build agents. needs to be more thoroughly tested
2015-05-18 15:47:13 -07:00
Brad Rydzewski
d55d28436b
adding code for a drone build agent
2015-05-18 10:05:58 -07:00
Brad Rydzewski
a14d21f5b9
improved streaming w/ websocket. potential for auto re-connect, resume
2015-05-17 23:07:10 -07:00
Brad Rydzewski
73ed4f08d5
moved to central copy function
2015-05-17 19:25:53 -07:00
Brad Rydzewski
eedfbaf202
removed and ignore bindata file
2015-05-17 14:42:21 -07:00
Brad Rydzewski
30eed8723d
moved all remaining files under designated structure
2015-05-17 14:25:04 -07:00
Brad Rydzewski
e3f0a39761
moving more data under pkg dir
2015-05-17 13:51:42 -07:00
Brad Rydzewski
f6b0c0cd9c
fix failed unit test caused by restructuring
2015-05-17 11:48:02 -07:00
Brad Rydzewski
64663e9742
fixed some build issues
2015-05-16 17:46:29 -07:00
Brad Rydzewski
e66bb6bace
enable trusted builds to do their thing
2015-05-15 19:41:22 -07:00
Brad Rydzewski
35c66c7b76
fixing many, many issues
2015-05-15 19:35:33 -07:00
Brad Rydzewski
6414d4e21e
fixed some issues with container downloads
2015-05-15 16:24:10 -07:00
Brad Rydzewski
d66becd12c
fixed some minor bugs in build
2015-05-15 14:55:26 -07:00
Brad Rydzewski
ed0719c624
fixed builder panic
2015-05-12 20:30:36 -07:00
Brad Rydzewski
9fef3a23d2
still a wip. container that is launched to run a build
2015-05-12 18:32:46 -07:00
Brad Rydzewski
46b3d9daae
moved cmd to cli folder
2014-09-24 21:24:12 -07:00
Brad Rydzewski
1dec169812
fixed restart client
2014-08-14 12:36:04 -07:00
Brad Rydzewski
1e2cb13e7c
added drone status
command to query latest build for a repo from cli
2014-08-12 22:14:25 -07:00
Brad Rydzewski
88c15ecc8e
added drone repos
command to list repositories via cli
2014-08-12 21:53:25 -07:00
Brad Rydzewski
c4c7b8e006
more work on the command line utility
2014-08-09 16:51:08 -07:00
Brad Rydzewski
e08be916f1
remove bash completion
2014-08-07 22:29:32 -07:00
Brad Rydzewski
1888a6e5b7
moved drone build
to cmd folder
2014-08-07 22:22:04 -07:00
Brad
ce44ddfeca
pushing my local branch
2014-06-04 14:25:38 -07:00
Brad Rydzewski
40fe430581
Merge pull request #334 from Linuturk/simpletypo
...
Typo in Comments: serce => serve
2014-06-02 13:22:53 -07:00
Justin Phelps
2d1e25cfb9
serce => serve
2014-06-02 15:14:44 -05:00
Martin Charles
21c9507068
Refactored Less StyleSheets
...
* started using less's shortucts
* removed vendor prefixes fron less file; use autoprefixer instead
* fixed spacing
* renamed all 0 values to 0
* converted all comments to silent comments
2014-05-29 17:17:37 -04:00
Michael Nutt
fbdb330d5c
add rebuild button for users who have admin access to the repo
2014-05-22 23:52:03 -04:00
Brad Rydzewski
7d897f0282
Merge pull request #280 from jrit/upstream
...
Set the width on user dashboard commit-summary
2014-04-21 11:47:14 -07:00
Jarrett WIdman
f6a15d33d8
set the width on user dashboard commit-summary so text is not unneccesarily cut off
2014-04-21 10:58:46 -05:00
Simon Menke
0c6c0dfbbc
Split Github and Bitbucket hook handlers
...
See #2 #232
2014-04-17 09:55:23 +02:00
Alexandre Butynski
37fe04c014
Apply input text style to email inputs
2014-04-14 18:28:11 +02:00
Brad Rydzewski
0c9a765956
Merge pull request #237 from fudanchii/gitlab
...
Gitlab integration support
2014-04-04 18:05:24 -07:00
Michael Nutt
efb5d4e0cf
Merge remote-tracking branch 'drone/master' into fail-pending-on-startup
...
Conflicts:
cmd/droned/drone.go
2014-04-01 15:32:43 -04:00
Nurahmadie
0d44a20c63
Fix gitlab account re-link
2014-03-31 06:53:47 +00:00
Nurahmadie
e2a45df3b8
Add initial hook handler
2014-03-30 16:26:53 +00:00
Nurahmadie
ea4917e278
Fix Bitbucket merging conflict
2014-03-29 06:49:44 +00:00
Nurahmadie
43c0a54718
Initial Gitlab Support
2014-03-29 06:37:50 +00:00
Brad Rydzewski
e2831f3d7a
Merge pull request #232 from soundrop/feature/bitbucket-integration
...
Add Bitbucket integration
2014-03-28 14:16:25 -07:00
Brad Rydzewski
7184da9ca4
added revision number to drone
binary, per issue #230
2014-03-28 12:36:38 -07:00
Ali Sabil
8f4f747c86
Add Bitbucket integration
2014-03-28 19:40:26 +01:00
Nurahmadie
deb2c79c2f
Stub for gitlab integration
2014-03-27 18:19:36 +07:00
Brad Rydzewski
fe1f2666f3
Merge pull request #171 from fudanchii/migration
...
[RFC] database refactorization
2014-03-25 12:45:30 -07:00
Michael Nutt
138beeeb45
also fail pending builds on startup
2014-03-24 00:21:33 -04:00
Michael Nutt
635b73a811
mark all previously started builds as failed on startup
2014-03-24 00:11:13 -04:00
Mohit Gupta
2b90f0a180
set num of workers using command line params
2014-03-21 11:22:05 -07:00
Alex Suraci
fc3715e50b
add --privileged to drone build command
...
Signed-off-by: Alex Suraci <asuraci@pivotallabs.com>
2014-03-19 13:09:15 -07:00
Brad Rydzewski
7d52a4c4df
Revert "query and show commits by branch"
...
This reverts commit 2d837cc3db
.
2014-03-16 23:08:53 -07:00
Brad Rydzewski
5c848d647a
Merge pull request #179 from arturhoo/feature/svg-badges
...
Use SVG badges instead of PNG
2014-03-16 22:33:53 -07:00
Alex Suraci
2d837cc3db
query and show commits by branch
...
This allows the same SHA to have different builds on different branches, each
separately viewable. This is useful for expressing a "pipeline" in terms of
branches, e.g. a commit starts on branch A and progress through B and C to
master, with the build script switching on branch name.
Previously viewing each build would arbitrarily choose which branch's commit
to show.
2014-03-14 12:13:34 -07:00
Artur Rodrigues
25e80e2b44
Serve the corrent badge in droned's routes
2014-03-11 16:02:39 -03:00
Nurahmadie
6a42686c29
Remove unused -path
2014-03-10 07:49:01 +07:00
Brad Rydzewski
265138c758
fixed bug related to #163
2014-03-08 17:21:06 -07:00
Nurahmadie
28fef9e3f4
Returns error if driver name is not listed.
...
Also remove references to postgresql driver for now.
And add some comments for `database.Init` method.
2014-03-08 18:12:43 +07:00
Nurahmadie
51519b62dd
Actually use --driver option to set database driver for drone.
...
This includes refactoring database setup, and migration system.
Remove setupDatabase from main and use `Init` method from database
package.
At database package, defines Init method which actually initiate
database with options given from comand line flag. I think `--path`
wont be used anywhere so I plan to remove it later.
Both meddler and migration initiated here, then we call `Set` method
to setup all the tables, etc. Here I think I want to separate database
schema and turn it into migration script instead, later maybe.
At migration package I made some tweak to `Operation` interface.
Realized that it's ludicrous to let migration driver re-implement `Exec`
and `Query`, I made migration script to receive The whole
migrationDriver struct which contains both Operation implementor, and
the Tx itself. This made possible thanks to Go struct being able to
promote its member, now our migration is more transparent.
There's also stub implementation for bot mysql and postgresql, will
implement this really soon.
2014-03-08 12:19:28 +07:00
Brad Rydzewski
68ff4aa2d1
fixing issue related to local cache name, see issue #163
2014-03-07 11:42:42 -07:00
Brad
8767edd37a
updating main.js
2014-03-04 10:52:04 -08:00
Brad Rydzewski
791f7b0652
Merge pull request #153 from movableink/js-in-external-files
...
JS in external files
2014-03-04 10:27:40 -08:00
Brad
18d5421706
a bit of prep-work for adding caching
2014-03-02 22:35:01 -08:00
Michael Nutt
f468203e23
add jasmine specs for javascript
2014-03-02 02:08:30 -05:00
Michael Nutt
b2965bf432
extract commit update js into a separate file
2014-03-02 00:43:20 -05:00
Brad Rydzewski
092b7c919b
added git revision to the binary for debugging purposes
2014-03-01 20:46:10 -07:00
Martin Bruse
bc2043d4cf
instead of doing magic on scroll events, move the button to the bottom of the stdout pre.
2014-02-27 12:04:51 +00:00
Martin Bruse
0c9a9f6d63
added a button to turn auto tail on/off
2014-02-27 10:28:24 +00:00
Brad Rydzewski
3a59e44a4c
fixed issue #136
2014-02-26 14:20:47 -07:00
Brad Rydzewski
9161b2ad57
Merge remote-tracking branch 'origin/master'
2014-02-26 00:29:40 -07:00
Alex Suraci
4df9207771
fix missed NewRunner rename
2014-02-25 23:13:35 -08:00
Brad Rydzewski
8f12bd8f80
fixed code wrapping on the build output page
2014-02-26 00:07:50 -07:00
Alex Suraci
9e1c4e60e5
remove docker/queue singletons; inject in main
2014-02-25 17:10:04 -08:00
Brad Rydzewski
c0adf459f9
Merge pull request #125 from vito/injectable-builder
...
Injectable builder (and friends)
2014-02-25 15:42:37 -08:00
Mark Wolfe
a3f617abad
Added flags for supplying certificate/key and TLS listener option.
2014-02-25 23:54:08 +11:00
Alex Suraci
acc51e83fd
inject docker client into Builder
...
Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
2014-02-24 17:02:57 -08:00
Alex Suraci
fc01782554
add constructor for Builder
...
this makes it easier to track required dependencies as they change
(todo: actually, like, use it for required dependencies)
2014-02-24 16:45:01 -08:00
Brad Rydzewski
7ce1e55ac3
Merge pull request #83 from fudanchii/migration
...
Migration system for sqlite
2014-02-17 20:46:13 -08:00
Brad Rydzewski
a699e6ef09
Merge remote-tracking branch 'origin/master'
2014-02-15 18:23:32 -07:00
Nurahmadie
4ef0f1b437
Integrate migrations with drone.
...
Also add migration to tests.
2014-02-16 03:47:30 +07:00
Brad Rydzewski
26c9fb0cc3
fix for #70 to prevent caching build images
2014-02-14 13:24:12 -07:00
Vsevolod Strukchinsky
6937b7b21e
Open invitation setting
...
Closes #64
2014-02-14 10:53:22 +06:00
Brad Rydzewski
901d48ee82
Merge remote-tracking branch 'origin/master'
2014-02-12 12:23:19 -07:00
Brad Rydzewski
28fda64326
workaround for #51
2014-02-12 12:22:56 -07:00
Brad Rydzewski
0a8ef525e9
fix for issue #51
2014-02-12 12:15:59 -07:00
yosssi
08fdbc8c56
Fixed the overflow of the url when adding an admin user or a team
...
member.
2014-02-12 10:48:37 +09:00
Damian Gryski
4e9c822ce8
Two small issues found by 'go vet'
2014-02-10 12:49:12 +01:00
Brad Rydzewski
bac4d2c3b2
fixed minor style issue on build output page
2014-02-07 03:30:55 -07:00
Brad Rydzewski
d5e5797934
initial public commit
2014-02-07 03:10:01 -07:00