You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2023/10/23 09:32:33 UTC
[airflow] branch main updated: Cleanup dependencies of cache image pushing and ARM image build (#35117)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new e19ce433be Cleanup dependencies of cache image pushing and ARM image build (#35117)
e19ce433be is described below
commit e19ce433be66015aaa87b566d94a66dfb360260f
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Mon Oct 23 11:32:26 2023 +0200
Cleanup dependencies of cache image pushing and ARM image build (#35117)
The cache image pushing should only happen after all tests
succeeded and constraints got pushed.
---
.github/workflows/ci.yml | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 535bb28841..779b3a46bb 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1725,7 +1725,6 @@ jobs:
- tests-postgres
- tests-integration-postgres
- tests-integration-mysql
- - push-early-buildx-cache-to-github-registry
# Skip when generate constraints fails
- generate-constraints
env:
@@ -1779,8 +1778,7 @@ jobs:
runs-on: ${{fromJSON(needs.build-info.outputs.runs-on)}}
needs:
- build-info
- - generate-constraints
- - docs
+ - update-constraints
if: needs.build-info.outputs.canary-run == 'true'
strategy:
fail-fast: false
@@ -1865,6 +1863,10 @@ jobs:
run: breeze ci fix-ownership
if: always()
+ # This is only a check if ARM images are successfully building when committer runs PR from
+ # Apache repository. This is needed in case you want to fix failing cache job in "canary" run
+ # There is no point in running this one in "canary" run, because the above step is doing the
+ # same build anyway.
build-ci-arm-images:
timeout-minutes: 50
name: >
@@ -1873,8 +1875,8 @@ jobs:
runs-on: ${{fromJSON(needs.build-info.outputs.runs-on)}}
needs:
- build-info
- - wait-for-ci-images
- - wait-for-prod-images
+ - generate-constraints
+ - docs
- static-checks
- tests-sqlite
- tests-mysql
@@ -1888,7 +1890,6 @@ jobs:
# Force more parallelism for build even on small instances
PARALLELISM: 6
if: >
- needs.build-info.outputs.upgrade-to-newer-dependencies != 'false' &&
needs.build-info.outputs.in-workflow-build == 'true' &&
needs.build-info.outputs.canary-run != 'true'
steps: