-
Notifications
You must be signed in to change notification settings - Fork 80
cross-repo e2e gating for the operator #379
Conversation
Depends-On: istio/operator#379
tests/e2e/e2e.sh
Outdated
|
||
function cleanup_kind_cluster() { | ||
kind export logs --name istio-testing "${ARTIFACTS}/kind" | ||
# kind delete cluster --name=istio-testing |
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.
This is a must have! see kubernetes-sigs/kind#759. We should have a consolidated kind library. Maybe in common files? Opened istio/istio#17948 to track this
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.
I agree a consolidated setup library would be great. When I come up for air after 1.4, I had planned to work a bit more on cross-repo gating and make things generic enough so that different components can use the same set of scripts...
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.
comment removed from line 23.
- name: default | ||
protocol: layer2 | ||
addresses: | ||
- 172.17.255.1-172.17.255.250 |
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.
will this work in all environments? An alternative used in installer is a nodeport
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.
I am not sure. It works where we need it the most - which is automated testing. This (should) work on all Linux platforms. I have read in the past this may not work well on mac, but I have no reason to think it may not. I'd suggest a little latitude here, so I can prove this out, and if things are not working, I can setup the call to --use-local or whatever it is for e2e. We have a project goal of getting rid of nodeport testing...
tests/e2e/e2e.sh
Outdated
} | ||
|
||
function setup_docker() { | ||
# HUB=istio-testing TAG=istio-testing make -f Makefile.core.mk docker |
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.
don't we need to build?
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.
done. Not sure why things worked well for me prior.
tests/e2e/e2e.sh
Outdated
|
||
if [[ ! -d "${ISTIO_DIR}" ]] | ||
then | ||
git clone https://github.com/istio/istio.git "${ISTIO_DIR}" |
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.
shouldn't this be done before we write the istio-operator.yaml?
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.
done.
This work runs e2e testing using end to end testing against the istio/istio repository. To run - use `make e2e`. Depends-On: istio/istio#17864
@howardjohn PTAL thanks! |
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.
looks good except that one comment
go.mod
Outdated
@@ -69,6 +69,7 @@ require ( | |||
k8s.io/kube-proxy v0.0.0-00010101000000-000000000000 // indirect | |||
k8s.io/kubectl v0.0.0-20191003004222-1f3c0cd90ca9 | |||
sigs.k8s.io/controller-runtime v0.2.2 | |||
sigs.k8s.io/kind v0.5.1 // indirect |
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.
this should not be here and pulls in dependencies that may not be ok for istio/istio
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.
Ya not sure why this is present will fix this after dinner tonight.
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.
Ya not sure why this is present will fix this after dinner tonight.
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.
@sdake Can we addd license CC-BY-4.0 to https://github.com/istio/operator/blob/master/common/config/license-lint.yml to pass the license linter?
@sdake: The following test failed, say
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
I reverted the gomod changes so the liniter should be gtg now. |
# Create a clone of the Istio repository | ||
if [[ ! -d "${ISTIO_DIR}" ]] | ||
then | ||
git clone https://github.com/sdake/istio.git "${ISTIO_DIR}" |
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 correct? pointing to your personal repo?
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.
also, not sure why this cmd is needed? Seems you need to clone the istio-operator repo to get the deploy dir.
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.
please follow up on this
# Create a clone of the Istio repository | ||
if [[ ! -d "${ISTIO_DIR}" ]] | ||
then | ||
git clone https://github.com/sdake/istio.git "${ISTIO_DIR}" |
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.
please follow up on this
* Implement operator e2e Depends-On: istio/operator#379 * Address reviewer comments
* Implement operator e2e Depends-On: istio/operator#379 * Address reviewer comments
* Implement operator e2e Depends-On: istio/operator#379 * Address reviewer comments
* Implement operator e2e Depends-On: istio/operator#379 * Address reviewer comments
* Implement operator e2e Depends-On: istio/operator#379 * Address reviewer comments
* Implement operator e2e Depends-On: istio/operator#379 * Address reviewer comments
* Implement operator e2e Depends-On: istio/operator#379 * Address reviewer comments
* Implement operator e2e Depends-On: istio/operator#379 * Address reviewer comments
* Implement operator e2e Depends-On: istio/operator#379 * Address reviewer comments
This work runs e2e testing using end to end testing against the
istio/istio repository.
To run - use
make e2e
.Depends-On: istio/istio#17864