[AIRFLOW-248] Add Apache license header to all files
- Added Apache license header for files with extension (.service, .in, .mako, .properties, .ini, .sh, .ldif, .coveragerc, .cfg, .yml, .conf, .sql, .css, .js, .html, .xml.
- Added/Replaced shebang on all .sh files with portable version - #!/usr/bin/env bash.
- Skipped third party css and js files. Skipped all minified js files as well.
Closes #1598 from ajayyadava/248
2016-06-21 18:15:42 +03:00
|
|
|
#
|
2018-04-14 10:13:23 +03:00
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
# or more contributor license agreements. See the NOTICE file
|
|
|
|
# distributed with this work for additional information
|
|
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
|
|
# to you under the Apache License, Version 2.0 (the
|
|
|
|
# "License"); you may not use this file except in compliance
|
|
|
|
# with the License. You may obtain a copy of the License at
|
[AIRFLOW-2335] fix issue with jdk8 download for ci
Make sure you have checked _all_ steps below.
- [x] My PR addresses the following [Airflow JIRA]
(https://issues.apache.org/jira/browse/AIRFLOW/)
issues and references them in the PR title. For
example, "\[AIRFLOW-XXX\] My Airflow PR"
-
https://issues.apache.org/jira/browse/AIRFLOW-2335
- In case you are fixing a typo in the
documentation you can prepend your commit with
\[AIRFLOW-XXX\], code changes always need a JIRA
issue.
- [x] Here are some details about my PR, including
screenshots of any UI changes:
There is an issue with travis pulling jdk8 that is
preventing CI jobs from running. This blocks
further development of the project.
Reference: https://github.com/travis-ci/travis-
ci/issues/9512#issuecomment-382235301
- [x] My PR adds the following unit tests __OR__
does not need testing for this extremely good
reason:
This PR can't be unit tested since it is just
configuration. However, the fact that unit tests
run successfully should show that it works.
- [ ] My commits all reference JIRA issues in
their subject lines, and I have squashed multiple
commits if they address the same issue. In
addition, my commits follow the guidelines from
"[How to write a good git commit
message](http://chris.beams.io/posts/git-
commit/)":
1. Subject is separated from body by a blank line
2. Subject is limited to 50 characters
3. Subject does not end with a period
4. Subject uses the imperative mood ("add", not
"adding")
5. Body wraps at 72 characters
6. Body explains "what" and "why", not "how"
- [ ] In case of new functionality, my PR adds
documentation that describes how to use it.
- When adding new operators/hooks/sensors, the
autoclass documentation generation needs to be
added.
- [ ] Passes `git diff upstream/master -u --
"*.py" | flake8 --diff`
Closes #3236 from dimberman/AIRFLOW-
2335_travis_issue
2018-04-18 07:57:14 +03:00
|
|
|
#
|
2018-04-14 10:13:23 +03:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
[AIRFLOW-2335] fix issue with jdk8 download for ci
Make sure you have checked _all_ steps below.
- [x] My PR addresses the following [Airflow JIRA]
(https://issues.apache.org/jira/browse/AIRFLOW/)
issues and references them in the PR title. For
example, "\[AIRFLOW-XXX\] My Airflow PR"
-
https://issues.apache.org/jira/browse/AIRFLOW-2335
- In case you are fixing a typo in the
documentation you can prepend your commit with
\[AIRFLOW-XXX\], code changes always need a JIRA
issue.
- [x] Here are some details about my PR, including
screenshots of any UI changes:
There is an issue with travis pulling jdk8 that is
preventing CI jobs from running. This blocks
further development of the project.
Reference: https://github.com/travis-ci/travis-
ci/issues/9512#issuecomment-382235301
- [x] My PR adds the following unit tests __OR__
does not need testing for this extremely good
reason:
This PR can't be unit tested since it is just
configuration. However, the fact that unit tests
run successfully should show that it works.
- [ ] My commits all reference JIRA issues in
their subject lines, and I have squashed multiple
commits if they address the same issue. In
addition, my commits follow the guidelines from
"[How to write a good git commit
message](http://chris.beams.io/posts/git-
commit/)":
1. Subject is separated from body by a blank line
2. Subject is limited to 50 characters
3. Subject does not end with a period
4. Subject uses the imperative mood ("add", not
"adding")
5. Body wraps at 72 characters
6. Body explains "what" and "why", not "how"
- [ ] In case of new functionality, my PR adds
documentation that describes how to use it.
- When adding new operators/hooks/sensors, the
autoclass documentation generation needs to be
added.
- [ ] Passes `git diff upstream/master -u --
"*.py" | flake8 --diff`
Closes #3236 from dimberman/AIRFLOW-
2335_travis_issue
2018-04-18 07:57:14 +03:00
|
|
|
#
|
2018-04-14 10:13:23 +03:00
|
|
|
# Unless required by applicable law or agreed to in writing,
|
|
|
|
# software distributed under the License is distributed on an
|
|
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
# KIND, either express or implied. See the License for the
|
|
|
|
# specific language governing permissions and limitations
|
|
|
|
# under the License.
|
2016-12-05 17:23:02 +03:00
|
|
|
#
|
2019-03-09 09:17:48 +03:00
|
|
|
dist: xenial
|
2015-10-06 16:03:16 +03:00
|
|
|
language: python
|
2015-10-06 16:43:44 +03:00
|
|
|
env:
|
2015-10-28 14:09:56 +03:00
|
|
|
global:
|
2019-07-17 23:42:43 +03:00
|
|
|
- BUILD_ID=${TRAVIS_BUILD_ID}
|
2019-07-23 06:46:12 +03:00
|
|
|
python: "3.6"
|
2019-01-11 09:36:00 +03:00
|
|
|
stages:
|
2019-01-13 05:24:50 +03:00
|
|
|
- pre-test
|
2019-01-11 09:36:00 +03:00
|
|
|
- test
|
|
|
|
jobs:
|
|
|
|
include:
|
2019-07-24 09:34:14 +03:00
|
|
|
- name: "Tests postgres python 3.6"
|
|
|
|
env: BACKEND=postgres ENV=docker
|
2019-07-23 06:46:12 +03:00
|
|
|
python: "3.6"
|
|
|
|
stage: test
|
2019-07-24 09:34:14 +03:00
|
|
|
- name: "Tests sqlite python 3.5"
|
|
|
|
env: BACKEND=sqlite ENV=docker
|
2019-07-23 06:46:12 +03:00
|
|
|
python: "3.5"
|
|
|
|
stage: test
|
2019-07-24 09:34:14 +03:00
|
|
|
- name: "Tests mysql python 3.6"
|
|
|
|
env: BACKEND=mysql ENV=docker
|
2019-07-23 06:46:12 +03:00
|
|
|
python: "3.6"
|
|
|
|
stage: test
|
2019-07-24 09:34:14 +03:00
|
|
|
- name: "Tests postgres kubernetes python 3.6 (persistent)"
|
|
|
|
env: BACKEND=postgres ENV=kubernetes KUBERNETES_VERSION=v1.13.0 KUBERNETES_MODE=persistent_mode
|
|
|
|
python: "3.6"
|
|
|
|
stage: test
|
|
|
|
- name: "Tests postgres kubernetes python 3.6 (git)"
|
|
|
|
env: BACKEND=postgres ENV=kubernetes KUBERNETES_VERSION=v1.13.0 KUBERNETES_MODE=git_mode
|
2019-07-23 06:46:12 +03:00
|
|
|
python: "3.6"
|
|
|
|
stage: test
|
2019-01-13 05:24:50 +03:00
|
|
|
- name: Flake8
|
|
|
|
stage: pre-test
|
2019-07-17 23:42:43 +03:00
|
|
|
script: ./scripts/ci/ci_flake8.sh
|
|
|
|
install: skip
|
2019-03-15 14:28:52 +03:00
|
|
|
- name: mypy
|
|
|
|
stage: pre-test
|
2019-07-17 23:42:43 +03:00
|
|
|
script: ./scripts/ci/ci_mypy.sh
|
|
|
|
install: skip
|
2019-01-13 05:24:50 +03:00
|
|
|
- name: Check license header
|
|
|
|
stage: pre-test
|
2019-07-17 23:42:43 +03:00
|
|
|
script: ./scripts/ci/ci_check_license.sh
|
2019-02-22 14:25:13 +03:00
|
|
|
install: skip
|
2019-04-13 16:03:02 +03:00
|
|
|
- name: Lint Dockerfile
|
|
|
|
stage: pre-test
|
2019-07-17 23:42:43 +03:00
|
|
|
script: ./scripts/ci/ci_lint_dockerfile.sh
|
2019-04-13 16:03:02 +03:00
|
|
|
install: skip
|
2019-02-13 02:50:23 +03:00
|
|
|
- name: Check docs
|
2019-07-17 23:42:43 +03:00
|
|
|
stage: test
|
|
|
|
script: ./scripts/ci/ci_docs.sh
|
|
|
|
install: skip
|
2019-05-30 23:02:09 +03:00
|
|
|
- name: Pylint
|
|
|
|
stage: pre-test
|
2019-07-17 23:42:43 +03:00
|
|
|
script: ./scripts/ci/ci_pylint.sh
|
|
|
|
install: skip
|
|
|
|
services:
|
|
|
|
- docker
|
2015-11-28 11:37:33 +03:00
|
|
|
before_install:
|
2019-07-17 23:42:43 +03:00
|
|
|
- ./scripts/ci/ci_before_install.sh
|
2015-10-06 16:43:44 +03:00
|
|
|
install:
|
2019-07-17 23:42:43 +03:00
|
|
|
- ./hooks/build
|
|
|
|
script: "./scripts/ci/ci_run_airflow_testing.sh"
|