This is an automated email from the ASF dual-hosted git repository. dgrove pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/openwhisk-deploy-kube.git
The following commit(s) were added to refs/heads/master by this push: new 1deafa0 update travis testing to cover Kuberneres 1.14 to 1.16 (#562) 1deafa0 is described below commit 1deafa0bc8f3cf1e6a50fc01ebd1d0124ec79d8c Author: David Grove <dgrove-...@users.noreply.github.com> AuthorDate: Thu Jan 2 17:54:26 2020 -0500 update travis testing to cover Kuberneres 1.14 to 1.16 (#562) 1. Docker for Desktop is on Kubernetes 1.14, so drop 1.13. 2. Add Kubernetes 1.16 3. If `helm test` fails, echo complete logs of test pods --- .travis.yml | 8 ++++---- docs/k8s-technical-requirements.md | 2 +- helm/openwhisk/README.md | 2 +- helm/openwhisk/configMapFiles/tests/systemTest/myTask.sh | 2 +- tools/travis/collect-logs.sh | 2 +- tools/travis/run-tests.sh | 2 +- tools/travis/start-kind.sh | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index eb76f9b..44e7626 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,10 +23,10 @@ env: - secure: d7CuMXbhT83W2x78qiLwgogX1+3aPicd1PlTwwNNDN6QSkImbxareyKThnsqlHIiNj3o5l5DBuiYjy7wrF/xD1g8BQMmTwm99DRx5q3CI3Im3VCi/ZK8SaNjuOy24d7cf5k2tB/87Gk7zmKsMDYm+fpCl+GpgUmIEeIwthiAxuXSDWZ8eQPIptmxj56DeFRNouvXG+dEUtBfWiwN27UPxNKExCixFnegmdtffLbz6hhst7BHr5Ry9acbycre98PCwWZcu9lxFs+SJ1kvnzX2iue4otmDkF1WkJjxaOFPJVs/D3YItg+neLCSxjwBskPed+Fct8bOjcM/uVROJPNIq5icBmaPX2isH0lvtxOeVw/dmioWYXYPN9ygBOe4eO/vtPllN0bcAUo5xl9jXev8ciAozYrYpHVh9Fplfd81rcYTeYzALmRJBdoiWoc3KQGzwGc9sB1ffmy+KWgG9T0zbnS4fALSR4PS [...] - secure: CJtnU94HTDqd4A6uvhFl8IpnmU+wTdlzb8bPBFUl/lI/VKXiRrYpgJdKUro5xEoxFKuqMprLhbyf66niyWLTIeogjUAEu/h/o2dBVeGgSGKoqC0hQgqvnxKFeGlzFJ0XuEs3vbStJGRnQszGsfnnDrscJtR0x9X+1w4aBKI7iPyyuFtVkDD1UsmBbSi+M8FTeq7G7A0reMDaey7uog3CFCpIMl4geshcohQEcKEGbnXQZoLPFpb7cBOE83VXBJ7Y7Dgf/U4keiLovvnuJThGKZm/SVV2KlELmBmtmbx3rMT6Vb5k9ChSdRWapromNnnzmJBIQ5Scc2mwV3A93/SMha1F3IlYpDKs5djfTw8jZfVnuiou7HhTaRjHkmmcwP12/k30gLe2kw0Vezg1TCY4zgtOpcmCxc8RHEy0ceA74rKvRi8LbexTCwX+iAMQFn/pSrh/OqAq/50JbLyczcoO1zXWS38txUQN [...] matrix: - - TRAVIS_KUBE_VERSION=v1.13.10 OW_INCLUDE_SYSTEM_TESTS=true OW_CONTAINER_FACTORY=kubernetes - - TRAVIS_KUBE_VERSION=v1.14.6 OW_INCLUDE_SYSTEM_TESTS=true OW_CONTAINER_FACTORY=kubernetes - - TRAVIS_KUBE_VERSION=v1.14.6 OW_INCLUDE_SYSTEM_TESTS=false OW_CONTAINER_FACTORY=kubernetes OW_LEAN_MODE=true - - TRAVIS_KUBE_VERSION=v1.15.3 OW_INCLUDE_SYSTEM_TESTS=true OW_CONTAINER_FACTORY=kubernetes + - TRAVIS_KUBE_VERSION=v1.14.9 OW_INCLUDE_SYSTEM_TESTS=true OW_CONTAINER_FACTORY=kubernetes + - TRAVIS_KUBE_VERSION=v1.14.9 OW_INCLUDE_SYSTEM_TESTS=false OW_CONTAINER_FACTORY=kubernetes OW_LEAN_MODE=true + - TRAVIS_KUBE_VERSION=v1.15.6 OW_INCLUDE_SYSTEM_TESTS=false OW_CONTAINER_FACTORY=kubernetes + - TRAVIS_KUBE_VERSION=v1.16.3 OW_INCLUDE_SYSTEM_TESTS=false OW_CONTAINER_FACTORY=kubernetes services: - docker diff --git a/docs/k8s-technical-requirements.md b/docs/k8s-technical-requirements.md index 530da05..36ef497 100644 --- a/docs/k8s-technical-requirements.md +++ b/docs/k8s-technical-requirements.md @@ -22,7 +22,7 @@ The Kubernetes cluster on which you are deploying OpenWhisk must meet the following requirements: * [Kubernetes](https://github.com/kubernetes/kubernetes) version 1.10+. - Our automated testing currently covers Kubernetes versions 1.13 and 1.14. + Our automated testing currently covers Kubernetes versions 1.14, 1.15 and 1.16. * The ability to create Ingresses to make a Kubernetes service available outside of the cluster so you can actually use OpenWhisk. * Unless you disable persistence (see diff --git a/helm/openwhisk/README.md b/helm/openwhisk/README.md index 43de07e..1dab549 100644 --- a/helm/openwhisk/README.md +++ b/helm/openwhisk/README.md @@ -57,7 +57,7 @@ The chart requires one or more Kubernetes worker nodes to be designated to be us ## Prerequisites -* Kubernetes 1.10 - 1.14.* +* Kubernetes 1.10 - 1.16.* ### Image Policy Requirements diff --git a/helm/openwhisk/configMapFiles/tests/systemTest/myTask.sh b/helm/openwhisk/configMapFiles/tests/systemTest/myTask.sh index d592ef1..12f4829 100644 --- a/helm/openwhisk/configMapFiles/tests/systemTest/myTask.sh +++ b/helm/openwhisk/configMapFiles/tests/systemTest/myTask.sh @@ -28,4 +28,4 @@ git checkout $OW_GIT_TAG_OPENWHISK # run tests:testSystemKCF ./gradlew --console=plain :tests:testSystemKCF -Dwhisk.auth="$WSK_AUTH" -Dwhisk.server=$WSK_API_HOST_URL -Dopenwhisk.home=/openwhisk -echo "PASSED! Successfully executed tests:testSystemBasic" +echo "PASSED! Successfully executed tests:testSystemKCF" diff --git a/tools/travis/collect-logs.sh b/tools/travis/collect-logs.sh index a75e5b6..9b6f6fe 100755 --- a/tools/travis/collect-logs.sh +++ b/tools/travis/collect-logs.sh @@ -40,7 +40,7 @@ kubectl -n openwhisk logs -lname=ow4travis-invoker -c invoker >& logs/invoker-in kubectl -n openwhisk logs -lname=ow4travis-nginx >& logs/nginx.log kubectl -n openwhisk logs -lname=ow4travis-install-packages >& logs/install-packages.log kubectl -n openwhisk logs -lname=ow4travis-init-couchdb >& logs/init-couchdb.log -kubectl logs -n openwhisk -low-testpod=true >& logs/helm-tests.log +kubectl logs -n openwhisk -low-testpod=true --tail=-1 >& logs/helm-tests.log kubectl -n openwhisk logs -lname=ow4travis-alarmprovider >& logs/kafkaprovider.log kubectl -n openwhisk logs -lname=ow4travis-cloudantprovider >& logs/cloudantprovider.log kubectl -n openwhisk logs -lname=ow4travis-kafkaprovider >& logs/kafkaprovider.log diff --git a/tools/travis/run-tests.sh b/tools/travis/run-tests.sh index 17557fb..7ad46fa 100755 --- a/tools/travis/run-tests.sh +++ b/tools/travis/run-tests.sh @@ -25,6 +25,6 @@ if helm test ow4travis --timeout 2400; then echo "PASSED! Deployment verification tests passed." else echo "FAILED: Deployment verification tests failed." - kubectl logs -n openwhisk -low-testpod=true + kubectl logs -n openwhisk -low-testpod=true --tail=-1 exit 1 fi diff --git a/tools/travis/start-kind.sh b/tools/travis/start-kind.sh index 0784d31..c2cccc6 100755 --- a/tools/travis/start-kind.sh +++ b/tools/travis/start-kind.sh @@ -53,7 +53,7 @@ pushd /tmp sudo cp wsk /usr/local/bin/wsk # Download and install helm - curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get > get_helm.sh && chmod +x get_helm.sh && ./get_helm.sh --version v2.14.3 + curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get > get_helm.sh && chmod +x get_helm.sh && ./get_helm.sh --version v2.16.1 popd # Pods running in kube-system namespace should have cluster-admin role