-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
root: add --registry-mirror flag #836
Conversation
Signed-off-by: Yoan Blanc <[email protected]>
Signed-off-by: Yoan Blanc <[email protected]>
Who could give me hand for the integration tests? |
@greut currently our integration tests are not sophisticated :) |
Signed-off-by: Yoan Blanc <[email protected]>
Signed-off-by: Yoan Blanc <[email protected]>
Signed-off-by: Yoan Blanc <[email protected]>
We need this. What is necessary for this to move on? |
Integration tests failure
|
Signed-off-by: Yoan Blanc <[email protected]>
Signed-off-by: Yoan Blanc <[email protected]>
@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 <[email protected]>
integration/integration_test.go
Outdated
@@ -183,7 +184,6 @@ func TestRun(t *testing.T) { | |||
|
|||
func TestGitBuildcontext(t *testing.T) { | |||
repo := "github.com/GoogleContainerTools/kaniko" | |||
dockerfile := "integration/dockerfiles/Dockerfile_test_run_2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <[email protected]>
Signed-off-by: Yoan Blanc <[email protected]>
2811db8
to
5f482ed
Compare
0ab552a
to
2dadde9
Compare
2dadde9
to
611ba51
Compare
09828d2
to
474fdcf
Compare
Signed-off-by: Yoan Blanc <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
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.