Skip to content

Commit

Permalink
Merge pull request #1 from openshift/noop
Browse files Browse the repository at this point in the history
Noop - A noop PR
  • Loading branch information
dougbtv authored Jan 21, 2019
2 parents f6a58dc + f2b465d commit 798823b
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 29 deletions.
37 changes: 37 additions & 0 deletions .original.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
language: go
sudo: required
dist: trusty

go:
- 1.8.x
- 1.9.x

env:
global:
- PATH=$GOROOT/bin:$GOPATH/bin:$PATH
matrix:
- TARGET=amd64
- TARGET=arm
- TARGET=arm64
- TARGET=ppc64le
- TARGET=s390x

matrix:
fast_finish: true

install:
- go get github.com/onsi/ginkgo/ginkgo

script:
- |
if [ "${TARGET}" == "amd64" ]; then
GOARCH="${TARGET}" ./test.sh
else
GOARCH="${TARGET}" ./build.sh
fi
notifications:
email: false

git:
depth: 9999999
50 changes: 22 additions & 28 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,31 @@
language: go
sudo: required
language: generic
# see https://docs.travis-ci.com/user/reference/overview/#Virtualization-environments
# for the detail
# sudo: requried
dist: trusty

go:
- 1.8.x
- 1.9.x

env:
global:
- PATH=$GOROOT/bin:$GOPATH/bin:$PATH
matrix:
- TARGET=amd64
- TARGET=arm
- TARGET=arm64
- TARGET=ppc64le
- TARGET=s390x

matrix:
fast_finish: true
- secure: "XHgXgMrfkHeG77vxT5dWIJ8A0A4acZ90Lf8JWPWff2XQRnV9wJXUG+og7b8e7lzytVT7bui8yNx7Gpxf6zeCXVoMO6bf1TipD//Dfofqcu+QLs9gP6iCACdPAt629ZV3NWuzFChkiJOuOsvg8qyZwEVZ8M06GrpR26wzb1+zffG4SZQK7NoBSU0ksVSYRadK27WYHxBmLsWx2u9/dfM2LYxrFitQxDaQmrM8vNvaM3vomS0zvMBwvNCS4TtL4y1IjxJrVh5luQD8l04zjGEgzGn2cF4qc8+pSoBGOKq601Ep2+UM8EPrXs0Ul+YUFZr4k1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script:
# - golint pkg/... cmd/...
# - go fmt pkg/... cmd/...
# - go vet pkg/... cmd/...

script:
- |
if [ "${TARGET}" == "amd64" ]; then
GOARCH="${TARGET}" ./test.sh
else
GOARCH="${TARGET}" ./build.sh
fi
- docker build -f images/supported/Dockerfile -t nfvpe/container-networking-plugins-supported .
- docker build -f images/unsupported/Dockerfile -t nfvpe/container-networking-plugins-unsupported .

notifications:
email: false
deploy:
- provider: script
on:
branch: image-builder
script: >
bash -c '
docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS";
docker push nfvpe/container-networking-plugins-supported;
docker push nfvpe/container-networking-plugins-unsupported;
echo foo'
git:
depth: 9999999
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ Some CNI network plugins, maintained by the containernetworking team. For more i
* `portmap`: An iptables-based portmapping plugin. Maps ports from the host's address space to the container.

### Sample
The sample plugin provides an example for building your own plugin.
The sample plugin provides an example for building your own plugin.

0 comments on commit 798823b

Please sign in to comment.