Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Add client config option + registry auth e2e tests #844

Merged
merged 8 commits into from
Jun 7, 2021

Commits on May 23, 2021

  1. Add client-config-dir configuration

    - Adds a --client-config-dir flag in VM create, image import and kernel
    import subcommands.
    - Adds field clientConfigDir in ignite configuration.
    - Update v1alpha4 API and add custom conversion function for v1alpha3.
    darkowlzz committed May 23, 2021
    Configuration menu
    Copy the full SHA
    8612708 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    45ee919 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2021

  1. Add e2e tests for registry authentication

    - Adds setup-private-registry.sh script to setup a local docker registry
    with self-signed cert and basic auth.
    - Adds test util to delete image from ignite and the runtime content
    store.
    - Adds e2e tests for image import with configurations set via flag and
    ignite configuration.
    - Enable docker registry setup only in semaphore CI for e2e tests.
    - Update go version in semaphore to 1.16.3 to use os.WriteFile().
    darkowlzz committed May 24, 2021
    Configuration menu
    Copy the full SHA
    12e0919 View commit details
    Browse the repository at this point in the history
  2. Implement insecure registry behavior for containerd client WRT HTTP a…

    …nd TLS-ignore-verify /w tests :)
    
    Co-Authored-By: Sunny <darkowlzz@protonmail.com>
    stealthybox and darkowlzz committed May 24, 2021
    Configuration menu
    Copy the full SHA
    db2150d View commit details
    Browse the repository at this point in the history

Commits on May 31, 2021

  1. Add TestNewRemoteResolver

    This mainly checks if the remote resolver enforces the usage of insecure
    registries when the registry server address is http.
    darkowlzz committed May 31, 2021
    Configuration menu
    Copy the full SHA
    bcc598b View commit details
    Browse the repository at this point in the history
  2. TestPullFromAuthRe..: handle registry start/stop

    TestPullFromAuthRegistry executes the script to set up the registries
    at the beginning and stop the registries at the end of the test.
    
    Remove registry setup from semaphore
    darkowlzz committed May 31, 2021
    Configuration menu
    Copy the full SHA
    dfcebe8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b569d97 View commit details
    Browse the repository at this point in the history
  4. registry: Use a test docker config directory

    When the registry set up script is execited from the go e2e tests, it
    modified the user's default docker config permissions. Use a test config
    directory to avoid modifying the default docker configuration file.
    darkowlzz committed May 31, 2021
    Configuration menu
    Copy the full SHA
    a56e739 View commit details
    Browse the repository at this point in the history