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

airflow exposes an airflow-dag-trigger chart #91

Closed
Dianadec opened this issue Jul 6, 2021 · 1 comment
Closed

airflow exposes an airflow-dag-trigger chart #91

Dianadec opened this issue Jul 6, 2021 · 1 comment
Assignees

Comments

@Dianadec
Copy link

Dianadec commented Jul 6, 2021

To trigger dags, we need to create a script and an ad-hoc helm template for the deployment that needs to trigger the dag.
ciip-portal and ggircs are good examples of that:
https://github.com/bcgov/cas-ciip-portal/blob/develop/.bin/trigger-airflow-dag.sh
https://github.com/bcgov/cas-ciip-portal/blob/develop/helm/cas-ciip-portal/templates/airflow-dag-trigger.yaml

The airflow-dag-trigger chart needs the following values:

  • airflow endpoint
  • dag_id
  • dag_conf
  • airflow_secret_name

The dag should be added to a helm repository using the chart-releaser GH action (see cas-postgres/cas-metabase repo)

@matthieu-foucault matthieu-foucault changed the title airflow exposes an aiflow-dag-trigger chart airflow exposes an airflow-dag-trigger chart Jul 6, 2021
@pbastia pbastia self-assigned this Jul 13, 2021
@Maralsotoudehnia
Copy link

@pbastia any idea how best to review this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants