-
Notifications
You must be signed in to change notification settings - Fork 3
[New Feature]: Create DAG to execute the Application Package generator #275
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
Comments
Goal (restated): follow James’s manual instructions to create a Docker container and DAG that will replace the automatic build system on GitLab (invoked via the Unity-py API) As discussed in meeting with @mcduffie , the following steps will be required:
References:
|
I completed this ticket. Here are some notes about it: DockerHub and Dockstore credentials are being stored in AWS SSM parameter store. I uploaded for Unity-venue-dev, Unity-venue-test and Unity-venue-ops For Unity-venue-ops, I added the access tokens as a secure string because this seemed to be following the convention that ops was already doing. I don’t access the parameters any differently, but costs might apply: AWS Systems Manager Parameter Store - AWS Systems Manager If we don’t want to store tokens as secure strings, we should discuss that These DockerHub and Dockstore accounts were created with the email mdps.dockerhub at jpl.nasa.gov which is our new shared dev team email I published the Docker image that we are using in the DAG to our jplmdps account: https://hub.docker.com/r/jplmdps/unity-app-gen I tested the generated process.cwl file with a CWL DAG Modular My code for the Dockerfile is here: unity-sds/unity-app-generator#31 and my code for the DAG is here: #390 Note that the Dockerfile will need to change when we want to deploy and start using v1.1.0 of unity app generator and app pack generator (needs to be deployed on pip when changes to these packages are finished) The logs are not displaying any sensitive data such as DockerHub and Dockerstore tokens We can add "Application Package Generator DAG" as an option for users and close this ticket once my PRs are merged: |
I don't see the DAG file at the URL in the comment above. Also shouldn't the DAG file live in the SPS repo? |
Sorry, I originally had the DAG there then realized it makes more sense in the SPS repo so made the PR for it there: #390 |
Uh oh!
There was an error while loading. Please reload this page.
PM Ticket Reference: unity-sds/unity-app-build-trigger#2
Description:
Convert App Builds system into a docker container runnable in Airflow - Allows user to provide tokens, credentials. See Status of builds. Etc. Initial version should be what we're doing today. enhancements (future) should include pointing to an eCR repository, non-docker repo, etc. Needs Documentation. Should this be its own DAG that can run 'faster' than the cwl operators (e.g. SPOT instances).
Acceptance Criteria:
Docker Container Conversion: The App Builds system must be successfully converted into a Docker container.
Airflow Integration: Ensure the Docker container runs smoothly within the Airflow environment.
Validation and Testing: The Docker container and its integration with Airflow must be thoroughly validated and tested to ensure it operates without errors.
Documentation: Provide detailed documentation on the app-pack process, including steps taken, and configurations applied
Dependencies:
From U-ADS: Docker container to execute the Application Package Generation, together with complete documentation.
The text was updated successfully, but these errors were encountered: