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

Head commit for run:
d2ff71aef543817b4910839671015a766de3303a / Jarek Potiuk <[email protected]>
Allow to build images in CI workflow for private repos

There are couple of changes needed to make our CI works for
PRs done internally in a private repository.

1) When you run PR to the same repository, the images can be built
without "pull_request_target" workflow - they can be built
in "test" workflow. The check we had hard-coded it to check
against "apache/airflow" repository, but the check will work for
non apache/airflow repos by just comparing base and target repositories.
If they are the same, it means that PR is done to own repository and
it should be fine to build images in-workflow.

2) The private repos require authentication before pulling the image
from repository - this is also fixed in this PR as commands that
only pulled the image did not require to authenticate before, but now
they have to authenticate. It turns out that passing --username being
actor might cause authentication to not allow to pull images, instead
a placeholder "$" has been used, which allowed to remove the
parameter altogether.

3) We also disable "build-images" jobs if github repository is different
than "apache/airflow" so that you do not run it needlessly in your
private PR.

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

With regards,
GitHub Actions via GitBox


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

Reply via email to