Workflows and volumes enhancements #507
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #505
Closes #506
Closes #512
Implemented solution
#506: Readonly volumes can be added with the
:ro
at the end of the shared_directory string.#505: Multiple values are allowed for
pod_context
as list or tuplecloud-harness/libraries/cloudharness-common/tests/test_workflow.py
Line 236 in 6bb7a96
#512 pod contexts are added automatically for volumes specified as shared_directory
How to test this PR:
Unit tests are covering the functionality.
Create an operation like
and see that the workflow specification has 4 affinity terms 2 required, 2 preferred and a readonly mounted volume
Sanity checks:
Breaking changes (select one):
breaking-change
Possible deployment updates issues (select one):
alert:deployment
Test coverage (select one):
Documentation (select one):
Nice to have (if relevant):