feat(develop): outbound-only new service flow#1050
feat(develop): outbound-only new service flow#1050bartoszmajsak wants to merge 87 commits intomasterfrom
Conversation
e2e/fundamental_use_cases_test.go
Outdated
|
|
||
| When("deploying new version of the service to the cluster", func() { | ||
|
|
||
| It("should deploy new instance of the service and make it reachable through special route", func() { |
There was a problem hiding this comment.
Should we reword these to "deploy updated instance/version" instead of using "new" to not confuse with "new service" ?
There was a problem hiding this comment.
My thinking here was that I'm deploying new service, but I agree it should be reworded. I'll take care of it.
There was a problem hiding this comment.
Not seeing the relevance? :)
There was a problem hiding this comment.
I think that should be more relevant: f31d18c
true is anyway default value to return so no need to evaluate this condition
Tests are poluting logs too much anyway. Default mode logs details on failures. In order to use verbose mode you can use `make test -v`
Opens Service entry creation to pass ports
| test-e2e: compile ## Runs end-to-end tests | ||
| $(call header,"Running end-to-end tests") | ||
| ginkgo e2e/ -r -v -progress -vet=off -trace --junit-report=ginkgo-test-results.xml ${args} | ||
| ginkgo e2e/ -r -progress -vet=off -trace --junit-report=ginkgo-test-results.xml ${args} |
There was a problem hiding this comment.
Didn't we add the -v to avoid the circle job to timeout with no output? Don't remember if that was successful or not
There was a problem hiding this comment.
That was verbose mode and it resulted in very noisy output. For seeing what's going on -progress is enough. See latest build https://app.circleci.com/pipelines/github/maistra/istio-workspace/3476/workflows/9bd1b0db-2859-45d0-9cb5-bdc1975663b2/jobs/8767?invite=true#step-108-820
53338bb to
c5214c6
Compare
|
/help |

Short description of what this resolves:
Enables working on newly created service through
ike develop new --name new-service -n namespacewhich takes care of creating all required k8s resources and then delegates the rest of the work to parentike developcommand. This work supports (and tests) service with outbound-only calls.For the actual test of this new feature see fundamental_use_cases_test.go
Changes proposed in this pull request:
ike develop newsubcommandstrings to actual files which are then//go:embeded for easy on-the-fly manipulationverifypackagePrinterfunc to abstract away howruntime.Objectsare printedpkg/Fixes #1022
TODO
scenario-1.1for example)Open questions
--nameis not passed should it be autogenerated or is it required?Carry-overs
--swap-deploymentstrategy instead