-
Notifications
You must be signed in to change notification settings - Fork 84
Fix gometalinter 3.0 errors and update e2e bringup with istio/istio helm changes #88
Changes from 4 commits
eed389c
ee5e35c
a4a9b82
a5a971a
5cc7b18
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,18 +3,21 @@ | |
| CNI_HUB=${CNI_HUB:-istio} | ||
| CNI_TAG=${CNI_TAG:-$1} | ||
|
|
||
| chartdir=/go/helm | ||
|
|
||
| cd /go/src/istio.io/istio | ||
|
|
||
| # Install istio-cni prior to executing the Istio e2e test. Now that the helm chart for istio/istio no longer | ||
| # depends on the istio-cni chart, we need to explicitly do these steps. | ||
| helm init --client-only | ||
| #helm repo add istio.io https://storage.googleapis.com/istio-release/releases/1.1.0-snapshot.6/charts | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you should remove the comments here. Thinking about this more the tests here should be only about using the istio source code not also validating if the the CNI charts have been properly pushed to the istio charts repo. The tests on the istio side can confirm that. In this repo it is probably cleaner if it tests the CNI code AND the CNI charts at the tip of the branch but pull in the Istio code to confirm that.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this comment just to remove lines 13 & 14 or to remove all the other comments above? Lines 10 & 11 are still valid comments. I could reword to explain that we're testing with the istio-cni chart from the PR under-test. |
||
| #helm fetch --untar --untardir ${chartdir} istio.io/istio-cni | ||
| helm template --values ${chartdir}/istio-cni/values.yaml --name=istio-cni --namespace=kube-system --set "excludeNamespaces={}" --set hub=${CNI_HUB} --set tag=${CNI_TAG} --set pullPolicy=IfNotPresent --set logLevel=${CNI_LOGLVL:-debug} ${chartdir}/istio-cni > istio-cni_install.yaml | ||
| kubectl apply -f istio-cni_install.yaml | ||
|
|
||
| HUB=${HUB:-gcr.io/istio-release} | ||
| TAG=${TAG:-master-latest-daily} | ||
|
|
||
| HUB=${HUB} TAG=${TAG} make istioctl | ||
|
|
||
| # Remove any pre-existing charts | ||
| # ...This seems to get around an issue seen with 1.1 where helm dep update fails with: | ||
| # /go/out/linux_amd64/release/helm dep update --skip-refresh install/kubernetes/helm/istio | ||
| # | ||
| # Error: Unable to move current charts to tmp dir: rename /go/src/istio.io/istio/install/kubernetes/helm/istio/charts /go/src/istio.io/istio/install/kubernetes/helm/istio/tmpcharts: invalid cross-device link | ||
| rm -rf /go/src/istio.io/istio/install/kubernetes/helm/istio/charts | ||
|
|
||
| HUB=${HUB} TAG=${TAG} ENABLE_ISTIO_CNI=true EXTRA_HELM_SETTINGS="--set istio-cni.excludeNamespaces={} --set istio-cni.hub=${CNI_HUB} --set istio-cni.tag=${CNI_TAG} --set istio-cni.pullPolicy=IfNotPresent --set istio-cni.logLevel=${CNI_LOGLVL:-debug}" E2E_ARGS="--kube_inject_configmap=istio-sidecar-injector ${SKIP_CLEAN:+ --skip_cleanup}" make test/local/auth/e2e_simple | ||
| HUB=${HUB} TAG=${TAG} ENABLE_ISTIO_CNI=true E2E_ARGS="--kube_inject_configmap=istio-sidecar-injector ${SKIP_CLEAN:+ --skip_cleanup}" make test/local/auth/e2e_simple | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a good default value