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

Refactor execution resources to a reference #114

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

teroyks
Copy link
Contributor

@teroyks teroyks commented Sep 14, 2023

Refs valohai/meta#275

Prepare for reusing the resource definition in the Kubernetes worker configuration to avoid copy/paste – at the moment, these two look identical.

If they later turn out to have different requirements, will then refactor to separate definitions.

@teroyks teroyks requested a review from ruksi September 14, 2023 11:50
@teroyks teroyks marked this pull request as ready for review September 14, 2023 11:50
@teroyks teroyks self-assigned this Sep 14, 2023
valohai_yaml/schema/endpoint.yaml Outdated Show resolved Hide resolved
valohai_yaml/schema/execution-resources.yaml Outdated Show resolved Hide resolved
@teroyks teroyks marked this pull request as draft September 14, 2023 12:29
@teroyks teroyks force-pushed the tero/refactor/execution-resources-yaml branch from ac4254b to c137041 Compare September 14, 2023 13:26
@codecov-commenter
Copy link

codecov-commenter commented Sep 14, 2023

Codecov Report

Merging #114 (40e5238) into master (bfefa5c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #114   +/-   ##
=======================================
  Coverage   92.56%   92.56%           
=======================================
  Files          61       61           
  Lines        1882     1882           
  Branches      318      318           
=======================================
  Hits         1742     1742           
  Misses         70       70           
  Partials       70       70           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Prepare for reusing the resource property definitions in the Kubernetes
worker configuration.
@teroyks teroyks force-pushed the tero/refactor/execution-resources-yaml branch from c137041 to 40e5238 Compare September 14, 2023 13:27
@ruksi ruksi self-requested a review September 14, 2023 13:47
Copy link
Member

@ruksi ruksi left a comment

Choose a reason for hiding this comment

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

lgtm, the best we can get for now I guess 🤔

easy to refactor later anyway, now it at least hints to keep similar names with the ref sources

@teroyks teroyks marked this pull request as ready for review September 14, 2023 13:52
@teroyks teroyks merged commit 3fef503 into master Sep 14, 2023
7 checks passed
@teroyks teroyks deleted the tero/refactor/execution-resources-yaml branch September 14, 2023 13:52
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.

3 participants