Skip to content

App package deploy and docker localization #244

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

Open
mike-gangl opened this issue Mar 4, 2025 · 2 comments
Open

App package deploy and docker localization #244

mike-gangl opened this issue Mar 4, 2025 · 2 comments
Assignees
Labels
Feature Feature label used in Unity Project U-SPS

Comments

@mike-gangl
Copy link
Contributor

App package deploy and docker localization

This feature is to provide the capability to "deploy" an OGC application package to Airflow. Currently, we use a singular DAG (either cwl_dag.py or cwl_modular.py) to run all packages.

By calling a deploy OGC endpoint with a valid request (CWL?), the following steps should be taken:

  1. The CWL file is loaded within the OGC API
  2. The docker container specified within the App Package is pulled and registered locally within the ADES (e.g. in an ECR or S3 backed store)
  3. The CWL file is updated with the newly (locally) registered container.
  4. The CWL file is stored in a persistent store (s3, database) and made available to the ADES / Pods
  5. (value add steps follow)
  6. A new DAG is created to call the k8s operator with the specific, updated CWL (step 4).
  7. The input fields are created for the DAG by parsing the inputs to the CWL
  8. A user can execute the CWL by using the Airflow UI and providing specific inputs in individualized fields.
@rtapella
Copy link
Collaborator

rtapella commented Mar 4, 2025

Thanks Mike. In my view steps 6–8 are MVP. The reason is that it is very difficult to separate the tracking of jobs by algorithm if we don't split up the associated Airflow DAGs.

In an operational scenario I imagine the single-DAG would be a huge barrier to acceptance because it impacts anomaly resolution. Unless I'm missing something.

@rtapella
Copy link
Collaborator

rtapella commented Apr 1, 2025

Also 9. A user can execute the app by using the OGC Processes job-execution API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feature label used in Unity Project U-SPS
Projects
Status: Todo
Development

No branches or pull requests

3 participants