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

[3/n][pipeline-gen] Add TestStep and BuildkiteStep along with validators #39

Merged
merged 3 commits into from
Oct 3, 2024

Conversation

khluu
Copy link
Collaborator

@khluu khluu commented Sep 28, 2024

  • Add these 2 step classes to be used in future PRs
  • Add validators for TestStep

p
Signed-off-by: kevin <[email protected]>
@khluu khluu requested a review from aslonnie September 28, 2024 00:19
p
Signed-off-by: kevin <[email protected]>

from .utils import AgentQueue
from typing_extensions import Self
from .utils import AgentQueue, GPUType
Copy link
Collaborator

Choose a reason for hiding this comment

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

keep the separate line between local and third-party imports?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

class BuildkiteStep(BaseModel):
"""This class represents a step in Buildkite format."""
label: str
key: str
Copy link
Collaborator

Choose a reason for hiding this comment

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

key is always required?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

oh key is not required

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I made it optional now

p
Signed-off-by: kevin <[email protected]>
@khluu khluu merged commit be76542 into main Oct 3, 2024
1 check passed
@khluu khluu deleted the add_step_class branch October 9, 2024 20:42
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.

2 participants