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

cleanup: Upgrade Composer samples to Airflow 2.0 #5782

Merged
merged 31 commits into from
May 27, 2021
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
442e4bc
modify dag_test_utils to point to branch; add airflow 2 changes
leahecole Apr 15, 2021
1358f27
upgrade airflow_db_cleanup to Airflow 2.0
leahecole May 3, 2021
5f99c94
upgrade hadoop tutorial to Airflow 2.0
leahecole May 3, 2021
3b7c119
upgrade kubernetespodoperator to Airflow 2.0
leahecole May 3, 2021
5a73d13
upgrade dataproc workflow template to Airflow 2.0
leahecole May 3, 2021
861a7aa
remove bashoperator python2 example
leahecole May 3, 2021
bb69630
upgrade DataflowTemplateOperator tutorial to 2.0
leahecole May 3, 2021
1412737
WIP: upgrade bq_notify to Airflow 2
leahecole May 4, 2021
14943c4
upgrade bq_copy_across_locations to Airflow 2.0
leahecole May 5, 2021
f3cc166
upgrade connections to Airflow 2
leahecole May 5, 2021
8ebece8
more airflow 2.0 migration
leahecole May 6, 2021
95c842b
db reset update
leahecole May 6, 2021
cdc0fcc
copy constraints from Airflow
leahecole May 6, 2021
c9db1ee
update noxfile config
leahecole May 6, 2021
916823d
update constraints to py-3.8
leahecole May 6, 2021
b1b4f21
add pip version override
leahecole May 14, 2021
c8f0936
upgrade simple to airflow 2
leahecole May 17, 2021
3a33687
fix lint
leahecole May 17, 2021
127379c
bqnotify cleanup
leahecole May 18, 2021
2f31bf8
add blog/ conftest
leahecole May 24, 2021
50d4b77
fix license header
leahecole May 24, 2021
5c681f4
more license header fixes
leahecole May 24, 2021
f7bf625
license again
leahecole May 24, 2021
466755a
remove unused import from blog conftest
leahecole May 24, 2021
6b72bb7
remove unused requirements
leahecole May 24, 2021
be47adf
remove script used by dag deleted in this PR
leahecole May 24, 2021
6f43148
Add clarifying comment about email operator
leahecole May 26, 2021
5fbad11
add newline back to csv
leahecole May 26, 2021
f9447fa
fix presumed typo
leahecole May 26, 2021
dffb45a
Merge branch 'master' into airflow_migration
dinagraves May 27, 2021
7574007
Merge branch 'master' into airflow_migration
leahecole May 27, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
db reset update
  • Loading branch information
leahecole committed May 27, 2021
commit 95c842b3072d1392e49c30fd17192284c9abacb7
2 changes: 1 addition & 1 deletion composer/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def airflow_database():
airflow_db = f"{airflow_home}/airflow.db"

# reset both resets and initializes a new database
airflow.utils.db.resetdb(rbac=None) # this command will change in Airflow 2.0
airflow.utils.db.resetdb()

# Making sure we are using a data file there.
assert(os.path.isfile(airflow_db))