airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Potiuk (Jira)" <j...@apache.org>
Subject [jira] [Created] (AIRFLOW-5369) Add interactivity to pre-commit image building
Date Sun, 01 Sep 2019 22:57:00 GMT
Jarek Potiuk created AIRFLOW-5369:
-------------------------------------

             Summary: Add interactivity to pre-commit image building
                 Key: AIRFLOW-5369
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5369
             Project: Apache Airflow
          Issue Type: Improvement
          Components: ci
    Affects Versions: 2.0.0, 1.10.5
            Reporter: Jarek Potiuk


Currently when images are out-dated for pre-commit it just fails with message how to re-run
it with rebuild next time. This is discouraging a bit, so instead a bit of interactivity can
be added:

1) If image gets out-dated a question is asked whether to rebuild it while pre-commit is executed

2) If you run pre-commit directly you do not get asked for rebuild because you can run multiple
pre-commit scripts in parallel  (pre-commit does it) so you should fail fast (with helpful
instructions)

3) If you run pre-commit via breeze, it is optimised because only the image that is actually
needed is rebuilt (and question is asked then)



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message