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

Drive e2e-Framework Tests using Dagger #454

Open
vladimirvivien opened this issue Sep 22, 2024 · 0 comments
Open

Drive e2e-Framework Tests using Dagger #454

vladimirvivien opened this issue Sep 22, 2024 · 0 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@vladimirvivien
Copy link
Contributor

What do you want to see?

I came across Dagger and thought it would be a great tool to integrate with e2e-Framework tests. Dagger provides programmatic constructs to describe and implement build/publishing for CI/CD pipelines. Think of Dagger as a fancy/modern Makefile (instead you write your steps in languages like Go, Python, and Typescript).

There are minor overlaps between Dagger and e2e-Framework step functions. Both e2e-Framework steps functions and Dagger functions can be used to handle environment setup and teardowns. However, Dagger goes much further as it is designed for handling these steps. Dagger can

  • Setup containerized environment
  • Run unit tests (would trigger e2e-framework tests)
  • Build code into containers
  • Publish containers to repository

Proposal

  • Write an example documentation that shows how to use Dagger to drive e2e-framework test
  • Possibly create a default Dagger module, under third_party/dagger/modules that:
    • Setup test environment
    • Initialize Kind cluster
    • Launch test e2e-framework tests
    • Clean up
  • Investigate better integration with Dagger

Extra Labels

No response

@vladimirvivien vladimirvivien added the kind/feature Categorizes issue or PR as related to a new feature. label Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant