Commit Graph

104 Commits

Author SHA1 Message Date
Sebastiaan van Stijn
608791bfc3 Update to Golang 1.13.4
go1.13.4 (released 2019/10/31) includes fixes to the net/http and syscall
packages. It also fixes an issue on macOS 10.15 Catalina where the non-
notarized installer and binaries were being rejected by Gatekeeper.
See the Go 1.13.4 milestone on the issue tracker for details:
https://github.com/golang/go/issues?q=milestone%3AGo1.13.4

Update to Golang 1.13.3:

go1.13.3 (released 2019/10/17) includes fixes to the go command, the toolchain,
the runtime, syscall, net, net/http, and crypto/ecdsa packages. See the Go
1.13.3 milestone on the issue tracker for details:
https://github.com/golang/go/issues?q=milestone%3AGo1.13.3

Update to Golang 1.13.2:

go1.13.2 (released 2019/10/17) includes security fixes to the crypto/dsa
package and the compiler. See the Go 1.13.2 milestone on the issue tracker
for details:

https://github.com/golang/go/issues?q=milestone%3AGo1.13.2

Update to Golang 1.13.1:

go1.13.1 (released 2019/09/25) includes security fixes to the
net/http and net/textproto packages. See the Go 1.13.1 milestone
on the issue tracker for details:

https://github.com/golang/go/issues?q=milestone%3AGo1.13.1

Update to Golang 1.13.0:

Full diff: https://github.com/golang/go/compare/go1.12.9...go1.13
Milestone: https://github.com/golang/go/milestone/83?closed=1

Today the Go team is very happy to announce the release of Go 1.13. You can get it
from the download page.

Some of the highlights include:

