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

Disable TC when no Docker around #9989

Merged
merged 2 commits into from
Oct 11, 2023

Conversation

poikilotherm
Copy link
Contributor

What this PR does / why we need it:
Disabling Testcontainers tests when no Docker is available unblocks devs that don't run these tests locally.

Which issue(s) this PR closes:

Closes #9974

Special notes for your reviewer:
None

Suggestions on how to test this:
Run mvn install on a machine without Docker, see it not fail.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Nope

Is there a release notes update needed for this change?:
Nope

Additional documentation:
None

As many of IQSS and external devs might not have Docker available,
let's deactivate any Testcontainers tests in these cases.
@poikilotherm poikilotherm added Feature: Developer Guide Component: Containers Anything related to cloudy Dataverse, shipped in containers. Size: 0.5 A percentage of a sprint. 0.35 hours labels Oct 10, 2023
Copy link
Contributor

@sekmiller sekmiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great. In the output you still see SEVERE: Could not find a valid Docker environment but the mvn install works without Docker running! Thanks, @poikilotherm! Approved!

@kcondon kcondon self-assigned this Oct 11, 2023
@kcondon kcondon merged commit fa04074 into IQSS:develop Oct 11, 2023
9 checks passed
@pdurbin pdurbin added this to the 6.1 milestone Oct 11, 2023
@poikilotherm poikilotherm deleted the 9974-disable-tc-no-docker branch October 2, 2024 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Containers Anything related to cloudy Dataverse, shipped in containers. Feature: Developer Guide Size: 0.5 A percentage of a sprint. 0.35 hours
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Netbeans, integration tests, Docker
4 participants