Commit Graph

32 Commits

Author SHA1 Message Date
Nalin Dahyabhai c195d3e3c3 Fix an inconsistent indentation in .travis.yml
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2018-05-21 14:54:59 -04:00
Chris Evich 6afa3a250c
Enable Stable + build/test on Fedora and CentOS
* Added the few small changes needed to support these other distros.

* Enable building GO_VERSION "stable" on all distros, but ignore the
result.  The failures are seemingly similar, but beyond my ability to
debug.  For now, ignore the result to provide exposure and runtime
without any requirement to pass.

Signed-off-by: Chris Evich <cevich@redhat.com>
2018-03-26 14:44:19 -04:00
Chris Evich 5adb53e2be
Don't run CI tests with go 1.10 (stable)
Signed-off-by: Chris Evich <cevich@redhat.com>
2018-03-09 11:45:04 -05:00
Chris Evich 02a59b0398
Update CI scripts
* Relocate them with visible names under hack/...
* Add support for adding additional $DISTRO's (later)
* Add tmpfs mount inside SPC

Signed-off-by: Chris Evich <cevich@redhat.com>
2018-03-09 10:40:50 -05:00
Chris Evich 31b5191e6f
Fixes based on review feedback
Thanks @rhatdan and @lsm5

Signed-off-by: Chris Evich <cevich@redhat.com>
2018-02-28 19:08:10 -05:00
Chris Evich 3c0cc05e1c
Run CI tests in latest ubuntu image using SPC
Signed-off-by: Chris Evich <cevich@redhat.com>
2018-02-27 18:12:03 -05:00
Daniel J Walsh 0daa1fc969 Change tip to 1.9 in travis
tip seems to be broken right now.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2017-10-13 15:52:17 +00:00
Nalin Dahyabhai 88b9193bae Fix builds with go 1.7
The skopeo package builds on Darwin use Go 1.7, so make sure we can
build on it, by replacing a call to time.Until(t) with
t.Sub(time.Now()), as suggested in the standard library documentation.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-09-29 17:25:19 -04:00
Daniel J Walsh f39066fe1b Update packages to match latest code in moby/pkg
Had to vendor in a new version of golang.org/x/net to build
Also had to make some changes to drivers to handle
archive.Reader -> io.Reader
archive.Archive -> io.ReadCloser

Also update .gitingore to ignore emacs files, containers-storage.*
and generated man pages.

Also no longer test travis against golang 1.7, cri-o, moby have also
done this.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2017-09-12 18:00:29 +00:00
Daniel J Walsh c13ef45812 Drop support for 1.6 builds and add 1.8 in travis
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2017-08-29 06:31:22 -04:00
Nalin Dahyabhai 230b9ab91a Replace the build system
Replace the bundle-targeted build system with simpler Makefile targets
and fewer helper scripts.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-05-25 15:50:33 -04:00
Erik Hollensbe 9a2b6c119d Resolve a number of GOPATH-related issues previously missed
Signed-off-by: Erik Hollensbe <github@hollensbe.org>
2017-02-27 12:56:17 -08:00
Erik Hollensbe d557952f5d Remove old vendor tooling
Signed-off-by: Erik Hollensbe <github@hollensbe.org>
2017-02-16 15:28:44 -08:00
Nalin Dahyabhai 619925077a Add the cross target to the Travis config
Have Travis build the "cross" target, too.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-25 17:18:18 +01:00
Nalin Dahyabhai fe2a6c4e13 Add initial Travis configuration
Add an initial Travis configuration file, and whatever fixups
and tweaks we need to build in it.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2017-01-18 17:06:07 -05:00
Jessica Frazelle 471adb73a9 Remove travis CI.
Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
2014-11-03 17:46:33 -08:00
Tianon Gravi 068b9ac4d2 Update Travis to also run the test suite
Signed-off-by: Andrew Page <admwiggin@gmail.com>
2014-09-04 17:20:02 -06:00
Alexandr Morozov c6595b3ee8
bump Go to 1.3.1
Signed-off-by: Alexandr Morozov <lk4d4math@gmail.com>
2014-08-13 10:49:03 +04:00
Tianon Gravi 1b95590d06 Add a "daemon" build tag and toggle it with the already-existing "DOCKER_CLIENTONLY" build variable
This works mostly by refactoring our "main" package to be careful about what it imports based on the daemon build tag. :)

Also, I've updated Travis to test "client-only" compilation after it tests the daemon version.

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
2014-08-04 15:05:12 -06:00
Tianon Gravi 38bce17904 Add Go 1.2 to Travis so we make sure we keep retrocompat for a little while
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
2014-07-29 13:07:59 -06:00
unclejack d0a0e91f1f bump Go to 1.3
Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
2014-07-26 21:33:31 +03:00
Tianon Gravi 3cff015169 Adjust Travis to also compile, to test that compilation still succeeds
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
2014-07-19 12:12:27 -06:00
Tianon Gravi 3e2ad6ffee Update Travis to use pretty Docker-based workers
These start up much faster and the only caveat is that we can't use "sudo" (which we don't currently use anyhow).

Also, I've updated the Go version here to match what's in the Dockerfile.

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
2014-07-07 10:04:23 -06:00
Sven Dowideit 17fbe3de38 remove the sphinx validation - we'll add a MarkDown one when we have it
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@fosiki.com> (github: SvenDowideit)
2014-04-29 13:43:13 +10:00
Tianon Gravi 919fe7a3a1 Remove the old Travis-specific files that are no longer necessary
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
2014-04-04 00:46:47 -06:00
Tianon Gravi 81370b5b0f Add new validate-dco and validate-gofmt bundlescripts for DCO and gofmt validation
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
2014-04-04 00:41:33 -06:00
Tianon Gravi ae47f709ca Make sphinx warnings fatal in Travis
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
2014-03-13 22:35:31 -06:00
Tianon Gravi 274863f221 Update Travis to also compile the man page(s) now that they compile properly again
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
2014-01-20 11:29:24 -07:00
Tianon Gravi fe02d58927 Update Travis to also test compiling the docs
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
2014-01-20 11:24:38 -07:00
Tianon Gravi 980e0bf52c Fix Travis for PRs against non-master (like release, for example)
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
2014-01-18 10:41:37 -07:00
Tianon Gravi 7c4e5fbd46 Fix Travis PR testing to not overwrite the "master" that Travis creates with our "upstream master", and to also ignore commits with no content (like a Merge commit - there's no need to sign off on literally nothing)
Docker-DCO-1.0-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
2014-01-07 13:45:40 -07:00
Tianon Gravi 561d1db074 Add Travis CI configuration to validate DCO and gofmt
After each push, Travis CI will trigger, and check two things:

- make sure that each commit in the push has the Docker certificate of origin
- make sure that all .go files changed by this sequence of commits are correctly formatted in the most recent commit

Note: there is one edge case; if you do a git force push, we cannot figure out the actual commits in the force push, and we will just run the checks as if upstream master were the base. Pull requests will always be tested correctly, though.

Docker-DCO-1.0-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
2014-01-07 08:25:54 -07:00