- The go command now downloads and authenticates modules using the Go module
  mirror and Go checksum database by default (https://golang.org/doc/go1.13#introduction)
- Improvements to number literals (https://golang.org/doc/go1.13#language)
- Error wrapping (https://golang.org/doc/go1.13#error_wrapping)
- TLS 1.3 on by default (https://golang.org/doc/go1.13#tls_1_3)
- Improved modules support (https://golang.org/doc/go1.13#modules)

For the complete list of changes and more information about the improvements above,
see the Go 1.13 release notes: https://golang.org/doc/go1.13

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-11-08 13:26:59 -08:00
Sebastiaan van Stijn
15669a1d34 Update to Golang 1.12.13
go1.12.13 (released 2019/10/31) fixes an issue on macOS 10.15 Catalina
where the non-notarized installer and binaries were being rejected by
Gatekeeper. Only macOS users who hit this issue need to update.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-11-08 10:28:40 -08:00
Eli Uriegas
036db34f37 build: Fix manpage generation
Seems to be that docs/man/ctr.1.md and docs/man/containerd.1.md were
removed in #3637 and were not updated correctly in the Makefile, leading
to build failures like:

    + make man

    make: *** No rule to make target `man/ctr.1', needed by `man'.  Stop.

Changes the gen-manpages command to be specific on which manpages are to
be generated.

Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
2019-10-08 18:22:23 +00:00
Derek McGowan
45ce735676 Limit travis release script to a single build
Prevent Travis from building and pushing up multiple times

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-09-30 14:35:56 -07:00
Phil Estes
c51895bde0 Merge pull request #3651 from dmcgowan/skip-darwin-deploy
Skip darwin deploy on release
2019-09-13 08:55:50 -04:00
Derek McGowan
8ab81a0c2a Merge pull request #3642 from dmcgowan/remove-duplicated-travis-tests
[CI] remove extra testing on older Ubuntu
2019-09-12 18:45:08 -07:00
Derek McGowan
58892a3ba5 Skip darwin deploy
Currently removing this incomplete build is part of the release
process. Skip this deployment to make releases easier.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-09-12 18:40:36 -07:00
Lantao Liu
6ed809168e Publish cri release to gs://cri-containerd-release.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-09-12 00:31:53 -07:00
Lantao Liu
f997c30ec6 Skip cleanup in travis deploy and avoid gcs race condition.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-09-11 16:51:41 -07:00
Derek McGowan
36c543a726 Remove extra CI testing on older Ubuntu
Testing the older LTS does not require testing the full matrix
to test for compatibility.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-09-11 13:47:48 -07:00
Lantao Liu
d1a12823b7 Update gcs cri release.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-09-11 11:22:01 -07:00
Derek McGowan
3db5a5ad2e Fix darwin build for cri release
Split release target for cri

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-09-10 16:38:33 -07:00
Lantao Liu
1b4cec9796 Update cri test to fix image reference test and fix gcs deploy.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-09-09 23:51:36 -07:00
Lantao Liu
61f113e608 Automate CRI tarball release.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-09-09 10:48:52 -07:00
Sebastiaan van Stijn
cd79e0edfe travis: fix Xenial tests not being run on master
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-09-04 01:30:59 +02:00
Sebastiaan van Stijn
fa546dc3e8 travis: don't run old Xenial LTS on pull requests
The branch (for pull requests), is the base/target branch, so for pull
requests against master, these would still be run.

From the travis documentation:

> branch (the current branch name; for pull requests: the base branch name)

This patch excludes these jobs by not running them for pull request (event type=pull_request
or event type=push (when rebasing a pull request)).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-09-01 14:47:14 +02:00
Sebastiaan van Stijn
94e4b68798 travis.yml: add TRAVIS_DISTRO env-var for easier identification
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-09-01 14:32:17 +02:00
Sebastiaan van Stijn
214b8328d2 travis: add Bionic (Ubuntu 18.04 LTS) to test matrix
Using bionic (current LTS) as default, and add xenial (Ubuntu 16.04 LTS)
to the matrix, to test the previous LTS release as well on master

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-09-01 14:30:51 +02:00
Michael Crosby
b5f03eacd3 Pin to libseccomp 2.3.3
lib seccomp 2.4 has huge performance regressions.
This change pins to 2.3.3 where that is not an issue

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-08-23 15:19:38 +00:00
Derek McGowan
04b7f1b594 Remove ppc64le from travis
The tests run too slow and flaky. Once the flakiness and
speed are addressed we can re-enable.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-08-08 16:11:17 -07:00
Derek McGowan
7792c23b14 Limit default matrix to runc v2 runtime
Explicitly add runc v1 runtime test on Linux

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-08-06 10:21:11 -07:00
Derek McGowan
2398421d50 Fix travis matrix
Move matrix components next to each other for clarity.
Explicitly add special matrix combinations.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2019-08-05 15:35:51 -07:00
Nitesh Konkar
d1b9ee543c travis: Enable travis CI for ppc64le arch
Enable travis CI for ppc64le arch

Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
2019-08-04 20:36:12 +05:30
Michael Crosby
2a92c27413 Bump travis to criu 3.12
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-07-09 19:42:28 +00:00
Mattias Appelgren
650a7e5c1e Add hashsum for release archives
Signed-off-by: Mattias Appelgren <mattias@ppelgren.se>
2019-06-25 21:00:09 +02:00
Michael Crosby
31afff2944 Fix backwards compat with v2 containerd configs
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-06-11 23:44:39 +00:00
Michael Crosby
9547d269a1 Add v2 server config support with plugin URIs
Closes #3210

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-06-10 17:54:20 +00:00
Sebastiaan van Stijn
543d1e807f Add travis_wait to prevent vndr timing out
Pervent travis from timing out because no output was printed;

    No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-05-10 14:09:57 -07:00
Sebastiaan van Stijn
00bc2f5cfd Update to Golang 1.12, and prepare for ppc64le
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-05-10 14:07:32 -07:00
Lantao Liu
a12f836d5a Use $TEST_RUNTIME for cri test.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-04-10 14:11:03 -07:00
Derek McGowan
0cff074a27 Merge pull request #3040 from crosbymichael/travis-bump
Update travis to xenial worker
2019-02-21 16:21:37 -08:00
Michael Crosby
5e84069844 Update travis to xenial worker
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-02-21 15:37:21 -05:00
Michael Crosby
84a24711e8 Add runc.v2 multi-shim
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-02-21 11:09:46 -05:00
Sebastiaan van Stijn
07237e34e6 Bump to Go 1.11.x
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-10-25 22:13:21 +02:00
Phil Estes
bd93a66fc2 Use common project repo copies of travis scripts
Remove local copies of common containerd/project located scripts for
DCO, fileheader, and vendor checks.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2018-10-15 09:05:48 -04:00
Phil Estes
b215a65f7d Remove setup steps unecessary when travis runs on darwin
Many of the setup/dev programs installed are not used because no testing
is executed on GOOS=darwin builds. Makes sense to remove them and make
darwin runs much shorter.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2018-09-14 13:16:22 -04:00
Phil Estes
9622369f0e Fix loss of CRI test failure status in CI
Prior PR fixed the wrong use of `exit` built-in within a Travis script,
but lost the reporting of a failure result of CRI testing in the process.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2018-08-01 13:54:16 -04:00
Michael Crosby
da1b5470cd Runtime v2
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-07-17 10:21:29 -04:00
Sebastiaan van Stijn
108c9cd4cf Remove Go version check in travis
containerd now only supports Go 1.10+, and travis is not
configured to run on older versions, so this check became
redundant.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-07-05 10:56:57 +02:00
Andrei Vagin
29c76b13d6 travis: update criu to 3.7
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2018-04-28 01:37:30 +03:00
Lantao Liu
6da553e112 Update cri plugin to v1.0.0-rc.2.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-04-13 07:01:48 +00:00
Phil Estes
37765fbde5 Track Go 1.10 point releases in travis
I assume we don't want to lock to Go 1.10.0.

Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2018-04-05 18:12:17 -04:00
Phil Estes
45407846f3 Test whether use of exit is hiding errors
Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
2018-04-04 15:03:55 -04:00
Tobias Klauser
a74903a307 Drop libapparmor dependency from runc build docs
As of opencontainers/runc@db093f621f runc
no longer depends on libapparmor thus libapparmor-dev no longer needs to
be installed to build it. Adjust the documentation accordingly.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2018-03-29 09:18:45 +02:00
Lantao Liu
74e45c0392 Update cri validation test version.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-03-27 05:15:14 +00:00
Kunal Kushwaha
f040e6ab59 CI check for file-header added
file-header check using github.com/kunalkushwaha/ltag

Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
2018-03-06 15:57:08 +09:00
Stephen J Day
9cdd036393 build: bump to Go 1.10
Bumps the build to use Go 1.10, which allows us to drop the forked tar
package.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2018-02-26 16:47:24 -08:00
Lantao Liu
4c903c356b Update critools and run critest in parallel.
Signed-off-by: Lantao Liu <lantaol@google.com>
2018-02-26 19:41:04 +00:00
Derek McGowan
5bd99af7db Merge pull request #2097 from Random-Liu/vendor-cri-plugin
Vendor cri plugin into containerd.
2018-02-23 13:55:13 -08:00
Sebastiaan van Stijn
b17bcb7284 Regenerate protos with Go 1.10, and make check conditional
Gofmt changed in Go 1.10, so regenerating with the new formatting.
From the Go 1.10 release notes: https://golang.org/doc/go1.10#gofmt

> Gofmt
> ... Second, single-method interface literals written on a single line,
> which are sometimes used in type assertions, are no longer split onto multiple lines.

The travis configuration was updated to skip `check-protos` on Go 1.9

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-02-21 10:51:43 +01:00