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

ci: add automated and on demand testing of fluence #55

Merged
merged 1 commit into from
Jan 5, 2024
Merged

Conversation

vsoch
Copy link
Member

@vsoch vsoch commented Jan 5, 2024

Problem: we cannot tell if/when fluence builds will break against upstream
Solution: have a weekly run that will build and test images, and deploy on successful results. For testing, I have added a complete example that uses Job for fluence/default-scheduler, and the reason is because we can run a container that generates output, have it complete, and there is no crash loop backoff or similar. I have added a complete testing setup using kind, and it is in one GitHub job so we can build both containers and load into kind, and then run the tests. Note that MiniKube does NOT appear to work for custom schedulers - I suspect there are extensions/plugins that need to be added. Finally, I was able to figure out how to programmatically check both the pod metadata for the scheduler along with events, and that combined with the output should be sufficient (for now) to test that fluence is working.

This will be redundant to #49 - I made the mistake of doing the PR against the modular-fluence-build branch.

Problem: we cannot tell if/when fluence builds will break against upstream
Solution: have a weekly run that will build and test images, and deploy on
successful results. For testing, I have added a complete example that uses
Job for fluence/default-scheduler, and the reason is because we can run
a container that generates output, have it complete, and there is no crash
loop backoff or similar. I have added a complete testing setup using kind,
and it is in one GitHub job so we can build both containers and load into
kind, and then run the tests. Note that MiniKube does NOT appear to work
for custom schedulers - I suspect there are extensions/plugins that need
to be added. Finally, I was able to figure out how to programmatically
check both the pod metadata for the scheduler along with events, and
that combined with the output should be sufficient (for now) to test
that fluence is working.

Signed-off-by: vsoch <[email protected]>
@vsoch vsoch mentioned this pull request Jan 5, 2024
@vsoch
Copy link
Member Author

vsoch commented Jan 5, 2024

These changes were approved #49 (review) and my mistake to PR to the wrong branch.

@vsoch vsoch merged commit ed1cda5 into main Jan 5, 2024
6 checks passed
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.

1 participant