Commit graph

590 commits

Author SHA1 Message Date
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