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

[#513] remove noRdAdmin profile #515

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Conversation

ewilkins-csi
Copy link
Contributor

@ewilkins-csi ewilkins-csi commented Dec 20, 2024

The TestContainers now respects the docker context so an explicit profile is no longer needed. Also fixes the healthcheck URL for drift-detection tests so the ITs don't wait the full timeout every time.

Ideally, we would use docker socket detection logic with file.exists and file.missing profile activations to update the dockerHost configuration or docker.host property of the docker-maven-plugin as indicated by the build error message when DOCKER_HOST is unset. However, because that plugin creates it's own config.json with only auth settings and always passes in --config during a buildx build, the builder will always look for the docker socket at /var/run/docker.sock. We will need to update the docker-maven-plugin source code to respect dockerHost during this config creation.

@@ -18,7 +18,15 @@ _Note: instructions for adapting to these changes are outlined in the upgrade in


# Known Issues
_There are no known issues with the 1.11 release._

## Docker Module Build Failures
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I: Putting this in known issues to keep pressure on us to smooth this out.

The TestContainers now respects the docker context so an explicit
profile is no longer needed.

Also fixes the healthcheck URL for drift-detection tests so the ITs
don't wait the full timeout every time.
@ewilkins-csi ewilkins-csi force-pushed the 513-remove-inflight-changes branch from 5eb5883 to 410135f Compare December 20, 2024 21:07
@@ -38,7 +38,7 @@ def before_all(context):
)

# call to health check to verify Drift Detection Services are started
health_check_url = "http://localhost:8084/q/health/live"
health_check_url = "http://localhost:8084/invoke-drift/health-check"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I: The previous healthcheck URL is not a valid endpoint in our deployment. This was causing the ITs to wait the full timeout and eventually print an error before continuing on to successfully execute the actual tests.

@ewilkins-csi ewilkins-csi changed the title [#513] detect docker socket location automatically [#513] remove noRdAdmin profile Dec 20, 2024
@ewilkins-csi ewilkins-csi merged commit 6bc370b into dev Dec 20, 2024
3 checks passed
@ewilkins-csi ewilkins-csi deleted the 513-remove-inflight-changes branch December 20, 2024 21:18
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

Successfully merging this pull request may close these issues.

2 participants