Skip to content
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

Add test for handling dag importing from another python file #22

Merged
merged 2 commits into from
Sep 2, 2022

Conversation

pindge
Copy link
Contributor

@pindge pindge commented Sep 1, 2022

Fixes #21

Change summary

  • Add export PYTHONPATH to entry.sh
  • Add KubernetesPodOperator to test_dag.py
  • Dockerfile to build airflow[cnf.kubernets] library

Reason

Most of our dags runs KubernetesPodOperator, the infrastructure team provides guidance on the configuration for the pod. This configuration file acts as a middleman for the dag developers and infrastructure maintainers. It's essential for dag action to be able to import shared/common python file within the Dag folder

@pindge
Copy link
Contributor Author

pindge commented Sep 1, 2022

@jayamanikharyono could you please review?

@jayamanikharyono jayamanikharyono merged commit c2ebb1a into jayamanikharyono:master Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dag action fails trying to import from another file in dag folder
2 participants