Commit graph

133 commits

Author SHA1 Message Date
Brad Rydzewski
e123e10fbd added amberc to make deps 2014-06-12 13:03:40 -07:00
Brad Rydzewski
68aea12538 added go.rice to make deps 2014-06-12 13:01:11 -07:00
Brad Rydzewski
3966eb7f9a show dependencies in verbose mode. ensure go gettable binaries are in path 2014-06-12 12:55:57 -07:00
Brad
7abe695a5c hooked the build queue back up 2014-06-11 17:42:49 -07:00
Brad
ce44ddfeca pushing my local branch 2014-06-04 14:25:38 -07:00
Ke Zhu
d0628bbe7b support publishing to npm 2014-05-04 16:06:18 -04:00
Nurahmadie
d61e1d7df7 Update Makefile and .drone.yml
Use better versioning when build and make use
godep to link drone with vendored dependencies.
2014-04-10 18:33:54 +00:00
Nurahmadie
aac0a8830f Merge branch 'mgt' into mt 2014-04-10 17:02:41 +00:00
Nurahmadie
1736716baa Migration tests for mysql
invoke:
    export DB_ENV=mysql
    export MYSQL_LOGIN='root:psswd@/'
    go test -v github.com/drone/drone/pkg/database/migrate/testing
2014-04-10 16:59:06 +00:00
Alex Suraci
10c97e5c61 vendor all dependencies with Godep
Vendored go.rice manually as a submodule. This is so that Godep picks up its
dependencies as well, so that the entirety of Drone's dependencies are
vendored in, and Drone can be built without an internet connection.
2014-04-05 14:13:28 -07:00
Nurahmadie
5724298c6b A workaround to use fudanchii/raw-request branch without changing the import path.
At least until https://github.com/plouc/go-gitlab-client/pull/8
accepted or Drone officially fork it to `drone/go-gitlab` or
when we have package management which can do something like this:

gom 'github.com/plouc/go-gitlab-client',
  :github => 'fudanchii/go-gitlab-client', :branch => 'raw-request'
2014-04-04 02:05:54 +00:00
Nurahmadie
ea4917e278 Fix Bitbucket merging conflict 2014-03-29 06:49:44 +00:00
Brad Rydzewski
7184da9ca4 added revision number to drone binary, per issue #230 2014-03-28 12:36:38 -07:00
Nurahmadie
deb2c79c2f Stub for gitlab integration 2014-03-27 18:19:36 +07:00
Rafael Garcia
a07f37fbf3 Makefile: enable running individual tests
e.g. `make github.com/drone/drone/pkg/database/migrate`

also add targets that don't correspond to files or directories to .PHONY
2014-03-26 14:03:19 -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
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
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
Brad Rydzewski
78483f8b13 temporarily instructing makefile to ignore exit value of dpkg 2014-02-26 14:23:25 -07:00
Nurahmadie
20bf390dc2 Enable deployment via ssh 2014-02-23 20:19:00 +07:00
Jordan Evans
25749802ac add irc notify plugin
It is based on github.com/fluffle/goirc
2014-02-21 16:10:04 -08:00
Brad Rydzewski
85e60e4ee2 Merge pull request #75 from floatdrop/github-enterprise-support
GitHub Enterprise Support
2014-02-17 21:38:28 -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
37fea25974 fixed Makefile issue with missing $ 2014-02-17 20:47:12 -07:00
Brad Rydzewski
9380f83c47 updated make deps to use go's bleeding edge archive package 2014-02-17 20:36:00 -07:00
Vsevolod Strukchinsky
7208d95a76 Added GitHubApiUrl and GitHubDomain to settings and template 2014-02-16 11:45:14 +06:00
Brad Rydzewski
43e5164426 make run now puts db in pwd, not /tmp. got sick of starting from scratch 2014-02-15 18:57:34 -07:00
Nurahmadie
4ef0f1b437 Integrate migrations with drone.
Also add migration to tests.
2014-02-16 03:47:30 +07:00
Nurahmadie
fbbdba3514 Add default configuration file for droned.
Also mark configuration file as conffiles.
2014-02-09 00:11:51 +00:00
Brad Rydzewski
d5e5797934 initial public commit 2014-02-07 03:10:01 -07:00