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

Add a testflinger_common module with example usage #275

Merged
merged 3 commits into from
Jun 3, 2024
Merged

Conversation

plars
Copy link
Collaborator

@plars plars commented May 14, 2024

Description

This adds a very small (for now) testflinger_common project for housing things like enums which might be useful across multiple subprojects. I only provided example usage in the agent for now, but we can expand it to also be used by server, etc.

Resolved issues

N/A

Documentation

Not much to document at the moment for it, but I made sure to include a README.rst

Web service API changes

None, but using it in the server could help us to provide better guidance about the acceptable values for things like JobState.

Tests

Passes Unit testing, and also deployed it locally. Found a problem with specifying a branch to deploy for testing in the charm config where it still would only pull main previously. I fixed that also here as a separate commit.

Testing

Still not sure I understand why we have this section twice...

@plars plars requested review from val500 and a team May 14, 2024 14:44
@plars plars marked this pull request as draft May 15, 2024 06:11
@plars plars marked this pull request as ready for review May 21, 2024 13:41
@plars plars requested review from a team and removed request for a team May 21, 2024 13:41
@plars plars merged commit 9450e44 into main Jun 3, 2024
2 checks passed
@plars plars deleted the testflinger-common branch June 3, 2024 14:39
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