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

Use new docker build provider #1278

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Use new docker build provider #1278

wants to merge 1 commit into from

Conversation

blampe
Copy link
Contributor

@blampe blampe commented Apr 26, 2024

This is a quick POC replacing the old Docker provider with the new Docker Build provider.

SDK types are unchanged -- those remain the old Docker API.

Behavior is unchanged, except we will now automatically store and use an inline cache if the user hasn't configured anything explicitly.

@blampe blampe changed the title docker-build Use new docker build provider Apr 26, 2024
@blampe blampe marked this pull request as draft April 26, 2024 22:32
Copy link
Member

@lukehoban lukehoban left a comment

Choose a reason for hiding this comment

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

SDK types are unchanged -- those remain the old Docker API.

The @pulumi/docker typess don't show up in the public API of this component, right? So what do you mean that "SDK types are unchanged"? I assume we can remove the dependency on @pulumi/docker from both the implementation, and update the implied depdendency in the schema (which I assume is only to hint at the internal dependnecy - even though not strictly needed?). Feel like maybe I'm missing something that motivated this comment though?

@@ -22,8 +22,9 @@
},
"//": "Pulumi sub-provider dependencies must be pinned at an exact version because we extract this value to generate the correct dependency in the schema",
"dependencies": {
"@pulumi/aws": "6.32.0",
"@pulumi/aws": "6.9.0",
"@pulumi/docker": "4.5.1",
Copy link
Member

Choose a reason for hiding this comment

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

Can we remove this dependency?

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.

None yet

2 participants