Skip to content

Conversation

@davidfowl
Copy link
Member

@davidfowl davidfowl commented Apr 19, 2025

Description

  • Introduced DefaultContainerRegistry and DefaultNetworkName properties in DockerComposeEnvironmentResource.
  • Added WithProperties and ConfigureComposeFile extension methods for configuring DockerComposeEnvironmentResource.
  • Updated DockerComposePublishingContext to utilize DefaultNetworkName.
  • Modified tests to validate new properties and ensure correct Docker Compose output.

Fixes #8845

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No
  • Does the change require an update in our Aspire docs?
    • No

… tests

- Introduced DefaultContainerRegistry and DefaultNetworkName properties in DockerComposeEnvironmentResource.
- Added WithProperties extension method for configuring DockerComposeEnvironmentResource.
- Updated DockerComposePublishingContext to utilize DefaultNetworkName.
- Modified tests to validate new properties and ensure correct Docker Compose output.
@github-actions github-actions bot added the area-integrations Issues pertaining to Aspire Integrations packages label Apr 19, 2025
@eerhardt eerhardt enabled auto-merge (squash) April 19, 2025 12:31
@eerhardt eerhardt merged commit 62c6cf0 into main Apr 19, 2025
175 checks passed
@eerhardt eerhardt deleted the davidfowl/docker-compose-props branch April 19, 2025 12:47
@github-actions github-actions bot locked and limited conversation to collaborators May 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-integrations Issues pertaining to Aspire Integrations packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose docker compose file to mutate

3 participants