root: add --registry-mirror flag#836
Conversation
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
|
Who could give me hand for the integration tests? |
|
@greut currently our integration tests are not sophisticated :) |
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
|
We need this. What is necessary for this to move on? |
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
|
Integration tests failure |
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
|
@cvgw Indeed, I didn't take the proper time to understand how the integration test where meant to be written. Let me know if makes more sense now. |
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
|
|
||
| func TestGitBuildcontext(t *testing.T) { | ||
| repo := "github.com/GoogleContainerTools/kaniko" | ||
| dockerfile := "integration/dockerfiles/Dockerfile_test_run_2" |
There was a problem hiding this comment.
This causing the integration tests to fail as the references to dockerfile have not been updated
# github.com/GoogleContainerTools/kaniko/integration [github.com/GoogleContainerTools/kaniko/integration.test]
./integration_test.go:193:10: undefined: dockerfile
./integration_test.go:206:10: undefined: dockerfile
./integration_test.go:248:10: undefined: dockerfile
./integration_test.go:286:2: undefined: dockerfile
./integration_test.go:291:10: undefined: dockerfile
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2811db8 to
5f482ed
Compare
0ab552a to
2dadde9
Compare
2dadde9 to
611ba51
Compare
09828d2 to
474fdcf
Compare
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
|
Kokoro failure is safe to ignore since Kokoro doesn't use the pull request branch for test cases dockerfiles. See error in kokoro here: |
|
A Googler has manually verified that the CLAs look good. (Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.) ℹ️ Googlers: Go here for more info. |
|
@greut Is it possible to support multiple registry-mirrors. If one fails, then it would use another one or the default. This is useful for use cases such as docker hub limitation with API calls. We could leverage off google mirror cache and if it doesn't have it go to docker hub to pull it into the cache. |
Fixes #406.
Description
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Reviewer Notes
Release Notes
Describe any changes here so maintainer can include it in the release notes, or delete this block.