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

Set labels in workflow metadata #129

Merged
merged 1 commit into from
Oct 5, 2020
Merged

Set labels in workflow metadata #129

merged 1 commit into from
Oct 5, 2020

Conversation

catalinii
Copy link
Contributor

@catalinii catalinii commented Oct 1, 2020

@catalinii catalinii force-pushed the IC-269 branch 3 times, most recently from 7db3014 to 27a5926 Compare October 1, 2020 21:55
@catalinii catalinii force-pushed the IC-269 branch 3 times, most recently from bec8d05 to f915978 Compare October 1, 2020 22:20
Copy link
Contributor

@katrogan katrogan left a comment

Choose a reason for hiding this comment

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

looks good! mind adding to the existing unit test: https://github.com/lyft/flyteadmin/blob/master/pkg/manager/impl/execution_manager_test.go#L199 to make sure we pass the project labels as expected?

@katrogan
Copy link
Contributor

katrogan commented Oct 1, 2020

to fix lint can you run make goimports and then validate with make lint

go.mod Outdated
github.com/lyft/flyteidl v0.18.6
github.com/lyft/flytepropeller v0.3.17
github.com/lyft/flyteidl v0.18.7
github.com/lyft/flytepropeller v0.4.2-0.20201001203502-c9d4b2a9b8dd
Copy link
Contributor

Choose a reason for hiding this comment

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

let's wait until the propeller changes are in (with an official release or tag) before merging this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure

@codecov-commenter
Copy link

codecov-commenter commented Oct 1, 2020

Codecov Report

Merging #129 into master will decrease coverage by 0.01%.
The diff coverage is 56.25%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #129      +/-   ##
==========================================
- Coverage   61.60%   61.59%   -0.02%     
==========================================
  Files         105      105              
  Lines        7405     7421      +16     
==========================================
+ Hits         4562     4571       +9     
- Misses       2264     2268       +4     
- Partials      579      582       +3     
Flag Coverage Δ
#unittests 61.59% <56.25%> (-0.02%) ⬇️

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

Impacted Files Coverage Δ
pkg/manager/impl/execution_manager.go 68.80% <56.25%> (-0.25%) ⬇️

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 c5425dd...ed5d0ee. Read the comment docs.

@catalinii catalinii force-pushed the IC-269 branch 3 times, most recently from 0c0b505 to c8ee280 Compare October 5, 2020 21:12
labels := admin.Labels{
Values: map[string]string{
"label3": "3",
"label2": "1", // common label, will be dropped
Copy link
Contributor

Choose a reason for hiding this comment

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

do we want project labels to override individual labels?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

ah thank you for clarifying!

katrogan
katrogan previously approved these changes Oct 5, 2020
@kumare3
Copy link
Contributor

kumare3 commented Oct 5, 2020

thank you looks good to me, just one comment and then +1

@catalinii
Copy link
Contributor Author

/merge

@catalinii catalinii merged commit 7945565 into master Oct 5, 2020
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.

4 participants