Page MenuHomeDevCentral

Use nasqueron/airflow image for Airflow command wrapper too
ClosedPublic

Authored by dereckson on Jan 12 2024, 19:00.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 13, 02:48
Unknown Object (File)
Fri, Dec 13, 02:48
Unknown Object (File)
Fri, Dec 13, 02:09
Unknown Object (File)
Fri, Dec 13, 01:43
Unknown Object (File)
Mon, Dec 2, 14:50
Unknown Object (File)
Thu, Nov 28, 02:56
Unknown Object (File)
Sun, Nov 24, 22:55
Unknown Object (File)
Sun, Nov 24, 22:55
Subscribers
None

Details

Summary

This is a follow-up for fd58f686cc46.

Ref T1812.

Test Plan

Migrate database for D3268 - Airflow 2.8.0 upgrade

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
airflow-image-update
Build Status
Buildable 5156
Build 5437: arc lint + arc unit

Event Timeline

dereckson created this revision.
Dwellers
$ airflow nasqueron db upgrade
/home/airflow/.local/lib/python3.11/site-packages/airflow/cli/commands/db_command.py:68 DeprecationWarning: `db upgrade` is deprecated. Use `db migrate` instead.
DB: postgresql+psycopg2://airflow:***@172.27.27.8/airflow
Performing upgrade to the metadata database postgresql+psycopg2://airflow:***@172.27.27.8/airflow
[2024-01-12T18:56:14.127+0000] {migration.py:213} INFO - Context impl PostgresqlImpl.
[2024-01-12T18:56:14.128+0000] {migration.py:216} INFO - Will assume transactional DDL.
[2024-01-12T18:56:14.139+0000] {db.py:1615} INFO - Creating tables
INFO  [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO  [alembic.runtime.migration] Will assume transactional DDL.
INFO  [alembic.runtime.migration] Running upgrade 290244fb8b83 -> 6abdffdd4815, add dttm index on log table
INFO  [alembic.runtime.migration] Running upgrade 6abdffdd4815 -> 98ae134e6fff, Increase length of user identifier columns in ``ab_user`` and ``ab_register_user`` tables
INFO  [alembic.runtime.migration] Running upgrade 98ae134e6fff -> c804e5c76e3e, Add ``onupdate`` cascade to ``task_map`` table
INFO  [alembic.runtime.migration] Running upgrade c804e5c76e3e -> 937cbd173ca1, Add index to task_instance table
INFO  [alembic.runtime.migration] Running upgrade 937cbd173ca1 -> 788397e78828, Add custom_operator_name column
INFO  [alembic.runtime.migration] Running upgrade 788397e78828 -> 405de8318b3a, add include_deferred column to pool
INFO  [alembic.runtime.migration] Running upgrade 405de8318b3a -> 375a816bbbf4, add new field 'clear_number' to dagrun
INFO  [alembic.runtime.migration] Running upgrade 375a816bbbf4 -> f7bf2a57d0a6, Add owner_display_name to (Audit) Log table
INFO  [alembic.runtime.migration] Running upgrade f7bf2a57d0a6 -> bd5dfbe21f88, Make connection login/password TEXT
INFO  [alembic.runtime.migration] Running upgrade bd5dfbe21f88 -> 10b52ebd31f7, Add processor_subdir to ImportError.
Database migrating done!
This revision is now accepted and ready to land.Jan 12 2024, 19:01