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

Support Docker Compose as environment description #9

Open
yorugac opened this issue Sep 18, 2024 · 0 comments
Open

Support Docker Compose as environment description #9

yorugac opened this issue Sep 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@yorugac
Copy link
Collaborator

yorugac commented Sep 18, 2024

Currently xk6-environment supports description via Kubernetes manifests and vcluster. That's not the only way to describe the environment and while we shouldn't aim to support all of them, it makes sense to consider the Docker Compose. It is used rather frequently as an alternative "environment description" to Kubernetes.

This will require a full re-implementation of all functionality, with another implementation in definition:

const env = new Environment({
  name: "some-name",
  implementation: "docker-compose", // <-- new kind here
})

Function signatures would also need to be considered carefully. For example, wait function might take a somewhat different form as a result: with another set of fields specific for Docker Compose, and so on.

@yorugac yorugac added the enhancement New feature or request label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant