Skip to content

Conversation

@vsoch
Copy link
Member

@vsoch vsoch commented Mar 12, 2020

This pull request includes #31, and also starts to add a test for it. @pierlauro - please test this out locally because I haven't finished it yet and I have questions:

pytest --verbose -s scompose/tests/test_depends_on.py

I've created a setup for the test we need for depends_on, this is kept in tests/configs/depends_on, and copied to a temporary directory to run. Take a look at the singularity-compose.yml and let me know if this is what you had in mind - should this recipe trigger an exception for the dependency or not (it currently does). Once we've discussed this, I can either:

  • expect the error and catch it
  • fix the recipe so it doesn't error

And then print out the startscript echos somewhere so that we can verify the order of starting up. Let me know when you've had a chance to take a look, and with your feedback I can work on one of the next steps listed above!

pierlauro and others added 8 commits March 10, 2020 17:27
I need feedback about the format of the recipe, because as is currently, there seems
to be a circular dependency. Either this is intended (and we want to trigger the
error and then expect it in the test) or I did not implement the recipe as
it should be.

Signed-off-by: vsoch <vsochat@stanford.edu>
@vsoch vsoch mentioned this pull request Mar 13, 2020
@vsoch
Copy link
Member Author

vsoch commented Mar 16, 2020

This is integrated with #31

@vsoch vsoch closed this Mar 16, 2020
@vsoch vsoch deleted the depends_on branch March 16, 2020 17:18
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