You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2023/02/06 12:21:15 UTC

[GitHub] [airflow]: Workflow run "Build images for Mark Airflow directory in container as safe for git commands https://github.com/apache/airflow/pull/29386 " failed!

The GitHub Actions job "Build images for Mark Airflow directory in container as safe for git commands https://github.com/apache/airflow/pull/29386
" on airflow.git has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
2d9a2827893543e76186a84b34dada939d5289a5 / Jarek Potiuk <ja...@potiuk.com>
Mark Airflow directory in container as safe for git commands

There is a new setting/version of git in GitHub Actions that started
checking the ownership of the Git repository. Since in case of the
provider commands we run them inside docker image as root user
(this is in order to isolate the provider package building from
the main CI environment), the owner of such directory is different
(runner user) than the user that runs the git command (root).

This change marks the current git directory for such commands as
safe, regardles from the discrepancy.

This config is global and run inside the image, so it is safe to
leave it after methods complete as containers are torn-down after
completing package preparation.

This PR also improves diagnostics. Previously the `git remote add`
output was redirected to dev null as there was no way it could fail,
but this turned to be false - the output of the `git remote add`
commnd is now also printed for diagnostics.

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

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org