The GitHub Actions job "Tests" on airflow.git has succeeded.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
19471658839f678f844c4acfc46a1dd1c0a4b45b / Jarek Potiuk <[email protected]>
Switch building airlfow packages to gneneric images instead of CI image

Since we are using setuptools (for now) to build airflow packages,
we still want to run the build in docker image in order to not take
the risk that code from forks is executed as part of the job that can
have access to secrets and package writing.

However we do not need the whole Airflow CI image for that. We can
use two different images:

* official Node image to compile assets on CI
* Custom docker image based on Python, where we only install git,
  gitpython and wheels/pip in the right versions in order to retrieve
  commit hash

Since compiling assets via mounted volume on MacOS is slow, we optimize
the build and assets on MacOS are compiled locally using pre-commits -
but in CI / on Linux we compile assets using the Node image.

This PR switches the images used and uses Python script to build the
packages rather than bash script.

Building PROD image is also faster now in CI as it does not need to pull
CI image to build packages - so we can remove the step of pulling the
CI image needed for PROD build. We still need to wait for the
constraints to be prepared so PROD build waits for CI image to complete,
but it does not pull nor use the image.

Report URL: https://github.com/apache/airflow/actions/runs/6928753825

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to