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

feat: Upgrade usa_names pipeline to use Airflow 2 operators #136

Merged
merged 1 commit into from Aug 9, 2021

Conversation

adlersantos
Copy link
Member

@adlersantos adlersantos commented Aug 9, 2021

Description

This PR is the first of a series of pull requests that upgrades the architecture to Airflow 2:

Changes

Upgrade the usa_names pipeline to use Airflow 2 provider operators.

Checklist

Note: Delete items below that aren't applicable to your pull request.

  • Please merge this PR for me once it is approved.
  • If this PR adds or edits a dataset or pipeline, it was reviewed and approved by the Google Cloud Public Datasets team beforehand.
  • If this PR adds or edits a dataset or pipeline, I put all my code inside datasets/<YOUR-DATASET> and nothing outside of that directory.
  • This PR is appropriately labeled.

@leahecole leahecole merged commit ea76661 into upgrade-to-airflow2 Aug 9, 2021
@leahecole leahecole deleted the usa-names-airflow2 branch August 9, 2021 20:31
adlersantos added a commit that referenced this pull request Aug 9, 2021
* revised dependendices for Airflow 2.1.1

* use proper variables file as required by Airflow 2

* changed README to use Airflow 2 requirement

* uncommented deploy_dag_versioning check

* feat: Upgrade `usa_names` pipeline to usse Airflow 2 operators and environment (#136)
leahecole pushed a commit that referenced this pull request Aug 10, 2021
…ators (#134)

* new DAG operator imports for Airflow 2.0+

* support Airflow 2 operators when generating DAGs

* version compatibility checks for DAGs and Airflow environments

* tests to copy pipeline.yaml to dot folder (for airflow version spec)

* tests for version compatibility checks

* revised pipeline YAML template for Airflow 1 compat

* feat!: Upgrade dependencies to Airflow 2.1.1 (#135)

* revised dependendices for Airflow 2.1.1

* use proper variables file as required by Airflow 2

* changed README to use Airflow 2 requirement

* uncommented deploy_dag_versioning check

* feat: Upgrade `usa_names` pipeline to usse Airflow 2 operators and environment (#136)

* default to Airflow 2
leahecole pushed a commit that referenced this pull request Aug 11, 2021
* new DAG operator imports for Airflow 2.0+

* support Airflow 2 operators when generating DAGs

* version compatibility checks for DAGs and Airflow environments

* tests to copy pipeline.yaml to dot folder (for airflow version spec)

* tests for version compatibility checks

* revised pipeline YAML template for Airflow 1 compat

* feat!: Upgrade dependencies to Airflow 2.1.1 (#135)

* revised dependendices for Airflow 2.1.1

* use proper variables file as required by Airflow 2

* changed README to use Airflow 2 requirement

* uncommented deploy_dag_versioning check

* feat: Upgrade `usa_names` pipeline to usse Airflow 2 operators and environment (#136)

* default to Airflow 2

* README revisions for old and new YAML references

* sample pipeline YAML template for Airflow 2 operators

* add license header to unit-tests

* require airflow_version to be explicitly stated

* set default Cloud Composer version to Airflow 2

* tests to verify correct Airflow operators based on version specified

* additional GitHub check for unit testing Airflow 1 pipelines

* set default Airflow version to 2

* retrigger checks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes cleanup Cleanup or refactor code data onboarding Onboard a dataset or submit a pipeline
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants