Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Handle pod task: version 2 #178

Merged
merged 3 commits into from
May 27, 2021
Merged

Handle pod task: version 2 #178

merged 3 commits into from
May 27, 2021

Conversation

katrogan
Copy link
Contributor

Signed-off-by: Katrina Rogan [email protected]

TL;DR

This allows for richer customization of PodSpecs for Pod tasks

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

How did you fix the bug, make the feature etc. Link to any design docs etc

Tracking Issue

flyteorg/flyte#1050

Follow-up issue

NA

Signed-off-by: Katrina Rogan <[email protected]>
@codecov
Copy link

codecov bot commented May 27, 2021

Codecov Report

Merging #178 (a287455) into master (608a051) will increase coverage by 0.06%.
The diff coverage is 78.57%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #178      +/-   ##
==========================================
+ Coverage   61.48%   61.55%   +0.06%     
==========================================
  Files         132      132              
  Lines        7260     7291      +31     
==========================================
+ Hits         4464     4488      +24     
- Misses       2367     2371       +4     
- Partials      429      432       +3     
Flag Coverage Δ
unittests 61.55% <78.57%> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
go/tasks/plugins/k8s/sidecar/sidecar.go 79.87% <78.57%> (-0.58%) ⬇️

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 608a051...a287455. Read the comment docs.

Signed-off-by: Katrina Rogan <[email protected]>
@katrogan katrogan requested review from EngHabu and kumare3 May 27, 2021 21:16
}
} else {
} else if task.TaskTypeVersion == 1 {
Copy link
Contributor

Choose a reason for hiding this comment

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

should we split the version handling into functions? this will get very confusing otherwise?

Copy link
Contributor

Choose a reason for hiding this comment

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

and lets add when is the version active until?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kumare3 done

kumare3
kumare3 previously approved these changes May 27, 2021
Signed-off-by: Katrina Rogan <[email protected]>
@katrogan katrogan merged commit 9ccacc7 into master May 27, 2021
eapolinario pushed a commit that referenced this pull request Sep 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants