Jakob Borg
6715b91a6c
build: Remove unused docker-* commands
2016-07-25 08:10:46 +02:00
Jakob Borg
65aaa607ab
Use Go 1.5 vendoring instead of Godeps
...
Change made by:
- running "gvt fetch" on each of the packages mentioned in
Godeps/Godeps.json
- `rm -rf Godeps`
- tweaking the build scripts to not mention Godeps
- tweaking the build scripts to test `./lib/...`, `./cmd/...` explicitly
(to avoid testing vendor)
- tweaking the build scripts to not juggle GOPATH for Godeps and instead
set GO15VENDOREXPERIMENT.
This also results in some updated packages at the same time I bet.
Building with Go 1.3 and 1.4 still *works* but won't use our vendored
dependencies - the user needs to have the actual packages in their
GOPATH then, which they'll get with a normal "go get". Building with Go
1.6+ will get our vendored dependencies by default even when not using
our build script, which is nice.
By doing this we gain some freedom in that we can pick and choose
manually what to include in vendor, as it's not based on just dependency
analysis of our own code. This is also a risk as we might pick up
dependencies we are unaware of, as the build may work locally with those
packages present in GOPATH. On the other hand the build server will
detect this as it has no packages in it's GOPATH beyond what is included
in the repo.
Recommended tool to manage dependencies is github.com/FiloSottile/gvt.
2016-03-05 21:21:24 +01:00
Jakob Borg
3e7d0ec14f
build.sh prerelease should rebuild author credits in about dialog
2016-01-30 22:49:14 +01:00
Jakob Borg
74a210f198
Fix asset locations in one more place
2016-01-13 21:11:46 +01:00
Jakob Borg
837fde70ae
Add XUnit compatible test output
2016-01-10 00:50:43 +01:00
Jakob Borg
ded7abb1f6
Also build linux-arm64, linux-ppc64, linux-ppc64le
2016-01-01 20:56:31 +01:00
Jakob Borg
ded0925155
Neater build.sh all
2015-12-08 09:33:34 +01:00
Jakob Borg
a52811dfa3
Don't use godep to run tests
2015-10-28 09:22:07 +01:00
Jakob Borg
76359da58e
Apparently -race adds some stuff gocov doesn't like. Lets try this instead.
2015-10-14 15:41:15 +09:00
Jakob Borg
cc1387ec0c
Tests should be run with -race
2015-10-14 14:41:16 +09:00
Jakob Borg
55002d7adf
Signing is done by stsigtool only
2015-08-30 20:50:07 +02:00
Jakob Borg
2eead17224
Actually map the key into Docker
2015-08-21 13:24:50 +02:00
Jakob Borg
626b26a227
Pass -sign parameter to build.go from Docker if key is present
2015-08-21 13:13:12 +02:00
Jakob Borg
681306b7a1
Clean up the scripts a bit (...)
...
- Move the Go files into script/ instead of random places
- Rewrite check-contrib.sh into check-authors.go and check-copyright.go
- Clean up build.sh a little bit
2015-08-13 12:35:26 +02:00
Jakob Borg
a2f73a7d35
Allow specifying Docker image to use for building
2015-08-09 14:40:18 +02:00
Jakob Borg
7705a6c1f1
mv internal lib
2015-08-09 09:35:26 +02:00
Jakob Borg
0a803891a4
Updates for Go 1.5
2015-08-09 09:35:25 +02:00
Jakob Borg
a11aa295de
Squashed commit of pull request #1875
...
commit d60fbce311
Author: Jacek Szafarkiewicz <[email protected] >
Date: Mon Jun 1 11:16:36 2015 +0200
Correct order of deb files
commit 3b2ecfcc45
Merge: f4daebb c23a601
Author: Jacek Szafarkiewicz <[email protected] >
Date: Mon Jun 1 11:15:06 2015 +0200
Merge github.com:syncthing/syncthing
Conflicts:
build.go
commit f4daebb851
Author: Jacek Szafarkiewicz <[email protected] >
Date: Tue May 26 12:58:25 2015 +0200
Add me to AUTHORS
commit 9e77f4bea0
Author: Jacek Szafarkiewicz <[email protected] >
Date: Tue May 26 12:57:40 2015 +0200
Add systemd files to deb packate
2015-07-20 14:18:07 +02:00
Jakob Borg
db52646655
Include generated man pages
2015-05-30 13:05:55 +02:00
Jakob Borg
8bb18fa988
Create 'prerelease' step to run before releases
2015-05-30 10:39:27 +02:00
Jakob Borg
e827c0bd94
Run benchmarks in docker-all instead
2015-05-23 15:17:19 +02:00
Jakob Borg
8dd7e4e6b5
Run benchmarks when running tests
2015-05-23 15:08:17 +02:00
Jakob Borg
60fcaebfdb
Run vet and lint. Make us lint clean.
2015-04-29 10:38:02 +02:00
Jakob Borg
34ba5678c3
Allowed integration test time 60m -> 90m
2015-03-30 08:26:31 +02:00
Jakob Borg
b44e87c6e8
Silence go vet composites warning
...
https://code.google.com/p/go/issues/detail?id=6820
2015-03-25 23:18:43 +01:00
Jakob Borg
e59c0f38d9
Also build darwin/386
2015-03-15 16:23:45 +01:00
Jakob Borg
617fb84983
Also build Solaris, NetBSD by default
2015-02-26 12:21:20 +01:00
Jakob Borg
3cc288a169
Build binary packages for Dragonfly
2015-02-26 08:58:58 +01:00
Jakob Borg
35d3af5039
Use syncthing/build:latest for building
2015-02-11 10:17:15 +01:00
Audrius Butkevicius
25c664b13a
Improvements to integration tests
2015-01-22 00:18:08 +00:00
Jakob Borg
8dc13bcf1a
go1.4.1
2015-01-16 10:18:54 +01:00
Jakob Borg
961a87b743
Only build ARMv5 ( fixes #1218 )
...
With this change, the build system only builds one ARM variant - ARMv5.
We call the build architecture simply "arm", as this is what
runtime.GOARCH says.
2015-01-09 10:45:15 +01:00
Jakob Borg
2090530bbb
Improve and clean up integration tests, benchmark.
2014-12-19 12:43:48 +01:00
Jakob Borg
1c43587d7d
Patch Go for issue #9102 in build env ( fixes #1112 )
2014-12-13 10:38:05 +01:00
Jakob Borg
dc5c1e2002
Use Go 1.4 for builds
2014-12-11 12:48:40 +01:00
Jakob Borg
0c9f1efc75
Run vet and lint during build
2014-12-08 16:12:53 +01:00
Jakob Borg
6dff9097a2
Use Go 1.4 build environment (currently 1.4rc2)
2014-12-06 12:12:33 +01:00
Jakob Borg
7f97037190
Revert "Merge pull request #1078 from syncthing/go1.4"
...
This reverts commit b658afd857 , reversing
changes made to 591c5dabf4 .
2014-12-04 22:24:49 +01:00
Jakob Borg
5cb1039daf
Use Go 1.4 build environment (currently 1.4rc2)
2014-12-04 06:59:13 +01:00
Jakob Borg
d669c07e8a
Increase allowed test runtimes ( fixes #1049 )
2014-11-30 21:21:37 +01:00
Jakob Borg
78981862be
Silence verbose docker build output
2014-11-29 08:30:41 +01:00
Jakob Borg
9d36d88a65
Build std for race in Docker image
2014-11-30 00:30:23 +01:00
Jakob Borg
5dbaf6ceb0
Use short integration tests by default
2014-11-30 00:07:36 +01:00
Jakob Borg
367e50edab
Fixup integration tests for race detector
2014-11-29 23:41:06 +01:00
Jakob Borg
4fdecc9b85
Run integration tests with -race ( fixes #1043 )
2014-11-29 22:38:04 +01:00
Jakob Borg
2dad769a00
Only run Go based integration tests in Docker
2014-11-24 11:49:49 +01:00
Jakob Borg
afbb06a72f
Tests may dirty workspace
2014-11-23 23:10:08 +01:00
Jakob Borg
e336cd463f
Tests may take longer than 60 seconds to complete
2014-11-23 23:10:07 +01:00
Jakob Borg
3a8315971e
Run integration tests under Docker
2014-11-23 22:31:07 +01:00
Jakob Borg
1db120bf06
Improve docker image and build
2014-11-23 21:46:18 +01:00