24 Commits

Author SHA1 Message Date
Federico Paolinelli
59baaa1546 Bump up the ubuntu version used in CI to bionic.
VRF support was introduced in ubuntu bionic, while it's missing in Xenial.

This also introduces a change in the behaviour of nc command.
On one hand, it requires a new line to send the buffer on the other side,
on the other it hangs waiting for new input.

To address this, a timeout was introduced to avoid the tests to hang,
plus the buffer sent is terminated with a new line character.

Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-10-02 14:50:50 +02:00
Dan Williams
01a8de9997 Bump Go version to 1.13 and 1.14
Signed-off-by: Dan Williams <dcbw@redhat.com>
2020-08-05 14:12:09 -05:00
Dominic Yin
8db5e4d41b
add support for mips64le
Signed-off-by: Dominic Yin <yindongchao@inspur.com>
2020-01-06 15:51:47 +08:00
Giuseppe Scrivano
85083ea434
testutils: newNS() works in a rootless user namespace
When running in a user namespace created by an unprivileged user the
owner of /var/run will be reported as the unknown user (as defined in
/proc/sys/kernel/overflowuid) so any access to the directory will
fail.

If the XDG_RUNTIME_DIR environment variable is set, check whether the
current user is also the owner of /var/run.  If the owner is different
than the current user, use the $XDG_RUNTIME_DIR/netns directory.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-10-19 12:04:53 +02:00
janisz
90125f40ba
Bump Go version
Signed-off-by: Tomasz Janiszewski <janiszt@gmail.com>
2019-09-18 11:20:33 +02:00
Dan Williams
fe60fcddb8
Merge pull request #326 from squeed/bump-release-go
Release: bump go to v1.12
2019-05-29 11:30:15 -05:00
Casey Callendrello
29a431f1fc Release: bump go to v1.12 2019-05-29 17:58:47 +02:00
Moshe Levi
2753b9af8f fix compilation error on 386
Update github.com/safchain/ethtool to fix the compilation
error on 386. Also added 386 to the tarvis yaml.

Fixes #322

Signed-off-by: Moshe Levi <moshele@mellanox.com>
2019-05-24 23:43:37 +03:00
Dan Williams
7df5acee0f
Merge pull request #288 from dcbw/coveralls
test: add coveralls support
2019-04-17 13:54:51 -05:00
Dan Williams
229ec3602d test: add coveralls support 2019-04-17 10:30:11 -05:00
Michael Cambria
914f2bc740 set CGO_ENABLED=0 in travis.yml 2019-04-10 17:24:42 +02:00
Ben Moss
34b1b702dc Move Windows tests to Travis 2018-12-10 14:43:32 -08:00
Gabe Rosenhouse
073df9a04d
Merge pull request #219 from pivotal-k8s/master
Make build.sh work for windows plugins.
2018-11-07 08:25:25 -08:00
Ben Moss
4e1f7802db Split build.sh into two OS-specific scripts 2018-11-01 16:41:31 -04:00
Gabe Rosenhouse
ee57f675ad bump travis and vagrantfile to go 1.11 2018-10-31 08:53:28 -07:00
MaiWJ
b56ca2fe45 Windows Support
Patch for https://github.com/containernetworking/plugins/pull/85

+ Windows cni plugins are added
   (*) win-bridge (hostgw)
   (*) win-overlay (vxlan)
+ Windows netconf unit test
+ Fix appveyor config to run the test
+ Build release support for windows plugins

Address comments

From:
    - https://github.com/containernetworking/plugins/pull/85
    - 0049c64e3f
2018-09-21 00:34:07 +08:00
Gabe Rosenhouse
2793dd11cb top-level integration test coverage for ptp + bandwidth 2018-02-28 12:56:10 -08:00
Gabe Rosenhouse
6cb23dc489 travis: bump golang versions
- test against Go 1.10
- stop testing against Go 1.8

since Go language maintainers no longer support 1.8
see: https://golang.org/doc/devel/release.html#policy
2018-02-17 19:25:19 -08:00
Gabe Rosenhouse
7f98c94613 Merge pull request #65 from rosenhouse/golang-to-1.9
Golang versions: add 1.9, drop 1.7
2017-10-18 15:36:34 -07:00
Gabe Rosenhouse
dda9c2b1b0 travis: run with ginkgo -p instead of go test
may help reduce test-pollution due to namespace-affinity

see http://onsi.github.io/ginkgo/#parallel-specs
2017-08-30 20:22:12 -07:00
Gabe Rosenhouse
9769434a13 Golang versions: add 1.9, drop 1.7 2017-08-29 20:15:50 -07:00
Casey Callendrello
43a24515ee build: some minor post-repo-split fixes; add fastbuild 2017-06-01 18:51:46 +02:00
Casey Callendrello
1430c43243 Rename build script to avoid conflict with bazel 2017-05-15 16:45:58 +02:00
Gabe Rosenhouse
1e3715157c travis integration
- go build instead of go install to support cross-compile to bin dir
- shellcheck fixes for build script
2017-05-03 12:22:14 -07:00