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

[V3] Add flag as v3 entrypoint. #5694

Merged
merged 1 commit into from
Apr 20, 2021

Conversation

yuwenma
Copy link
Contributor

@yuwenma yuwenma commented Apr 16, 2021

Related: #5673

Description
Allow users to have access to V3 (skaffold render v2) via a "--experimental" flag in skaffold dev|render|deploy|run conmmands.

This flag can be turned off once all V3 features are completed. Due to the long developing period as well as the kpt dependencies, we will support both v2 and V3 version streams developing and releasing together (A single skaffold binary) until V3 is ready for Beta.

Users can switch between V2 and V3 via the experimental flag. e.g. skaffold dev --experimental ... uses V3.

We also need a release.md doc (for developers) to talk about the new stream.

Following Changes
Schema refactoring for V3
Runner refactoring: #5692

@yuwenma yuwenma requested a review from a team as a code owner April 16, 2021 02:37
@google-cla google-cla bot added the cla: yes label Apr 16, 2021
@yuwenma yuwenma added this to the v1.23.0 milestone Apr 16, 2021
@yuwenma yuwenma added the area/v3 V3 label Apr 16, 2021
@yuwenma yuwenma requested review from tejal29 and nkubala April 16, 2021 02:54
@yuwenma yuwenma force-pushed the experimental-flag branch from 661ffbd to 4095815 Compare April 16, 2021 03:36
@yuwenma yuwenma force-pushed the experimental-flag branch from 4095815 to 9e445ee Compare April 16, 2021 06:17
@codecov
Copy link

codecov bot commented Apr 16, 2021

Codecov Report

Merging #5694 (9e445ee) into master (4e67ac7) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #5694   +/-   ##
=======================================
  Coverage   70.64%   70.64%           
=======================================
  Files         411      411           
  Lines       15858    15860    +2     
=======================================
+ Hits        11203    11205    +2     
  Misses       3827     3827           
  Partials      828      828           
Impacted Files Coverage Δ
cmd/skaffold/app/cmd/flags.go 89.02% <ø> (ø)
pkg/skaffold/config/options.go 100.00% <ø> (ø)
pkg/skaffold/runner/deploy.go 51.94% <0.00%> (+0.59%) ⬆️
pkg/skaffold/runner/build_deploy.go 69.69% <0.00%> (+0.69%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4e67ac7...9e445ee. Read the comment docs.

Copy link
Contributor

@MarlonGamez MarlonGamez left a comment

Choose a reason for hiding this comment

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

lgtm

@MarlonGamez MarlonGamez merged commit b455ffd into GoogleContainerTools:master Apr 20, 2021
@@ -509,6 +509,15 @@ var flagRegistry = []Flag{
DefinedOn: []string{"debug", "dev", "run"},
IsEnum: true,
},
{
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we make this flag hidden for now?

wuxingzhong pushed a commit to wuxingzhong/skaffold that referenced this pull request Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants