On 7/9/19 7:36 PM, Jarek Potiuk wrote:
>    - The warning with /root/.docker/config.json is nothing to worry about
>    (it tries to access your host configuration for credentials - but we do not
>    need any credentials for the environment).

Ok, fine

>    - The CLEAN_FILES unbound variable was an interesting one - not sure why
>    it was not set at the first run and set it on the other (likely because
>    CLEAN_FILES is propagated through docker-compose settings and set to empty
>    after initialisation) but I protected against such case now

Works now.

>    - Running flake/pylint is not supposed to be run from the container but
>    from the host. I looked at the docs and realised it was not at all clear
>    :). It was obvious for me but not for someone new :). That's big value of
>    such tests. I updated CONTRIBUTING.md with a note and also added extra
>    protection.

When I just run `./scripts/ci/ci_flake8.sh` it attempts to build the
Python 2.7 image `apache/airflow:master-python2.7-ci-slim` (I assume
because my default Python interpreter is 2.7) which fails.

When I run `PYTHON_VERSION=3.6 ./scripts/ci/ci_flake8.sh` it works.
However on every invocation it rebuilds the "Airflow CI slim image", it
uses cached layers, but still takes 23 seconds, it that wanted?

Kind Regards,
Stefan


Reply via email to