-
Notifications
You must be signed in to change notification settings - Fork 263
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 --tag flag to service create and allow traffic split <100 when @latest is specified #1514
Add --tag flag to service create and allow traffic split <100 when @latest is specified #1514
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vyasgun: 3 warnings.
In response to this:
Description
Add
--tag
flag to service create and interpret just value arguments to the flag as@latest=value
Changes
- The arguments that don't follow
key=value
format and justvalue
format will be treated as@latest=value
service create
will have a--tag
flag so revision is created with a tagReference
Fixes #
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Codecov Report
@@ Coverage Diff @@
## main #1514 +/- ##
==========================================
+ Coverage 79.34% 79.52% +0.18%
==========================================
Files 162 162
Lines 8502 8553 +51
==========================================
+ Hits 6746 6802 +56
+ Misses 1075 1073 -2
+ Partials 681 678 -3
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contribution. Left one comment
c9b5111
to
4a4b92a
Compare
4a4b92a
to
7006a88
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
da88cf5
to
42ca9ea
Compare
42ca9ea
to
1b44096
Compare
The following is the coverage report on the affected files.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dsimansk, vyasgun The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Sorry for being so late. I will give the whole traffic refactorings a spin today (or early next week). |
Description
Add
--tag
flag to service create and interpret just value arguments to the flag as@latest=value
When
@latest
is specified as argument to--traffic
and sum < 100, calculate the remaining revisionChanges
key=value
format and justvalue
format will be treated as@latest=value
service create
will have a--tag
flag so revision is created with a tag@latest
is specified and the total sum is less than 100 for a service with N revisions will work as follows:key=value
arguments need to be specified for--traffic
key=value
arguments need to be specified for--traffic
Reference
Fixes #