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

[testing] Use image configuration to store and define image data #35

Open
duncdrum opened this issue Apr 6, 2021 · 0 comments
Open

Comments

@duncdrum
Copy link
Contributor

duncdrum commented Apr 6, 2021

For the images used in the integration test phase, there is no reason to pass al information about images to maven manually, thats what the image coniguration of the plugin is for, let's use it more efficiently.

define images inside the pom, so we don't have to provide repo.name + repo.port + image.name. Together with #30 the only thing that should be available to pass via mvn … is image.tag and image.alias

mvn -B -q -Ddocker.image.alias=Fusion -Ddocker.image.tag=nightly verify

Should run IT on a single image, by default

mvn -B -q verify

should run the IT test on all images defined in the pom in parallel, with randomly assigned external ports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant