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

21 Коммитов

Автор SHA1 Сообщение Дата
Jarek Potiuk 7e440dab11 [AIRFLOW-5754] Improved RAT checking (#6429)
All files are mounted in CI now and checked using the RAT tool.
As opposed to only the runtime-needed files. This is enabled for CI
build only as mounting all local files to Docker (especially on Mac)
has big performance penalty when running the checks (slow osxfs
volume and thousands of small node_modules files generated make the
check runs for a number of minutes). The RAT checks will by default
use the selective volumes but on CI they will mount the whole
source directory.

Also latest version of RAT tool is used now and the output - list
of checked files - is additionally printed as output of the RAT
check so that we are sure the files we expect to be there, are
actually verified.
2019-10-25 09:34:39 +01:00
Bas Harenslak 669b026c0b [AIRFLOW-4364] Add Pylint to CI (#5238) 2019-05-30 22:02:09 +02:00
Felix Uellendall 1d06a322d6 [AIRFLOW-XXX] Add rat excludes (#5068)
If you execute the scripts/ci/6-check-license.sh script in a running airflow env it checks a few more files that don't need to be checked.
This includes logs, unittests.cfg, _api (from docs) and sources (from www).
2019-04-15 16:43:51 +01:00
Bolke de Bruin e36bdef0b3 [AIRFLOW-3697] Vendorize nvd3 and slugify
nvd3 has a dependency on python-slugify which pulls in a
GPL dependency by default, which we don't want.

This commit brings in nvd3 0.15.0 and slugify 2.0.1 WITH NO CHANGES -
those will come in the next commit
2019-02-23 18:30:17 +00:00
Tao Feng 67572025cc [AIRFLOW-3612] Remove incubation/incubator mention (#4419) 2019-01-05 14:05:25 +00:00
Riccardo Bini 9de9721b48 [AIRFLOW-3281] Fix Kubernetes operator with git-sync (#3770)
* Refactor Kubernetes operator with git-sync

Currently the implementation of git-sync is broken because:
- git-sync clones the repository in /tmp and not in airflow-dags volume
- git-sync add a link to point to the revision required but it is not
taken into account in AIRFLOW__CORE__DAGS_FOLDER

Dags/logs hostPath volume has been added (needed if airflow run in
kubernetes in local environment)

To avoid false positive in CI `load_examples` is set to `False`
otherwise DAGs from `airflow/example_dags` are always loaded. In this
way is possible to test `import` in DAGs

Remove `worker_dags_folder` config:
`worker_dags_folder` is redundant and can lead to confusion.
In WorkerConfiguration `self.kube_config.dags_folder` defines the path of
the dags and can be set in the worker using airflow_configmap
Refactor worker_configuration.py
Use a docker container to run setup.py
Compile web assets
Fix codecov application path

* Fix kube_config.dags_in_image
2018-12-30 21:03:32 -08:00
Ash Berlin-Taylor b9fc03ea1a [AIRFLOW-2779] Add license headers to doc files (#4178)
This adds ASF license headers to all the .rst and .md files with the
exception of the Pull Request template (as that is included verbatim
when opening a Pull Request on Github which would be messy)
2018-11-13 15:01:44 +01:00
Verdan Mahmood 604ea1dccc [AIRFLOW-2783][Airflow 2783] Implement eslint for JS code check
Closes #3641 from verdan/AIRFLOW-2783-eslint
2018-07-26 20:45:14 +02:00
Verdan Mahmood 5a7f0b2e53 [AIRFLOW-2691] Manage JS dependencies via npm
Closes #3572 from verdan/AIRFLOW-2691-npm-webpack
2018-07-22 09:24:11 +02:00
Moe Nadal 667a26ce49 [AIRFLOW-1551] Add operator to trigger Jenkins job
Closes #2553 from moe-nadal-ck/AIRFLOW-1551/AddJenkinsOperator
2018-02-27 11:51:49 +01:00
Bolke de Bruin 59aba30649 [AIRFLOW-XXX] Add dask lock files to excludes 2017-11-27 15:47:12 +01:00
Maxime Beauchemin da76ac72e8 [AIRFLOW-1476] add INSTALL instruction for source releases
Closes #2492 from mistercrunch/install
2017-09-11 15:23:29 +02:00
Maxime Beauchemin 6c55a2219c [AIRFLOW-1291] Update NOTICE and LICENSE files to match ASF requirements
JIRA:
https://issues.apache.org/jira/browse/AIRFLOW-1291

* Update NOTICE with proper year range for ASF
copyright
* Break down LICENSE into
licenses/LICENSE-[project].txt
* add license header to jqClock.min.js

[AIRFLOW-1291] Update NOTICE and LICENSE files to
match ASF requirements

* Update NOTICE with proper year range for ASF
copyright
* Break down LICENSE into
licenses/LICENSE-[project].txt
* add license header to jqClock.min.js

fix license check

Closes #2354 from
mistercrunch/copyright_license_touchups
2017-06-12 10:47:56 -07:00
Bolke de Bruin 4fb05d8cc7 [AIRFLOW-1000] Rebrand distribution to Apache Airflow
Per Apache requirements Airflow should be branded
Apache Airflow.
It is impossible to provide a forward compatible
automatic update
path and users will be required to manually
upgrade.

Closes #2172 from bolkedebruin/AIRFLOW-1000
2017-04-17 10:09:47 +02:00
Bolke de Bruin d5ac6bd9d0 [AIRFLOW-489] Add API Framework
This implements a framework for API calls to Airflow. Currently
all access is done by cli or web ui. Especially in the context
of the cli this raises security concerns which can be alleviated
with a secured API call over the wire.

Secondly integration with other systems is a bit harder if you have
to call a cli. For public facing endpoints JSON is used.

As an example the trigger_dag functionality is now made into a
API call.

Backwards compat is retained by switching to a LocalClient.
2016-11-27 19:44:31 +01:00
Bolke de Bruin 4b6f7e828f AIRFLOW-190 Add codecov and remove download count 2016-05-30 12:52:24 +02:00
bolkedebruin 975b90ec3c Add support for zipped dags
Currently dags are being read directly from the filesystem. Any
hierarchy (python namespaces, modules) need to be reflected on
the filesystem. This makes it hard to manage dags and their
depedencies.

This patch adds support for dags in zip files. It will add
the zip to sys.path and then it will read the zip file and
try to import any files as modules that are in the root of
the zip.

Please note that any module contained within the zip will
overwrite existing modules in the same namespace.
2016-04-14 09:03:42 +02:00
Bolke de Bruin dafc6e25e4 Add changelog for 1.7.0 2016-03-29 13:08:42 +02:00
Bolke de Bruin cd27c939b8 Add license and ignore for sql and csv 2016-03-19 19:00:09 +01:00
Bolke de Bruin 77fa2ef84e Ignore metastore 2016-03-18 22:07:43 +01:00
Bolke de Bruin 94142ea177 This patch adds license checking for Airflow. For now it will store a number
in Travis' cache to make sure current builds do not fail but newly added
files should have a license header included.
2016-03-04 19:11:15 +01:00