Skip to content

move RegistryConfig to resolver package#2151

Merged
tonistiigi merged 1 commit intomoby:masterfrom
thaJeztah:move_config_opt
Jun 8, 2021
Merged

move RegistryConfig to resolver package#2151
tonistiigi merged 1 commit intomoby:masterfrom
thaJeztah:move_config_opt

Conversation

@thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Jun 5, 2021

relates to moby/moby#42465 (comment)

This allows using the resolver package without having to import the buildkit daemon configuration.

Aliasses were added in the config package for backward compatibility, and to allow for the config package to diverge / extend the internal type if needed.

@thaJeztah
Copy link
Member Author

Ah, hm.. messed up. Fixing

@thaJeztah thaJeztah marked this pull request as draft June 5, 2021 19:17
@thaJeztah thaJeztah marked this pull request as ready for review June 5, 2021 19:57
@thaJeztah
Copy link
Member Author

@tonistiigi @AkihiroSuda ptal

Copy link
Member

@tonistiigi tonistiigi left a comment

Choose a reason for hiding this comment

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

SGTM

Key string `toml:"key"`
Certificate string `toml:"cert"`
}
type RegistryConfig = resolver.RegistryConfig
Copy link
Member

Choose a reason for hiding this comment

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

Is this needed? Just adds confusion probably.

Copy link
Member Author

Choose a reason for hiding this comment

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

This allows using the resolver package without having to import
the buildkit daemon configuration.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@tonistiigi tonistiigi merged commit 884578f into moby:master Jun 8, 2021
@thaJeztah thaJeztah deleted the move_config_opt branch June 8, 2021 17:59
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