Ramon Quitales d46882f9eb Do not diff __internal property in DiffConfig (#414)
This PR updates the implementation of DiffConfig to remove the
`__internal` property when comparing provider config between old state
and new input. It is observed that the `__internal` property is present
when a default provider is used. This causes a provider replacement
every time a user upgrades pulumi-docker-build, as the `__internal`
property is always stripped from state, so Pulumi will always report a
diff.

Ideally, we should determine if this bug can be fixed in either upstream
pulumi-go-provider or pulumi itself. For now, we will fix this locally
within pulumi-docker-build to unblock our users.

Changes:

- Update DiffConfig implementation to strip `__internal` property from
new inputs.
- Add a nodejs upgrade test to test that this solution works

Fixes: #404
2025-01-14 15:01:51 -08:00
2024-03-07 11:17:15 -08:00
2024-05-30 13:50:54 +01:00
2024-05-30 13:50:54 +01:00
2024-03-07 11:17:15 -08:00
2024-03-07 11:17:15 -08:00
2024-03-20 11:09:37 -07:00
2024-03-07 11:17:15 -08:00

Slack NPM version Python version NuGet version PkgGoDev License

Docker-Build Resource Provider

A Pulumi provider for building modern Docker images with buildx and BuildKit.

Not to be confused with the earlier Docker provider, which is still appropriate for managing resources unrelated to building images.

Provider Use cases
@pulumi/docker-build Anything related to building images with docker build.
@pulumi/docker Everything else -- including running containers and creating networks.

Reference

For more information, including examples and migration guidance, please see the Docker-Build provider's detailed API documentation.

Description
No description provided
Readme Apache-2.0 4.8 MiB
Languages
Go 94.8%
Makefile 4.6%
Shell 0.6%