-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Hybrid Functionality and add custom Image resource (#413)
* Pull in ExtraTypes changes and update to Go 1.19 * Add Registry and Image as custom resources * disable typescript overlay * pull in hybrid provider RPC logic * put provider logic in provider package * add the correct ref tag for Registry * Update to most recent bridge * Organize code * remove demo username * correctly place token logic to decide which provider to use * save implementation details for later * remove overlay files from SDK * remove overlay file reference from resources.go * Regenerate SDKs * Add correct defaults to schema * rebuild sdks properly * linter fixes * resolve old types in Go SDK * Clean git tree * skip node tests * temporarily skip tests * Implement build and push functionality in dockerbuild function * update schema to use previous Registry type inputs * Update unputs in implementation * Make DockerBuild a Type instead * Read Dockerfile and Context from build input * Rename fields to match current Image implementation. Remove context and dockerfile requirements on build in favor of defaults. Add oneOf for build * Make build not required. Implement defaults in image.go for build defaults. * tag valid registry image name on top of local image name * implement skipPush * schematize the remaining Image fields * Add structs and populate the fields for Image, Build, and Registry * remove unnecessary CacheFrom struct * Add BuildArgs * fix logic for registry * add extra check for getCachedImages. Also try out a decoder, using EOF to break the info * reset back to a print statement for now * --amend * SkipRefresh: true for all local build tests. Disable ExtraRuntimeValidation. * clean git tree * Intercepts push errors. Fixes up info logs to the pulumi CLI. * linter cleanup * fix mermge conflicts * Unskip node test and remove SkipRefresh * Minimal Read implementation. Add Update functionality. Start Diff implementation * Make the URN token for Image be a constant * Implement Diff * Add an ID field for the resource using imageName * Fix Checkpoint logic for Diff, Create, and Update. Enable Secrets on provider * Unskip tests * linter fixes * Fix Dotnet type. Fix Go version. * update go veersion in examples folder. Update package dependency for TestDockerfileGo. * DockerBuild is now DockerBuildArgs * Add SkipNulls:true * skip dotnet test for now * Unskip test; require Pulumi.Docker.Inputs * add a semicolon * Remove test skip line * remove TODOs and add hybrid provider context * set Registry in a separate function * make Password secret * do not panic * remove duplicate call to Close(); pass along existing Context * Remove boilerplate cruft * update azure-py example so it at least compiles * server not registry in registryargs
- Loading branch information
1 parent
11c6d30
commit d58ed38
Showing
50 changed files
with
3,609 additions
and
4,104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.