Граф коммитов

6982 Коммитов

Автор SHA1 Сообщение Дата
Aizhamal Nurmamat kyzy 153937d366 [AIRFLOW-5450] Switching comment from HTML to Jinja
It is causing trouble to the Google Analytics script.
2019-09-10 15:02:07 +02:00
TobKed 75484bc37e [AIRFLOW-5446] Rewrite Google KMS Hook to Google Cloud Python (#6065) 2019-09-10 14:12:01 +02:00
Jarek Potiuk 455eb41ba6
[AIRFLOW-5437] Better python version detection/explanation. (#6060)
We have fairly complex python version detection in our CI scripts.

They have to handle several cases:

1) Running builds on DockerHub (we cannot pass different environment
   variables there, so we detect python version based on the image
   name being build (airflow:master-python3.7 -> PYTHON_VERSION=3.7)

2) Running builds on Travis CI. We use python version determined
   from default python3 version available on the path. This way we
   do not have to specify PYTHON_VERSION separately in each job,
   we just specify which host python version is used for that job.
   This makes a nice UI experience where you see python version in
   Travis UI.

3) Running builds locally via scripts where we can pass PYTHON_VERSION
   as environment variable.

4) Running builds locally for the first time with Breeze. By default
   we determine the version based on default python3 version we have
   in the host system (3.5, 3.6 or 3.7) and we use this one.

5) Selecting python version with Breeze's --python switch. This will
   override python version but it will also store the last used version
   of python in .build directory so that it is automatically used next
   time.

