-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Conversation
3119524
to
b00257a
Compare
3c1874a
to
cd958bb
Compare
c99bf09
to
bd8750d
Compare
fc81ed8
to
e3f0555
Compare
The |
I tried to run this on my machine and I noticed a couple of things.
|
helm install fails if they exist, and I thought preventively removing them is too invasive.
Huh, that's odd, I tested it both with Kind and my local Docker for Mac cluster. I will install minikube and give it a try.
This means helm fails but gets to create the CRDs, right? I will look into this. |
Removing them would probably be too invasive, maybe we can detect them and add a
Correct, please note that purging a release with |
I didn't know about that, will do. |
e3f0555
to
3b84f81
Compare
@hiddeco I tried with a Minikube instance in my Mac and it worked just fine, could you please try again? |
Hrm. Part of my aim in #1895 was to make it easier to add more tests, by keeping the set-up separate from the test (and to some extent modular). What was the motivation for lumping them all together? |
It simply made the cleanup much easier. I can split them up, but I would like to drive that by an additional test. Would you mind if we do that later? |
How much do you reckon would that end up looking like the prior state (or that in #1895)? If "not much", then OK sure let's do it later. If "somewhat", then I feel like that particular change in this PR is taking a step backwards, for a short term convenience. I suppose that boils down to: is it better to roll forward from changes made to the bits of script here, or port those changes back to the scripts as they were. I have no especial attachment to the work in #1895 except in so far as it made it possible to run some a subset of the setup scripts. |
@squaremo no strong opinions, the hardest part by far here was reusing the artifacts from the build in the e2e test (which isn't directly related to the scripts, it was mostly moving everything to a machine executor since Kind needs that). Also cleaning things up during local execution was tricky. I think splitting things up again shouldn't be too hard. It may end up looking (in structure) like before, but I am not sure that should be a show stopper. I think the crucial bit is what parts we want to reuse between tests, which I want to drive by adding actual tests. |
8d82964
to
929e31e
Compare
👍 You're in the best position to make that call, so all good by me |
@hiddeco Can I have a rubber-stamp? (I will remove the |
I was waiting for this before stamping it, there you go 📮 |
* Run sequentially after build and tests in CircleCI to reuse artifacts * Support running it locally (both in Linux and Darwin systems) through `make e2e`. An existing Kubernetes cluster will be used if available, otherwise a cluster will be created with Kind.
7dbb581
to
015bfd5
Compare
make e2e
. An existing Kubernetes cluster will be used if available, otherwise a cluster will be created with Kind.Supersedes #1895