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

Allow selectors to be overwritten when starting experiments #249

Merged
merged 1 commit into from
Oct 31, 2019

Conversation

jessesuen
Copy link
Member

@jessesuen jessesuen commented Oct 31, 2019

Resolves #240

Also cleaned up and updated examples

@jessesuen jessesuen requested a review from dthomson25 October 31, 2019 09:44
@codecov
Copy link

codecov bot commented Oct 31, 2019

Codecov Report

Merging #249 into master will increase coverage by <.01%.
The diff coverage is 80%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #249      +/-   ##
==========================================
+ Coverage   83.41%   83.42%   +<.01%     
==========================================
  Files          57       57              
  Lines        5070     5073       +3     
==========================================
+ Hits         4229     4232       +3     
  Misses        620      620              
  Partials      221      221
Impacted Files Coverage Δ
rollout/experiment.go 84.92% <80%> (+0.36%) ⬆️

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 a5d1643...695e2d9. Read the comment docs.

if templateStep.Metadata.Labels != nil {
if templateStep.Metadata.Labels == nil {
if template.Template.ObjectMeta.Labels == nil {
Copy link
Member Author

Choose a reason for hiding this comment

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

This looked like a bug to me. Please confirm the intent.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah that's a bug

Copy link
Member

@dthomson25 dthomson25 left a comment

Choose a reason for hiding this comment

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

LGTM

@jessesuen jessesuen merged commit 50c44f3 into argoproj:master Oct 31, 2019
@jessesuen jessesuen deleted the canary-preview branch October 31, 2019 21:24
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.

ExperimentStep specRef does not support preview use case
2 participants