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

add --dry-run option to skaffold run #1435

Closed
johnistan opened this issue Jan 4, 2019 · 3 comments
Closed

add --dry-run option to skaffold run #1435

johnistan opened this issue Jan 4, 2019 · 3 comments
Labels
area/cli area/run !! blocked !! this issue/PR is blocked by another issue kind/feature-request triage/duplicate This issue or pull request already exists

Comments

@johnistan
Copy link

Feature Request:

When build new releases with complicated value files it would be nice to be to calculate and print the full manifest without actually deploying it to a cluster.

something like: skaffold run -p prod --dry-run

@nkubala
Copy link
Contributor

nkubala commented Jan 14, 2019

A "true" dry run isn't currently possible, because image tag resolution is dependent on build results for some tagging strategies (mainly, the checksum tagger). If we don't care about skipping the image build (and pushing them to whatever remote) then in theory this should be possible now, but if we wanted to take it a step further, we could remove the checksum tagger and decouple the tagging step from the builders. Then, all image tags could be generated for each run before skaffold builds anything.

@balopat balopat added the !! blocked !! this issue/PR is blocked by another issue label Jan 29, 2019
@alnr
Copy link

alnr commented Jul 8, 2019

Note you can pass the --dry-run flag to your deployer of choice, but output is interleaved with skaffold logging (see #1937 (comment))

@tejal29
Copy link
Contributor

tejal29 commented Aug 26, 2019

This is dupe of #1739

@tejal29 tejal29 added the triage/duplicate This issue or pull request already exists label Aug 26, 2019
@tejal29 tejal29 closed this as completed Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli area/run !! blocked !! this issue/PR is blocked by another issue kind/feature-request triage/duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

7 participants