Skip to content
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

Use a local registry in build-push-kaniko #1415

Merged
merged 1 commit into from
Oct 11, 2019

Commits on Oct 10, 2019

  1. Use a local registry in build-push-kaniko

    This is a first step in making our E2E tests more portable and less
    dependent on resources outside of the k8s cluster they run into.
    
    This changes the build-push-kaniko taskrun example.
    There is a lot of infra setup required to make sure that the service
    account used by test is able to push to a registry. The test script
    replaces the image URL in the resource with the content of the
    KO_DOCKER_REPO environment variable. If that is a gcr.io url then
    the service account must be setup for access to it.
    
    The updated version runs a local registry as a sidecar in the pod.
    The task now can push to localhost:5000. The port is not exposed
    outside of the pod so there is no risk of interference with other
    tests.
    
    Partially fixes tektoncd#1372
    afrittoli committed Oct 10, 2019
    Configuration menu
    Copy the full SHA
    1fbe544 View commit details
    Browse the repository at this point in the history