Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

[1.1.x] Add E2E tests using our examples against real clusters #237

Commits on Feb 26, 2024

  1. Add E2E tests against our examples on real clusters

    - Do not error out when deleting a non-existing namespace
    
    - Stream command output to the GinkgoWriter in real-time as well
    
    This allows following what happens when calling potentially long-running commands
    
    - Implement airgap test mode
    
    - Ignore error when creating a namespace that already exists
    
    - Allow to use existing mirror registry in airgap scenario
    
    - Extract constants for test modes
    
    - Add documentation
    
    - Find an easier way to determine the IMG variable, using the Makefile
    
    - Add more examples to README.md
    
    - Add note about clusters with hosted control planes
    
    - Support k3d clusters
    
    - Support Minikube clusters
    
    - Load image into local clusters using an archive instead
    
    This allows this logic to be agnostic to the container engine used to
    build the image. We rely on the container image to export the image to
    an archive ('{podman,docker} image save').
    
    - Run E2E test nightly on main and release branch
    rm3l authored and openshift-cherrypick-robot committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    2ca8111 View commit details
    Browse the repository at this point in the history
  2. Try running E2E tests on PRs by leveraging the already built operator…

    … image
    rm3l authored and openshift-cherrypick-robot committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    ceb603f View commit details
    Browse the repository at this point in the history
  3. Revert "Try running E2E tests on PRs by leveraging the already built …

    …operator image"
    
    This reverts commit fc87e04.
    rm3l authored and openshift-cherrypick-robot committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    d54cf5d View commit details
    Browse the repository at this point in the history
  4. Check if image exists locally before trying to export an archive

    If not, try to pull it automatically.
    This would avoid having to manually pull it.
    rm3l authored and openshift-cherrypick-robot committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    428e824 View commit details
    Browse the repository at this point in the history
  5. Update README.md

    Co-authored-by: Gennady Azarenkov <gazarenkov@gmail.com>
    2 people authored and openshift-cherrypick-robot committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    2ed28c7 View commit details
    Browse the repository at this point in the history
  6. Ignore gosec warnings in test code

    Those are not used in production
    rm3l authored and openshift-cherrypick-robot committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    ef99de3 View commit details
    Browse the repository at this point in the history
  7. Clarify in README that a connection to a cluster in the current kubec…

    …onfig is needed
    rm3l authored and openshift-cherrypick-robot committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    f3acdc3 View commit details
    Browse the repository at this point in the history
  8. Increase timeout when waiting for controller to be up

    On fresh clusters, 1 minute might be too short
    rm3l authored and openshift-cherrypick-robot committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    d2be7dc View commit details
    Browse the repository at this point in the history
  9. fixup! Clarify in README that a connection to a cluster in the curren…

    …t kubeconfig is needed
    rm3l authored and openshift-cherrypick-robot committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    fc5ea10 View commit details
    Browse the repository at this point in the history