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

Head commit for run:
900c7bdf1b3e3c2e047df0ab7bb651bedd5882fb / Jarek Potiuk <[email protected]>
Run "fix-ownership" with sudo rather than docker image if specified

The "fix-ownership" command uses our breeze docker image to fix
ownership of files generated by breeze. This is nice from the user
perspective because there is no need to authenticate with password
and - since we already have breeze image handy - it is fast and
painless. However in CI, there are often cases where "fix-ownership"
does not really have an image available and needs to pull one, which
takes 1 minute. However the user in CI has sudoer capability without
password, so we can use it to run fix-ownership with just plain
sudo/chown.

We switch all the CI jobs to "USE_SUDO" and also avoid running
fix-ownership on other systems that Linux, as the ownership of
files creaed from docker as root is only problem when the filesystem
is directly mounted and used in the container (which happens only on
Linux). MacOS and Windows have "user-space" filesystem that are
much slower, but then they perform user-remapping on their own
and files created in container have automatically ownership of
the user who runs the docker container command.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to