Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • C csv-parser
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Upcoming Change to GitLab Pages The GitLab Pages URL is planned to migrate from the current *.pages.community.opengroup.org to a simpler domain: *.pages.opengroup.org. At the same time, HTTPS will be enabled for the server. This change is planned for May 21, 2022.

If you have questions or concerns, please email forum-support@opengroup.org.

  • Open Subsurface Data Universe Software
  • Platform
  • Data Flow
  • Data Ingestion
  • csv-parser
  • csv-parser
  • Merge requests
  • !118

Merged
Created Jul 08, 2021 by harshit aggarwal@harshit283Maintainer

Azure Packaged Dag Support

  • Overview 8
  • Commits 14
  • Pipelines 28
  • Changes 7

The changes made in this MR are in line with this approved ADR

AS per the ADR we plan to maintain the following structure for DAG repos

├── osdu_dag
│   ├── __init__.py
│   ├── custom_lib
│   │   ├── __init__.py
│   │   └── utils.py
│   └── operators
│       ├── __init__.py
│       └── customOperator1.py
└──  test_dag.py

This would look something like this in CSV parser repo

├── airflowdags
    ├── osdu_csv_parser
    |    ├── __init__.py
    |    └── xyz.py
    | 
    |___csv_ingestion_all_steps.py

Note: osdu_dag folder is equivalent osdu_csv_parser folder while test_dag is the actual dag file csv_ingestion_all_steps.py in csv parser

The contents inside the airflow dags folder will be packaged/zipped and uploaded to airflow

Here the csv_ingestion_all_steps is the actual DAG file (as is has to be maintained at root of the folder, while osdu_csv_parser will contain any python files etc. if required which for now just contains init.py file

The existing folders dags (airflowdags/dags) and plugins (airflow/plugins) are kept as it is because changing them might cause pipeline failures for other CSP

We plan to keep the duplicated DAG file for now and once this MR is merged we request the CSPs to start adhering to the proposed structure, once the new structure is fully supported by all CSPs we can go ahead and delete the dags and plugins folders to remove any duplicated files

cc: @kibattul

Edited Jul 20, 2021 by harshit aggarwal
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: haaggarw/enable_packaged_dag