Skip to content
This repository has been archived by the owner on Apr 16, 2022. It is now read-only.

colpal/actions-populate-dagbag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Populate Dagbag

CI for populating an airflow dagbag

IMPORTANT: Master branch action removes all items in the dagbag and repopulates all of them. Please refer to the delta-only branch for a smarter way to handle this

Usage

steps:
  - uses: colpal/actions-populate-dagbag@master
    with:
      # SA Key stored as GitHub secret
      SERVICE_ACCOUNT_KEY: ${{ secrets.YOUR_SERVICE_ACCOUNT_KEY }}
      # GCP project
      PROJECT: YOUR_PROJECT
      # GCP cluster
      CLUSTER: YOUR_CLUSTER
      # GCP project zone
      ZONE: YOUR_ZONE
      # reference the namespace enviornmanetal variable
      NAMESPACE: ${{ env.NAMESPACE }}
      # reference the pod label enviornmental variable
      POD_LABEL: ${{ env.POD_LABEL }}
      # optional arg for path to the folder that contains dag files (must end in /)
      PATH: YOUR_DAG_PATH/

About

Action to repopulate an airflow dagbag

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published