Skip to content

cmd: add skaffold deploy#624

Merged
r2d4 merged 1 commit intoGoogleContainerTools:masterfrom
r2d4:skaffold-deploy
Jun 1, 2018
Merged

cmd: add skaffold deploy#624
r2d4 merged 1 commit intoGoogleContainerTools:masterfrom
r2d4:skaffold-deploy

Conversation

@r2d4
Copy link
Copy Markdown
Contributor

@r2d4 r2d4 commented Jun 1, 2018

I might be able to get rid of some of the redundancy in the build struct - it shouldn't really need anything other than the full image tag. Now that we have go-containerregistry, it becomes a lot easier to separate the parts (tag/context)

@r2d4
Copy link
Copy Markdown
Contributor Author

r2d4 commented Jun 1, 2018

fixes #35

@r2d4
Copy link
Copy Markdown
Contributor Author

r2d4 commented Jun 1, 2018

ref #625

},
}
AddRunDevFlags(cmd)
cmd.Flags().StringSliceVar(&images, "images", nil, "A list of images to deploy")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Any reason not to make these args instead of a flag?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

If they are args we can't have any more nested subcommands. Not really planning any now but thats been confusing in the past.

@r2d4 r2d4 merged commit f9a91f5 into GoogleContainerTools:master Jun 1, 2018
@r2d4 r2d4 deleted the skaffold-deploy branch June 1, 2018 17:36
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.

3 participants