Integrate circle CI with Testgrid#4649
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4649 +/- ##
=======================================
+ Coverage 73% 73% +1%
=======================================
Files 311 311
Lines 25949 26144 +195
=======================================
+ Hits 18826 19061 +235
+ Misses 6364 6318 -46
- Partials 759 765 +6
Continue to review full report at Codecov.
|
.circleci/Dockerfile
Outdated
There was a problem hiding this comment.
How big is it ? Is it a script ? Can we check it in ?
There was a problem hiding this comment.
Yeah I removed this from docker image and create a separate scripts in bin/. See istio/test-infra#769 for the source of ci_to_gubernator
af2b305 to
84fd1b3
Compare
4e91016 to
c7ea090
Compare
70c6fcb to
842c361
Compare
|
PTAL @costinm @sebastienvas The makefile is left intact and logics moved to circle ci config yaml, which uses anchors to reuse the same routines. More details are in my previous comment. |
costinm
left a comment
There was a problem hiding this comment.
Better - but still small comments.
.circleci/config.yml
Outdated
There was a problem hiding this comment.
The make targets should internally tee, but into $OUT/... not tmp
There was a problem hiding this comment.
This likely has the same problem we had in the past with pipefail.
There was a problem hiding this comment.
Every run step in circle ci is executed in the #!/bin/bash -eo pipefail environment, so pipe into tee directly is fine and this command will exit with the same exit code as the make e2e_* target. I had the same concern as you do but then I noticed quite a few usage of this fashion in the circle ci config yaml so I think it is fine.
I would prefer instrumenting the tee command outside of the makefile as different CI handles the log differently and developers may not care storing the logs separately besides seeing them on console already (just like we don't generate the junit xml by default and actually do so in a second steps)
.circleci/config.yml
Outdated
There was a problem hiding this comment.
junit.xml is used by circleci for its internal reporting - and should be generated under out/tetss (see store_test_results)
|
PTAL @costinm |
bin/ci2gubernator.sh
Outdated
There was a problem hiding this comment.
Please remove the wget part.
|
/lgtm |
|
PTAL |
|
/test |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: costinm, sebastienvas The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test all [submit-queue is verifying that this PR is safe to merge] |
|
@chxchx: The following tests failed, say
DetailsInstructions 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. |
|
Automatic merge from submit-queue. |
|
looks like this broke circleci - any idea how come it went through undetected ? bin/ci2gubernator.sh: line 25: CIRCLE_PR_NUMBER: unbound variable |
|
As the discussion from slack, the issue seems to happen on PRs from a branch in istio/istio (same repo) and not for PRs from forked repos. Pending further investigation, the immediate fix is here #5137. |
|
thx for the quick fix, please file a follow up issue |
| make docker.all generate_yaml | ||
| - run: bin/testEnvRootMinikube.sh wait | ||
| - run: docker images | ||
| - run: make test/minikube/auth/e2e_simple |
There was a problem hiding this comment.
hey I had fixed this test to be running with auth (it needs to) - this PR reverted my fix
|
fixing the e2e simple change from auth -> noauth; back to auth in |
|
Sorry that was probably messed up when I was fixing merge conflicts. Good catch! |
The integration will start with mixer and simple e2e tests. Will expand to other jobs in subsequent PRs.
Results are now available on
https://k8s-testgrid.appspot.com/istio#circleci-e2e-mixer
https://k8s-testgrid.appspot.com/istio#circleci-e2e-simple
Those are test results from this PR exclusively. After this is merged, the results will be more interesting.
The
ci_to_gubernatorbinary is built from istio/test-infra#769. Feel free to also take a look.