potiuk commented on a change in pull request #6266: [AIRFLOW-2439] Production
Docker image support including refactoring of build scripts - depends on
[AIRFLOW-5704]
URL: https://github.com/apache/airflow/pull/6266#discussion_r336992424
##########
File path: .travis.yml
##########
@@ -32,39 +33,49 @@ stages:
jobs:
include:
- name: "Static checks (no pylint, no licence check)"
+ python: "3.5"
stage: pre-test
- script: ./scripts/ci/ci_run_all_static_tests_except_pylint_licence.sh
+ script:
./scripts/ci/ci_run_all_static_tests_except_pylint_checklicence.sh
- name: "Check licence compliance for Apache"
+ python: "3.5"
stage: pre-test
- script: ./scripts/ci/ci_check_license.sh
+ script: ./scripts/ci/ci_run_checklicence.sh
- name: "Pylint checks"
+ python: "3.5"
stage: pre-test
script: ./scripts/ci/ci_run_all_static_tests_pylint.sh
- name: "Build documentation"
+ python: "3.5"
stage: pre-test
script: ./scripts/ci/ci_docs.sh
- name: "Tests postgres kubernetes python 3.6 (persistent)"
- env: BACKEND=postgres ENV=kubernetes KUBERNETES_VERSION=v1.15.0
KUBERNETES_MODE=persistent_mode
+ env: BACKEND=postgres KUBERNETES_MODE=persistent_mode
RUN_KUBERNETES_TESTS=true
python: "3.6"
stage: test
+ script: travis_wait 30 "./scripts/ci/ci_run_airflow_testing.sh"
- name: "Tests postgres kubernetes python 3.6 (git)"
- env: BACKEND=postgres ENV=kubernetes KUBERNETES_VERSION=v1.15.0
KUBERNETES_MODE=git_mode
Review comment:
For now no, but you are right we should bring this back. The
KUBERNETES_VERSION we have now in the Dockerfile turned into kubectl version
(which is not the same as kubernetes version - it's just client version).
Kind can actually install different versions of kubernetes - depending which
"kindest" image you use. For now we are using the latest released version of
Kubernetes (we do not specify image when we install kubernetes with kind).
I looked into the scripts and I will update them. I will change the current
KUBERNETES_VERSIONS to be properly named KUBECTL_VERSION instead and will
provide a way to choose KUBERNETES_VERSION.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services