1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-01-17 17:45:03 +02: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
2016-08-19 18:27:08 +01:00
2016-05-11 18:53:48 +08:00
2016-08-30 00:06:35 -03:00
2016-08-01 23:03:31 +02:00
2016-04-23 04:27:28 -07:00
2016-05-23 14:41:01 -07:00
2016-05-26 11:08:48 -07:00
2016-08-14 12:25:45 +08:00
2016-05-26 11:08:48 -07:00
2016-05-26 11:08:48 -07:00
2016-05-26 11:08:48 -07:00
2014-02-07 03:10:01 -07:00
2015-12-09 14:12:55 -08:00

Build Status Release Status Gitter

Drone is a Continuous Integration platform built on container technology. Every build is executed inside an ephemeral Docker container, giving developers complete control over their build environment with guaranteed isolation.

Goals

Drone's prime directive is to help teams ship code like GitHub. Drone is easy to install, setup and maintain and offers a powerful container-based plugin system. Drone aspires to be an industry-wide replacement for Jenkins.

Documentation

Drone documentation is organized into several categories:

Documentation for 0.5 (unstable)

If you are using the 0.5 unstable release (master branch) please see the updated documentation:

Community, Help

Contributions, questions, and comments are welcomed and encouraged. Drone developers hang out in the drone/drone room on gitter. We ask that you please post your questions to gitter before creating an issue.

Installation

Please see our installation guide to install the official Docker image.

From Source

Clone the repository to your Go workspace:

git clone git://github.com/drone/drone.git $GOPATH/src/github.com/drone/drone
cd $GOPATH/src/github.com/drone/drone

Commands to build from source:

export GO15VENDOREXPERIMENT=1

make deps    # Download required dependencies
make gen     # Generate code
make build   # Build the binary

If you are having trouble building this project please reference its .drone.yml file. Everything you need to know about building Drone is defined in that file.

Description
Woodpecker is a simple yet powerful CI/CD engine with great extensibility.
Readme 169 MiB
Languages
Go 86.4%
Vue 9%
TypeScript 3.3%
Makefile 0.7%
CSS 0.4%
Other 0.1%