mik-laj commented on issue #8290: Add airflow info command URL: https://github.com/apache/airflow/pull/8290#issuecomment-613481597 Hello, I do the following changes: * add tests * add `file-io` flags * add SQL Alchemy conn with anonymization (`postgresql+psycopg2://postgres:airflow@postgres/airflow` => `postgresql+psycopg2://p...s:PASSWORD@postgres/airflow`) Example output: <details> ``` Apache Airflow [2.0.0.dev0] Platform: [Linux, x86_64] uname_result(system='Linux', node='eeefbb427a9c', release='4.19.76-linuxkit', version='#1 SMP Thu Oct 17 19:31:58 UTC 2019', machine='x86_64', processor='') Locale: ('en_US', 'UTF-8') Python Version: [3.6.10 (default, Mar 31 2020, 16:33:25) [GCC 8.3.0]] Python Location: [/usr/local/bin/python] git: [git version 2.20.1] ssh: [OpenSSH_8.2p1 Debian-4, OpenSSL 1.1.1d 10 Sep 2019] kubectl: [Client Version: v1.15.3] gcloud: [Google Cloud SDK 274.0.1] cloud_sql_proxy: [NOT AVAILABLE] mysql: [mysql Ver 14.14 Distrib 5.7.29, for Linux (x86_64) using EditLine wrapper] sqlite3: [3.31.1 2020-01-27 19:55:54 3bfa9cc97da10598521b342961df8f5f68c7388fa117345eeb516eaa837balt1] psql: [psql (PostgreSQL) 12.2 (Debian 12.2-4)] Airflow Home: [${HOME}/airflow] System PATH: [${HOME}:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/hive/bin:/usr/local/go/bin:/opt/gcloud/bin] Python PATH: [/usr/local/bin:/opt/airflow/scripts/perf:/usr/local/lib/python36.zip:/usr/local/lib/python3.6:/usr/local/lib/python3.6/lib-dynload:/usr/local/lib/python3.6/site-packages:/opt/airflow:/opt/airflow/airflow/providers/google/cloud/example_dags:${HOME}/airflow/config:${HOME}/airflow/plugins] airflow on PATH: [True] Executor: [SequentialExecutor] SQL Alchemy Conn: [postgresql+psycopg2://p...s:PASSWORD@postgres/airflow] DAGS Folder: [/opt/airflow/airflow/providers/google/cloud/example_dags] Plugins Folder: [${HOME}/airflow/plugins] Base Log Folder: [${HOME}/airflow/logs] ``` </details>
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services