Brad Rydzewski
cc530301fe
drone exec should read secrets from env
2017-04-21 18:18:11 +02:00
Brad Rydzewski
a2440a0d46
update yaml for 0.6
2017-04-12 20:26:52 +02:00
Brad Rydzewski
6e735f28d8
ignore branch parse error
2017-03-16 19:00:56 +08:00
Brad Rydzewski
3631c4d4cd
added log dep
2016-09-29 17:48:17 -04:00
Brad Rydzewski
2bb47ed7cb
fix Makefile to pull drone/mq
2016-09-28 15:56:19 -04:00
Brad Rydzewski
a3d6aeeb97
fix how we copy the static binary to /release
2016-09-03 13:58:20 -05:00
Brad Rydzewski
5b88ee0124
Fix missing dir in makefile
2016-09-03 13:08:52 -05:00
Ivan Babrou
527d0cd5c2
Speedup local build iterations by reusing built packages
...
Before cold and hot runs are the same:
```
$ rm -rf $GOPATH/pkg
```
```
$ time make
go generate github.com/drone/drone/server/template
go generate github.com/drone/drone/store/datastore/ddl
go build --ldflags '-X github.com/drone/drone/version.VersionDev=' -o release/drone github.com/drone/drone/drone
real 0m43.638s
user 0m48.990s
sys 0m5.480s
```
```
$ time make
go generate github.com/drone/drone/server/template
go generate github.com/drone/drone/store/datastore/ddl
go build --ldflags '-X github.com/drone/drone/version.VersionDev=' -o release/drone github.com/drone/drone/drone
real 0m46.950s
user 0m49.506s
sys 0m6.086s
```
After hot builds are much faster:
```
$ rm -rf $GOPATH/pkg
```
```
$ rm -rf $GOPATH/pkg && time make
go generate github.com/drone/drone/server/template
go generate github.com/drone/drone/store/datastore/ddl
go install -ldflags '-X github.com/drone/drone/version.VersionDev=' github.com/drone/drone/drone
cp /Users/bobrik/projects/drone/bin/drone release/drone
real 0m44.735s
user 0m51.049s
sys 0m4.517s
```
```
$ time make
go generate github.com/drone/drone/server/template
go generate github.com/drone/drone/store/datastore/ddl
go install -ldflags '-X github.com/drone/drone/version.VersionDev=' github.com/drone/drone/drone
cp /Users/bobrik/projects/drone/bin/drone release/drone
real 0m3.364s
user 0m2.934s
sys 0m0.808s
```
2016-09-01 17:45:08 +01:00
Bo-Yi Wu
46dac1b9fc
remove missing target in Makefile.
2016-08-07 00:02:19 +08:00
Brad Rydzewski
4d1df2924c
replace UI with single page application ( #1704 )
2016-07-08 15:40:29 -07:00
Thomas Boerger
d239b27b40
Dropped directories from archive
...
Currently the archive gets created including the directories, so the
regular guide to just download and copy the binary doesn't work. With
that change I have dropped the folders from the archive and the Drone
binary gets directly into the toplevel of the archive.
2016-06-27 22:18:36 +02:00
Brad Rydzewski
c888fb3152
fix issue zipping windows binary
2016-05-26 11:49:16 -07:00
Brad Rydzewski
cfd5e076e8
Merge remote-tracking branch 'upstream/master'
...
# Conflicts:
# Makefile
2016-05-26 11:28:02 -07:00
Brad Rydzewski
62ec7311a4
generate sha files
2016-05-26 11:17:24 -07:00
Brad Rydzewski
64785c8b47
update yaml for s3 upload
2016-05-26 11:08:48 -07:00
Rayan Makhmutov
4eb805b527
Use whitespace + $(null) instead of whitespace + #
2016-05-13 08:30:02 +05:00
Rayan Makhmutov
5d2bd8070c
Fix Makefile build on OS X
2016-05-12 20:41:58 +05:00
Brad Rydzewski
e7aa94f875
store signature and verification in database
2016-05-10 18:48:02 -07:00
Brad Rydzewski
b5823d20ff
chunk the yaml into sections
2016-04-19 18:37:53 -07:00
Brad Rydzewski
a8c50005b0
ability to revoke user tokens
2016-04-08 17:16:45 -07:00
Brad Rydzewski
e64ec7cf88
removing deprecated files
2016-03-30 00:58:18 -07:00
Brad Rydzewski
f9bba48e19
move version to package
2016-03-30 00:48:47 -07:00
Brad Rydzewski
688b29b639
backported 0.5 database restructure to 0.4.1
2016-03-25 12:54:16 -07:00
Brad Rydzewski
6b69913d82
fix database unit tests in Makefile
2015-11-11 14:52:29 -08:00
Brad Rydzewski
a13ce5cb6f
correctly store build number in binary
2015-11-10 11:40:22 -08:00
Henrik Jonsson
8197942f69
Enable vendoring for github.com/go-swagger dependency
...
Building in a Docker container based on `golang` doesn't work at `427560a`: C.f 2d37d66e2d
2015-11-10 19:50:36 +01:00
Brad Rydzewski
2d37d66e2d
temporarioly GO15VENDOREXPERIMENT when go getting the swagger package
2015-11-05 19:26:25 -08:00
Brad Rydzewski
832ae41fc6
updated docs
2015-10-26 10:41:07 -07:00
Brad Rydzewski
3c8c330656
added command line utility docs
2015-10-25 15:18:16 -07:00
Brad Rydzewski
2f071bb2cf
re-enabled build feed
2015-10-21 16:39:43 -07:00
Brad Rydzewski
7f9ef94f47
unit testing postgres, mysql. temporary workaround for backticks
2015-10-20 00:08:09 -07:00
Brad Rydzewski
e3afea861b
log when error fetching repository
2015-10-14 12:48:46 -07:00
Brad Rydzewski
a7a1b1dfb7
cleaning up the middleware and adding caching with TTL
2015-10-13 02:08:08 -07:00
Brad Rydzewski
5ba7dad0dc
updated docs to not include drone javascript files when generated
2015-10-07 15:36:46 -07:00
Brad Rydzewski
cd86948cff
copy static assets to static directory in S3 for readme.drone.io
2015-10-07 14:41:30 -07:00
Brad Rydzewski
7ed0b393a6
specify drone 0.4 in docs
2015-10-07 14:29:52 -07:00
Brad Rydzewski
9b843a4e17
fixed issue in Makefile
2015-10-07 13:15:38 -07:00
Brad Rydzewski
0943117ad7
propogate HTTP_PROXY environment variables throuhgout build
2015-10-06 15:50:15 -07:00
Brad Rydzewski
acb27f4f1e
fix go get in makefile
2015-10-06 14:50:41 -07:00
Brad Rydzewski
9555f50215
initial commit to add doc generation as part of build
2015-10-06 14:41:55 -07:00
Brad Rydzewski
2b00d12bb6
code to generate API documentation
2015-10-06 10:19:43 -07:00
Brad Rydzewski
6c81c9cb03
manually go get goblin since it isn't included by vexp yet
2015-09-30 14:06:51 -07:00
Brad Rydzewski
b315914edb
update vendored repos
2015-09-30 14:00:48 -07:00
Brad Rydzewski
67c00fa6a9
get jsmin for contrib file
2015-09-30 13:02:20 -07:00
Brad Rydzewski
0acbf898dc
fix make gen
2015-09-29 23:10:52 -07:00
Brad Rydzewski
dfea14c7e5
updated vendor files and paths
2015-09-29 18:21:17 -07:00
Brad Rydzewski
ae324704bb
moved to drone-exec
2015-09-02 16:52:59 -07:00
Thomas Boerger
d6a546a309
Removed in go implemented tasks from Makefile
2015-08-27 11:03:03 +02:00
Brad Rydzewski
a18da82cb2
support for mysql database
2015-08-24 11:25:01 -07:00
Bugagazavr
37237230e9
Fix warnings
2015-08-20 21:09:12 +03:00
Brad Rydzewski
164c0c6a8e
move clone path calc due to panic
2015-08-19 12:38:08 -07:00
Brad Rydzewski
259ac91526
Merge remote-tracking branch 'upstream/0.4.0' into 0.4.0
...
Conflicts:
Makefile
2015-05-23 18:53:11 -07:00
Brad Rydzewski
14f0ffb587
some initial documentation
2015-05-23 18:52:04 -07:00
Brad Rydzewski
35d604659a
moved to Godep with path rewrite
2015-05-22 11:37:40 -07:00
Brad Rydzewski
ef1e09f073
fixed issue w/ makefile
2015-05-18 15:47:48 -07:00
Brad Rydzewski
d55d28436b
adding code for a drone build agent
2015-05-18 10:05:58 -07:00
Brad Rydzewski
73ed4f08d5
moved to central copy function
2015-05-17 19:25:53 -07:00
Brad Rydzewski
30eed8723d
moved all remaining files under designated structure
2015-05-17 14:25:04 -07:00
Brad Rydzewski
64663e9742
fixed some build issues
2015-05-16 17:46:29 -07:00
Brad Rydzewski
d66becd12c
fixed some minor bugs in build
2015-05-15 14:55:26 -07:00
Brad Rydzewski
67a4e302c7
ability to get netrc from remote
2015-04-28 14:39:48 -07:00
Brad Rydzewski
96b49cf0fc
website subscribes to build events, update pages
2015-04-25 21:27:24 -07:00
Brad Rydzewski
8e6fbc8ceb
fixed bindata build issues
2015-04-25 16:46:02 -07:00
Brad Rydzewski
3b7c9738a3
ability to squash and embed static files
2015-04-25 16:16:56 -07:00
Brad Rydzewski
d9fd23a6df
experimental branch. playing around with boltdb
2015-04-07 01:20:55 -07:00
Brad Rydzewski
31b2c806e7
peg version of Docker
2015-02-20 17:33:44 -08:00
Brad Rydzewski
c7c3300350
ensure we hav a .deb file for every drone commit
2015-02-05 19:09:52 -08:00
Brad Rydzewski
1627d5f5da
Merge pull request #802 from Bugagazavr/bintray
...
Bintray
2015-01-13 09:10:50 -08:00
Kirill Zaitsev
ef3fba75a9
Version from file
2015-01-12 20:00:36 +03:00
Brad Rydzewski
ae65cf5fdb
Merge pull request #797 from mattbostock/go_fmt
...
Run gofmt and add test to prevent regressions
2015-01-11 11:13:35 -08:00
Matt Bostock
b027bd8392
Run gofmt and add test to prevent regressions
...
Run `go fmt ./...` [1] and add a test to the `test` make target that
checks if `go fmt` has been run.
[1]: http://blog.golang.org/go-fmt-your-code
2015-01-11 18:54:34 +00:00
Matt Bostock
3cb015a287
Remove explicit go get
for goblin package
...
The goblin package will be pulled in by the `go get` invocation
on the following line as it's references by imports, so there's no
need to list it separately.
2015-01-11 18:41:49 +00:00
Nils Werner
331af08128
Testing: Make MySQL DB creating more error resilient
2014-11-15 16:10:33 +01:00
rkusa
6f99e8f5f4
add vendor prefixes to CSS using autoprefixer
2014-10-29 10:33:07 +01:00
Brad Rydzewski
7009778176
added token to post-commit hooks
2014-10-22 00:13:47 -07:00
Brad Rydzewski
e49b81e7a4
updated Makefile to create packaging/output
during build step
2014-10-16 20:40:26 -07:00
Grzegorz Graczyk
d1273c496f
fix directory of executables for make install
2014-10-13 18:49:59 +02:00
Kirill Zaitsev
b64cd83424
Build rpm and deb packages
2014-10-12 23:51:51 +04:00
epipho
ce9c065c02
Better command line for make deps that will pull in packages from test files
2014-10-11 15:48:48 -04:00
Brad Rydzewski
6b721f5b98
added unit tests for postgres and mysql
2014-09-30 23:30:42 -07:00
Brad Rydzewski
21f9aec808
added new handlers and workers
2014-09-28 18:36:24 -07:00
Brad Rydzewski
46b3d9daae
moved cmd to cli folder
2014-09-24 21:24:12 -07:00
Brad Rydzewski
38379992bf
refactored plugin/remote and adapted @bugBugagazavr Gitlab code
2014-09-02 00:18:17 -07:00
Brad Rydzewski
c4c7b8e006
more work on the command line utility
2014-08-09 16:51:08 -07:00
Brad Rydzewski
302a898848
fixed missing dep in Makefile
2014-08-03 21:33:47 -07:00
Brad Rydzewski
813b5e9371
added working Dockerfile
2014-07-16 22:14:53 -07:00
Brad Rydzewski
67b7803a4e
updated README to include more branch details
2014-07-13 19:53:59 -07:00
Brad Rydzewski
88d940e58a
using rice append
and cleaner build process
2014-07-13 19:41:08 -07:00
Brad Rydzewski
c20f563330
reverted back to original sqlite database location
2014-07-13 16:04:10 -07:00
Brad Rydzewski
3e5035c254
setup the worker to stream results
2014-07-11 15:29:31 -07:00
Brad Rydzewski
8f9c3da81b
moved mkdir to build directive
2014-07-09 01:22:08 -07:00
Brad Rydzewski
c8590391e9
updated css styles & angular
2014-07-09 00:46:15 -07:00
Brad Rydzewski
77daa5743f
replaced Chrome browser with PhantomJS in karma tests
...
moved header to parent page, removed from templates
2014-06-21 19:40:21 -07:00
Brad Rydzewski
7acf92e754
hooked up websockets & added setup karma+jasmine
2014-06-21 17:41:40 -07:00
Brad Rydzewski
83577a7d5d
removed css files. designers will be providing
...
removed amber files. replacing with angular
removed queue package in favor or worker package
removed channel package in favor of pubsub package
2014-06-21 14:22:38 -07:00
Brad Rydzewski
06dfc269f7
removed unused .gitmodule
2014-06-12 17:24:35 -07:00
Brad Rydzewski
d64bcdb51d
Get Config Data via ConfigManager
2014-06-12 17:17:59 -07:00
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