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

✨ Enable using setup-envtest without a separate CLI #2810

Draft
wants to merge 21 commits into
base: main
Choose a base branch
from

Commits on Apr 21, 2024

  1. Duplicate code from setup-envtest that can be easily reused

    Since the error handling in the setup-envtest executable main path is
    built on panics, recovers and os.Exit, it isn't ideal for re-using in a
    version that downloads binaries within the test run.
    
    However, much of the heavy lifting is performed by the remote, store and
    versions packages, which _do_ properly return errors, and can readily be
    reused in a new implementation.
    
    This commit just duplicates the code from under tools/setup-envtest to
    pkg/envtest, where we can build a new entry point that is easier to use
    from within tests.
    tomasaschan committed Apr 21, 2024
    Configuration menu
    Copy the full SHA
    540e4ff View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. Configuration menu
    Copy the full SHA
    11ed5ff View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Configuration menu
    Copy the full SHA
    2b6dcd6 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2024

  1. Re-implement list

    Some options might be missing...
    tomasaschan committed May 3, 2024
    Configuration menu
    Copy the full SHA
    994bdf9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5895e96 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5cb9e36 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    36c1749 View commit details
    Browse the repository at this point in the history
  5. Implement sideload

    This also removes the last references to the old env package!
    tomasaschan committed May 3, 2024
    Configuration menu
    Copy the full SHA
    0b7a1f5 View commit details
    Browse the repository at this point in the history
  6. Harmonize WithEnvOptions to plural

    Also ensure binDir option is used in all workflows
    tomasaschan committed May 3, 2024
    Configuration menu
    Copy the full SHA
    4cbd6c4 View commit details
    Browse the repository at this point in the history
  7. Add/fix docstrings

    tomasaschan committed May 3, 2024
    Configuration menu
    Copy the full SHA
    3006cda View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    caa6a3f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    63a7141 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e10c2f5 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b3a4f85 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. Configuration menu
    Copy the full SHA
    a99e5c3 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. Port more of Use tests

    tomasaschan committed May 13, 2024
    Configuration menu
    Copy the full SHA
    dc226b6 View commit details
    Browse the repository at this point in the history
  2. Fix usage from CLI

    tomasaschan committed May 13, 2024
    Configuration menu
    Copy the full SHA
    eafaf70 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    843e86e View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. Fix test and simplify

    tomasaschan committed May 14, 2024
    Configuration menu
    Copy the full SHA
    4f6aa89 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2024

  1. Configuration menu
    Copy the full SHA
    8cebb21 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2024

  1. Configuration menu
    Copy the full SHA
    3d4a463 View commit details
    Browse the repository at this point in the history