
This PS updates python modules and code to match Airflow 2.6.2 as well as deploys new Airflow: - bionic py36 gates were removed - python code corrected to match new modules versions - selection of python modules versions was performed based on airflow-2.6.2 constraints - airskiff deploy pipeline was aligned with latest in treasuremap v1.9 - shipyard chart was corrected to match new airflow cli, configuration items and their default values - added new celery configuration items and their values - updated airflow runtime logging config - disabled deprecation and future python warnings in airflow images - added celery to the list of airflow providers - adjusted airflow runtime scripts to match new cli - shipyard SQL queries to airflow DB were adjusted to match new SQL schema of the db - shipyard_airflow and shipyard_client unit tests were updated to match new DB structure and new cli - airflow db sync job is using db upgrade command - helm version uplifted to v3.12.2 Change-Id: Ife88e53ce0dd8dc77bf267de1f5e6b8361ca76fd
10 lines
329 B
Python
10 lines
329 B
Python
"""Default configuration for the Airflow webserver."""
|
|
from __future__ import annotations
|
|
import os
|
|
from airflow.www.fab_security.manager import AUTH_DB
|
|
basedir = os.path.abspath(os.path.dirname(__file__))
|
|
WTF_CSRF_ENABLED = True
|
|
WTF_CSRF_TIME_LIMIT = None
|
|
AUTH_TYPE = AUTH_DB
|
|
AUTH_ROLE_ADMIN = 'Admin'
|
|
AUTH_ROLE_PUBLIC = 'Admin' |