This change adds necessary explanations to the code that works for
all the cases and fixes some of the edge-cases we had. It also
extracts the code to common directory.
2019-09-10 10:16:10 +02:00
ohadmata d1a2ab5948 [AIRFLOW-XXX] Add pecan.ai to the users list (#6005) 2019-09-09 23:27:16 -07:00
Tao Feng fd6d879631 [AIRFLOW-XXX] Add Felix to doc (#6068) 2019-09-09 15:59:24 -07:00
TobKed e231f8716b [AIRFLOW-5359] Update type annotations in BaseOperator (#5965)
* [AIRFLOW-5359] Update type annotations in BaseOperator
2019-09-10 00:21:14 +02:00
Fokko Driesprong b21be80235
[AIRFLOW-5402] Remove deprecated logger (#6006)
* [AIRFLOW-5402] Remove deprecated logger

* Remove the related test

* Less is more
2019-09-09 15:18:38 +02:00
Kamil Breguła 6b2a290ddf
[AIRFLOW-5443] Use alpine image in Kubernetes's sidecar (#6059) 2019-09-09 14:42:06 +02:00
BigQuant 0d59bac51b Update README.md (#6063)
Add BigQuant to list of current users
2019-09-09 12:55:53 +02:00
Tomek d31c09236c [AIRFLOW-3601] Update operators to BigQuery to support location (#6020) 2019-09-09 11:10:37 +02:00
Jarek Potiuk cfd6022618 [AIRFLOW-5441] Ownership of package*.json file group write is fixed (#6061)
When you use Breeze and you specify "--force-pull" flag, the latest image from
DockerHub is pulled before you attempt to rebuild the image. Currently in
breeze we used an optimised version of "fix-permission" script that only fixes
permissions of several files in the context (the workaround for different
roup write umask setting in DockerHub). However we did not have package.json
and package-lock.json on the list so those files were always seen as "changed"
and npm was reinstalled for the first time (and only the first time) when the
image was force pulled.

After fixing this, the of --force-pull breeze commands will be much faster -
skipping the whole npm package reinstallation. Depending on your network speed,
this might be between 20 seconds to several minutes as npm ci command wipes out
everything and downloads a lot of packages.
2019-09-08 23:07:23 -07:00
Kamil Breguła 1c5e105db7 [AIRFLOW-XXX] Create KubernetesPodOperator guide (#6055) 2019-09-08 23:05:56 -07:00
Jacob Ferriero 6db9f86925 [AIRFLOW-4983] Add ability for DataflowPythonOperator to submit jobs w/ python3 (#5602) 2019-09-09 08:02:38 +02:00
Jarek Potiuk 0e2ba08895 [AIRFLOW-5376] Add coverage package back to devel extras (#6054)
* [AIRFLOW-5376] Add coverage package back to devel extras

* fixup! [AIRFLOW-5376] Add coverage package back to devel extras
2019-09-08 12:23:43 +01:00
Jarek Potiuk f116faf7c0
[AIRFLOW-5437] Do not override python when you rebuild ci_slim image (#6053) 2019-09-08 11:55:29 +02:00
Tomek 0ffc14c30a [AIRFLOW-5425] Use logging not printing in LoggingCommandExecutor (#6032)
This will show proper message in log (yellow color) which will be harder to miss.
2019-09-08 10:36:50 +02:00
Kamil Breguła 168a45a762 [AIRFLOW-XXX] Add external reference to all GCP operator guide (#6048) 2019-09-08 10:33:29 +02:00
Kamil Breguła 26feda4e11 [AIRFLOW-XXX] Improve docstring of SQSHook (#6041) 2019-09-08 10:31:21 +02:00
Kamil Breguła ccc2faa43b [AIRFLOW-XXX] Add note about GKEPodOperator in KubernetesPodOperator (#6042) 2019-09-08 10:29:41 +02:00
Kamil Breguła a9911123e1 [AIRFLOW-XXX] Simplify Qubole operators listing 2019-09-08 10:28:15 +02:00
Kamil Breguła 95388d156f [AIRFLOW-5436] Remove log from init in BigQuery operators 2019-09-08 09:48:33 +02:00
Kamil Breguła 867cd0f714 [AIRFLOW-5368] Display DAG from the CLI 2019-09-07 18:13:07 +02:00
Jarek Potiuk 4a9b9bf853 [AIRFLOW-5375] Move dumb-init to devel requirements 2019-09-07 17:51:55 +02:00
Tomek Urbaszek 3bfd6b0f19 [AIRFLOW-5432] Remove colour logs from UI
StreamLogWriter logs other logs that could contain escapes codes thus in web UI
the log is obfuscated. To fix it I added method to remove those codes. This commit
also improves handling of dictionary as an argument for formatted string.
2019-09-07 17:43:21 +02:00
Tobiasz Kędzierski 12cab72230 fixup! [AIRFLOW-5424] Type annotations for GCP hooks 2019-09-07 17:25:07 +02:00
Tobiasz Kędzierski f4a6586429 [AIRFLOW-5424] Type annotations for GCP hooks 2019-09-07 17:25:07 +02:00
Kamil Breguła 8e74ad7e64 [AIRFLOW-XXX] Simplify GCP operators listing 2019-09-07 17:23:07 +02:00
Kamil Breguła cb6dfdfabe [AIRFLOW-2842] Add GoogleCloudStorageSynchronizeBuckets operator 2019-09-07 17:20:41 +02:00
Tomek Urbaszek ae0d03eba7 [AIRFLOW-5401] Add support for project_id from connection in GKE
This change adds support for reading project_id value from
connection configuration GKE operators.
2019-09-07 17:14:36 +02:00
Kamil Breguła 004f353342 [AIRFLOW-3511][AIRFLOW-3512] Add Cloud Memorystore integration 2019-09-07 17:12:52 +02:00
Daniel Imberman 50523ea914 fix postrgres bug 2019-09-07 16:57:21 +02:00
Daniel Imberman ddf2a231a2 pre-load requirements for airflow image 2019-09-07 16:57:21 +02:00
Kamil Breguła f59478eecd
[AIRFLOW-XXX] Add autogenerated TOC (#6038) 2019-09-07 14:17:02 +02:00
Kamil Breguła 8107fe6f7a
[AIRFLOW-XXX] Add S3 Logging section (#6039) 2019-09-07 14:16:52 +02:00
Kamil Breguła 8788fafb3c
[AIRFLOW-XXX] Move Azure Logging section above operators (#6040) 2019-09-07 14:16:36 +02:00
Max Gasner eed0edde36 [AIRFLOW-5430] Pin transitive dependency on marshmallow-sqlalchemy
marshmallow-sqlalchemy, a transitive dependency from Flask-AppBuilder,
broke py2 and py35 compatibility with its 0.19.0.
2019-09-07 12:09:46 +02:00
Leah Cole ce17c9b1d1 Add clarity to gcs_download_operator params
Fix flake8 errors

reformat comments
2019-09-07 11:38:31 +02:00
TobKed 91d08571dd [AIRFLOW-5423] Type annotations for GCP sensors (#6029) 2019-09-06 21:11:13 +02:00
Tobiasz Kędzierski ceb4c086b1 [AIRFLOW-5422] Add type annotations to GCP operators 2019-09-06 19:40:45 +02:00
Tomek 497c02a2d2 [AIRFLOW-5426] Adjust import path in Dataproc example (#6033) 2019-09-06 19:14:32 +02:00
Jarek Potiuk a39ace92a8 fixup! [AIRFLOW-4964] Add BigQuery Data Transfer Hook and Operator (#5769) 2019-09-06 14:35:24 +02:00
Jarek Potiuk 35e7b622c2 [AIRFLOW-5411] Remove the noise produced while running failed pre-commits 2019-09-06 14:35:24 +02:00
Tomek 1b1d79c0a6 [AIRFLOW-4964] Add BigQuery Data Transfer Hook and Operator (#5769)
* [AIRFLOW-4964] Add BigQuery Data Transfer Hook and Operator
2019-09-06 12:48:42 +02:00
Kamil Breguła 0076e17a91 [AIRFLOW-4758] Add GcsToGDriveOperator operator (#5822)
* [AIRFLOW-4758] Add GcsToGDriveOperator operator
2019-09-06 12:45:15 +02:00
Mohannad Albanayosy 6b82b9ef91 [AIRFLOW-5318] Option to specify location of the new BQ dataset (#5923) 2019-09-06 12:41:40 +02:00
Ryan Yuan 8151b7ca7f [AIRFLOW-XXX] Fix incorrect GCP integration sections (#5999)
[AIRFLOW-XXX] Fix incorrect GCP integration sections
2019-09-06 12:37:57 +02:00
TobKed f4b64b3557 [AIRFLOW-5412] Add get_conn/get_client to hooks tests (#6018)
* [AIRFLOW-5412] Add get_conn/get_client to hooks tests
2019-09-06 12:20:38 +02:00
Igor Khrol a44e5762c3 [AIRFLOW-5343] Add pool_pre_ping to SQLAlchemy (#5949)
SQLalchemy supports connection check while returning it from the pool. There is a need to allow this parameter (`pool_pre_ping`) while creating the connection to database.
More info here: https://docs.sqlalchemy.org/en/13/core/pooling.html#disconnect-handling-pessimistic
2019-09-06 10:10:30 +01:00
Bharath Palaksha 7316363821 [AIRFLOW-XXX] Adding walmart labs as user (#6027)
[ci skip]
2019-09-06 09:28:26 +01:00
Diederik Greveling dd36d90cad [AIRFLOW-5049] Add validation for src_fmt_configs in bigquery hook (#5671)
* AIRFLOW-5049 Add validation for src_fmt_configs in bigquery hook

Adds validation for the src_fmt_configs arguments in the bigquery hook. Otherwise wrong src_fmt_configs would be silently ignored which is non-desireable.

* [AIRFLOW-5049] Update - Add validation for src_fmt_configs in bigquery hook

Adds a common method for validating the src_ftm_configs
2019-09-06 08:50:26 +02:00