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

feat: ping-pong services #1697

Merged
merged 46 commits into from
Feb 4, 2022
Merged

feat: ping-pong services #1697

merged 46 commits into from
Feb 4, 2022

Conversation

perenesenko
Copy link
Member

@perenesenko perenesenko commented Dec 10, 2021

Fix for: #1453

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
  • The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
  • I've signed my commits with DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My builds are green. Try syncing with master if they are not.
  • My organization is added to USERS.md.

@perenesenko perenesenko changed the title Ping pong feat: ping-pong services Dec 10, 2021
@perenesenko perenesenko marked this pull request as ready for review December 15, 2021 19:13
Signed-off-by: Andrii Perenesenko <[email protected]>
Signed-off-by: Andrii Perenesenko <[email protected]>
Signed-off-by: Andrii Perenesenko <[email protected]>
Signed-off-by: Andrii Perenesenko <[email protected]>
Signed-off-by: Andrii Perenesenko <[email protected]>
Signed-off-by: Andrii Perenesenko <[email protected]>
Signed-off-by: Andrii Perenesenko <[email protected]>
@codecov
Copy link

codecov bot commented Dec 22, 2021

Codecov Report

Merging #1697 (94412cc) into master (5f0f8b4) will increase coverage by 0.09%.
The diff coverage is 94.73%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1697      +/-   ##
==========================================
+ Coverage   82.26%   82.35%   +0.09%     
==========================================
  Files         119      119              
  Lines       16811    16864      +53     
==========================================
+ Hits        13830    13889      +59     
+ Misses       2288     2284       -4     
+ Partials      693      691       -2     
Impacted Files Coverage Δ
pkg/kubectl-argo-rollouts/cmd/get/get.go 72.00% <ø> (ø)
pkg/kubectl-argo-rollouts/info/info.go 100.00% <ø> (ø)
rollout/canary.go 76.32% <50.00%> (-0.52%) ⬇️
rollout/controller.go 77.75% <92.50%> (+1.26%) ⬆️
pkg/apis/rollouts/validation/validation.go 94.35% <100.00%> (+0.38%) ⬆️
.../apis/rollouts/validation/validation_references.go 87.42% <100.00%> (+0.15%) ⬆️
pkg/kubectl-argo-rollouts/cmd/get/get_rollout.go 98.55% <100.00%> (+0.05%) ⬆️
pkg/kubectl-argo-rollouts/info/replicaset_info.go 80.19% <100.00%> (+1.70%) ⬆️
pkg/kubectl-argo-rollouts/info/rollout_info.go 87.89% <100.00%> (+0.39%) ⬆️
rollout/service.go 77.72% <100.00%> (+0.68%) ⬆️
... and 6 more

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 5f0f8b4...94412cc. Read the comment docs.

Signed-off-by: Andrii Perenesenko <[email protected]>
Signed-off-by: Andrii Perenesenko <[email protected]>
Signed-off-by: Andrii Perenesenko <[email protected]>
Signed-off-by: Andrii Perenesenko <[email protected]>
Signed-off-by: Andrii Perenesenko <[email protected]>
Signed-off-by: Andrii Perenesenko <[email protected]>
@harikrongali
Copy link
Contributor

@perenesenko can you add documentation as well?
overall code looks good to me.

# Conflicts:
#	pkg/apis/rollouts/v1alpha1/generated.pb.go
#	pkg/apis/rollouts/v1alpha1/generated.proto
#	pkg/apis/rollouts/v1alpha1/openapi_generated.go
Signed-off-by: Andrii Perenesenko <[email protected]>
Signed-off-by: Andrii Perenesenko <[email protected]>
# Conflicts:
#	pkg/apis/rollouts/v1alpha1/generated.pb.go
Signed-off-by: Andrii Perenesenko <[email protected]>
# Conflicts:
#	pkg/apis/rollouts/v1alpha1/generated.pb.go
@harikrongali harikrongali added the ready-for-review Ready for final review label Jan 22, 2022
Copy link
Member

@jessesuen jessesuen left a comment

Choose a reason for hiding this comment

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

Minor request to ensure this is not used with other traffic routers.

pkg/apis/rollouts/validation/validation.go Show resolved Hide resolved
# Conflicts:
#	pkg/apis/rollouts/v1alpha1/generated.pb.go
#	test/e2e/aws_test.go
Signed-off-by: Andrii Perenesenko <[email protected]>
Copy link
Member

@jessesuen jessesuen left a comment

Choose a reason for hiding this comment

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

Great job!

# Conflicts:
#	pkg/apis/rollouts/v1alpha1/generated.pb.go
Signed-off-by: Andrii Perenesenko <[email protected]>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 4, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 11 Code Smells

No Coverage information No Coverage information
4.3% 4.3% Duplication

@jessesuen jessesuen merged commit 34b4375 into argoproj:master Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review Ready for final review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ping-Pong service management in canary updates
3 participants