1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-30 08:06:52 +02:00
Commit Graph

125 Commits

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