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

4 Коммитов

Автор SHA1 Сообщение Дата
Jarek Potiuk 857788e305
[AIRFLOW-5369] Adds interactivity to pre-commits (#5976)
This commit adds full interactivity to pre-commits. Whenever you run pre-commit
and it detects that the image should be rebuild, an interactive question will
pop up instead of failing the build and asking to rebuild with REBUILD=yes

This is much nicer from the user perspective. You can choose whether to:
1) Rebuild the image (which will take some time)
2) Not rebuild the image (this will use the old image with hope it's OK)
3) Quit.

Answer to that question is carried across all images needed to rebuild.
There is the special "build" pre-commit hook that takes care about that.

Note that this interactive question cannot be asked if you run only
single pre-commit hook with Dockerfile because it can run multiple processes
and you can start building in parallel. This is not desired so instead we fail
such builds.
2019-09-18 13:43:30 +02:00
Jarek Potiuk 70e937a8d8
[AIRFLOW-5161] Static checks are run automatically in pre-commit hooks (#5777) 2019-08-14 20:53:28 -04:00
Jarek Potiuk da938a1ee0
[AIRFLOW-5078] User is asked if an image needs to be rebuild (#5691)
This is not happening when the user explicitely wants to build image
or in CI environment (DockerHub always builds the image via
hooks/build script.
2019-07-31 09:50:31 +02:00
Jarek Potiuk 817cf5b3b1
[AIRFLOW-5064] Switched to python 3.5 (#5678) 2019-07-29 15:27:42 +02:00