-
Notifications
You must be signed in to change notification settings - Fork 3
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
Combine CWL and modular CWL into a single container image #251
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @nikki-t : I am a little confused because this line in unity_sps_utils.py seems to still point to the latest Docker image that I built a few days ago:
SPS_DOCKER_CWL_IMAGE = "ghcr.io/unity-sds/unity-sps/sps-docker-cwl:2.4.0"
Perhaps you tested with this Docker image:
ghcr.io/unity-sds/unity-sps/sps-docker-cwl:250-single-container-image
and then you changed back the URI to be ready for the merge?
@LucaCinquini - That is correct, I tested with I think it should be updated to point to: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @nikki-t : this PR is approved. Can you also add here the new changes to the example workflows (with networking enabled) and reference the Docker image version 2.5.0 (which you can create). Thanks.
@LucaCinquini - I have updated the modular CWL so that it is consistent with the regular CWL EC2 instance type selection. I also updated the stage in and stage out CWL to point to the DS provided workflows and confirmed that the stage out S3 bucket is saved as an SSM parameter with the most recent deployment and updated the parameter name in the I also built the 2.5.0 container from this branch in case you wanted to test everything out. I tested both the CWL DAG Modular and the CWL DAG and confirmed everything is working. I think this PR is ready to be merged after figuring out the pre-commit failure. |
31981e1
to
34a3a7e
Compare
Update EKS module null provider version to resolve pre-commit linting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nikki-t : this value should be parametrized for the venue?
DS_S3_BUCKET_PARAM = "/unity/unity/dev/ds/datastore-bucket"
i.e.
/unity/unity/test/ds/datastore-bucket
/unity/unity/prod/ds/datastore-bucket
@LucaCinquini - It looks like I can query |
It should work. Perhaps those envs are not available in the Test environment, but the env variables can probably be added. |
@LucaCinquini - I added the |
Purpose
Combine CWL and Modular CWL into a single container image. Modify modular CWL DAG definition to override image entry point and point to modular bash script.
Proposed Changes
Issues
Testing
unity-venue-dev
. Confirmed existing functionality is preserved. The modular CWL DAG completed successfuly and processed files were uploaded to S3.