@@ -52,16 +52,28 @@ jobs:
5252 # Should only happen when re-running a job, and the workspace is gone
5353 time make build test-bins
5454 fi
55- make docker.tag generate_yaml
55+ make docker.all generate_yaml
5656 - run : bin/testEnvRootMinikube.sh wait
5757 - run : docker images
58- - run : PATH=$GOPATH/bin:$PATH make e2e_simple_run E2E_ARGS="--skip_cleanup -use_local_cluster -cluster_wide -test.v"
58+ - run : make test/minikube/noauth/e2e_simple
59+ - run :
60+ name : dumpsys
61+ when : always
62+ command : |
63+ mkdir -p /go/out/logs
64+ # TODO: move to a make target 'dumpsys'.
65+ kubectl get all -o wide --all-namespaces
66+ kubectl cluster-info dump > /go/out/logs/cluster-info.dump.txt
67+ kubectl describe pods -n istio-system > /go/out/logs/pods-system.txt
68+ /go/bin/go-junit-report </go/out/tests/test-report-noauth-simple.raw > /go/out/tests/test-report-noauth-simple.xml
5969 - store_artifacts :
6070 path : /home/circleci/logs
6171 - store_artifacts :
6272 path : /tmp
6373 - store_artifacts :
6474 path : /var/lib/localkube/
75+ - store_test_results :
76+ path : /go/out/tests
6577
6678 e2e-dashboard :
6779 << : *integrationDefaults
90102 # Should only happen when re-running a job, and the workspace is gone
91103 time make build test-bins
92104 fi
93- make docker.tag generate_yaml
105+ make docker.all generate_yaml
94106 - run : bin/testEnvRootMinikube.sh wait
95107 - run : docker images
96108 - run : PATH=$GOPATH/bin:$PATH make e2e_dashboard E2E_ARGS="--skip_cleanup -use_local_cluster -test.v"
@@ -128,7 +140,7 @@ jobs:
128140 # Should only happen when re-running a job, and the workspace is gone
129141 time make build test-bins
130142 fi
131- make docker.tag generate_yaml
143+ make docker.all generate_yaml
132144 - run : bin/testEnvRootMinikube.sh wait
133145 - run : docker images
134146 - run :
@@ -167,7 +179,7 @@ jobs:
167179 # Should only happen when re-running a job, and the workspace is gone
168180 time make build test-bins
169181 fi
170- make docker.tag generate_yaml
182+ make docker.all generate_yaml
171183 - run : bin/testEnvRootMinikube.sh wait
172184 - run : docker images
173185 - run :
@@ -208,25 +220,20 @@ jobs:
208220 # Should only happen when re-running a job, and the workspace is gone
209221 time make build test-bins
210222 fi
211- make docker.tag generate_yaml
223+ make docker.all generate_yaml
212224 - run : bin/testEnvRootMinikube.sh wait
213225 - run : docker images
214- - run :
215- command : |
216- mkdir -p /go/out/tests
217- #trap "go-junit-report </go/out/tests/go-test-report.out > /go/out/tests/go-test-report.xml" EXIT
218- # Run the tests in env similar with recommended setup.
219- make test/minikube/auth/e2e_pilot HUB="${HUB}" TAG="${TAG}" \
220- | tee -a /go/out/tests/go-test-report.out
226+ - run : make test/minikube/noauth/e2e_pilot HUB="${HUB}" TAG="${TAG}"
221227 - run :
222228 name : dumpsys
223229 when : always
224230 command : |
225231 # TODO: move to a make target 'dumpsys'.
226232 kubectl get all -o wide --all-namespaces
227233 kubectl cluster-info dump > /go/out/logs/cluster-info.dump.txt
228- kubectl describe pods -n istio-system > /go/out/logs/pods-system.txt
229- kubectl describe pods -n istio-test > /go/out/logs/pods-test.txt
234+ kubectl describe pods -n pilot-noauth-system > /go/out/logs/pods-system.txt
235+ kubectl describe pods -n pilot-noauth > /go/out/logs/pods-test.txt
236+ /go/bin/go-junit-report </go/out/tests/test-report-noauth-pilot.raw > /go/out/tests/test-report-noauth-pilot.xml
230237 - store_artifacts :
231238 path : /go/out/tests
232239 - store_artifacts :
@@ -237,7 +244,7 @@ jobs:
237244 path : /go/out/tests
238245
239246
240- e2e-pilot-noauth :
247+ e2e-pilot-auth :
241248 << : *integrationDefaults
242249 environment :
243250 - GOPATH : /go
@@ -264,12 +271,30 @@ jobs:
264271 # Should only happen when re-running a job, and the workspace is gone
265272 time make build test-bins
266273 fi
267- make docker.tag generate_yaml
274+ make docker.all generate_yaml
268275 - run : bin/testEnvRootMinikube.sh wait
269276 - run : docker images
270- - run : make e2e_pilot HUB="${HUB}" TAG="${TAG}" TESTOPTS="--skip-cleanup -mixer=true -auth_enable=false -errorlogsdir=/home/circleci/logs -use-sidecar-injector=false --core-files-dir=/home/circleci/logs"
277+ - run : make test/minikube/auth/e2e_pilot HUB="${HUB}" TAG="${TAG}"
278+ - run : make test/minikube/auth/e2e_pilot_alpha1 HUB="${HUB}" TAG="${TAG}"
279+ - run :
280+ name : dumpsys
281+ when : always
282+ command : |
283+ # TODO: move to a make target 'dumpsys'.
284+ kubectl get all -o wide --all-namespaces
285+ kubectl cluster-info dump > /go/out/logs/cluster-info.dump.txt
286+ kubectl describe pods -n pilot-auth > /go/out/logs/pods-system.txt
287+ kubectl describe pods -n pilot-auth-system > /go/out/logs/pods-test.txt
288+ /go/bin/go-junit-report </go/out/tests/test-report-auth-pilot.raw > /go/out/tests/test-report-auth-pilot.xml
289+ /go/bin/go-junit-report </go/out/tests/test-report-auth-pilot-v1.raw > /go/out/tests/test-report-auth-pilot-v1.xml
271290 - store_artifacts :
272- path : /home/circleci/logs
291+ path : /go/out/tests
292+ - store_artifacts :
293+ path : /go/out/logs
294+ - store_artifacts :
295+ path : /tmp
296+ - store_test_results :
297+ path : /go/out/tests
273298
274299 e2e-pilot-v1alpha1-and-v1alpha3 :
275300 << : *integrationDefaults
@@ -300,7 +325,7 @@ jobs:
300325 # Should only happen when re-running a job, and the workspace is gone
301326 time make build test-bins
302327 fi
303- make docker.tag generate_yaml
328+ make docker.all generate_yaml
304329 - run : bin/testEnvRootMinikube.sh wait
305330 - run : docker images
306331 - run : make e2e_pilot HUB="${HUB}" TAG="${TAG}" TESTOPTS="--skip-cleanup -mixer=true -auth_enable=true -v1alpha3=true -v1alpha1=true -errorlogsdir=/home/circleci/logs -use-sidecar-injector=false --core-files-dir=/home/circleci/logs"
@@ -445,7 +470,7 @@ jobs:
445470 - run :
446471 command : |
447472 cd /go/src/istio.io/istio
448- make build test-bins
473+ make build test-bins /go/bin/go-junit-report
449474 - persist_to_workspace :
450475 root : /go
451476 paths :
@@ -481,7 +506,7 @@ jobs:
481506# paths:
482507# - /go/pkg
483508
484- docker-push :
509+ nightly :
485510 << : *defaults
486511 resource_class : xlarge
487512 environment :
@@ -491,12 +516,14 @@ jobs:
491516 at : /go
492517 - setup_remote_docker :
493518 docker_layer_caching : true
519+ - run : make istio-archive
494520 - run :
495521 command : |
496522 if [ ! -z "${DOCKER_USER}" ] ; then
497523 echo "Pushing docker images"
498524 docker login -u ${DOCKER_USER} -p ${DOCKER_PASS}
499- make docker push
525+ # The xenail debug image is built first, will be used in the next steps
526+ make docker.push.basedebug docker.all push
500527 fi
501528
502529 goxbuild :
@@ -551,7 +578,7 @@ workflows:
551578 - e2e-pilot :
552579 requires :
553580 - test
554- - e2e-pilot-noauth :
581+ - e2e-pilot-auth :
555582 requires :
556583 - test
557584 - benchcheck :
@@ -561,13 +588,13 @@ workflows:
561588 - goxbuild :
562589 requires :
563590 - test
564- # Push to dockerhub
565- - docker-push :
591+ # Nightly release
592+ - nightly :
566593 context : org-global
567594 requires :
568595 - e2e-simple
569596 - e2e-pilot
570- - e2e-pilot-noauth
597+ - e2e-pilot-auth
571598
572599 periodic :
573600 triggers :
@@ -598,7 +625,7 @@ workflows:
598625 - e2e-pilot-v1alpha1-and-v1alpha3 :
599626 requires :
600627 - build
601- - e2e-pilot-noauth :
628+ - e2e-pilot-auth :
602629 requires :
603630 - build
604631 - benchcheck :
@@ -644,7 +671,7 @@ workflows:
644671 - e2e-pilot :
645672 requires :
646673 - build
647- - e2e-pilot-noauth :
674+ - e2e-pilot-auth :
648675 requires :
649676 - build
650677 - e2e-simple :
0 commit comments