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 1d679538f21 Move "Free up disk space" step into
prepare_breeze_and_image action (#64872)
1d679538f21 is described below
commit 1d679538f21f4cde93b9105337c538215e3f80ee
Author: Jarek Potiuk <[email protected]>
AuthorDate: Wed Apr 8 02:00:12 2026 +0300
Move "Free up disk space" step into prepare_breeze_and_image action (#64872)
Jobs that use the prepare_breeze_and_image composite action all had
a duplicate "Free up disk space" step. Centralize it in the action
to reduce repetition. Jobs that don't use the action (e.g. summarize
warnings) keep their own copy.
---
.github/actions/prepare_breeze_and_image/action.yml | 3 +++
.github/workflows/ci-amd-arm.yml | 3 ---
.github/workflows/k8s-tests.yml | 3 ---
.github/workflows/test-providers.yml | 6 ------
4 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/.github/actions/prepare_breeze_and_image/action.yml
b/.github/actions/prepare_breeze_and_image/action.yml
index 753cfd03782..2498caad2b8 100644
--- a/.github/actions/prepare_breeze_and_image/action.yml
+++ b/.github/actions/prepare_breeze_and_image/action.yml
@@ -45,6 +45,9 @@ runs:
shell: bash
run: ./scripts/ci/make_mnt_writeable.sh
if: inputs.make-mnt-writeable-and-cleanup == 'true'
+ - name: "Free up disk space"
+ shell: bash
+ run: ./scripts/tools/free_up_disk_space.sh
- name: "Install Breeze"
uses: ./.github/actions/breeze
id: breeze
diff --git a/.github/workflows/ci-amd-arm.yml b/.github/workflows/ci-amd-arm.yml
index 64e19d1981e..c094a6ee825 100644
--- a/.github/workflows/ci-amd-arm.yml
+++ b/.github/workflows/ci-amd-arm.yml
@@ -347,9 +347,6 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #
v6.0.2
with:
persist-credentials: false
- - name: "Free up disk space"
- shell: bash
- run: ./scripts/tools/free_up_disk_space.sh
- name: "Prepare breeze & CI image: ${{
needs.build-info.outputs.default-python-version }}"
uses: ./.github/actions/prepare_breeze_and_image
with:
diff --git a/.github/workflows/k8s-tests.yml b/.github/workflows/k8s-tests.yml
index ac86ac2ee44..dd45336d5e7 100644
--- a/.github/workflows/k8s-tests.yml
+++ b/.github/workflows/k8s-tests.yml
@@ -84,9 +84,6 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #
v6.0.2
with:
persist-credentials: false
- - name: "Free up disk space"
- shell: bash
- run: ./scripts/tools/free_up_disk_space.sh
# env.PYTHON_MAJOR_MINOR_VERSION, env.KUBERNETES_VERSION are set in the
previous
# step id: prepare-versions
- name: "Prepare breeze & PROD image: ${{ env.PYTHON_MAJOR_MINOR_VERSION
}}"
diff --git a/.github/workflows/test-providers.yml
b/.github/workflows/test-providers.yml
index d6c268db849..db1f31f2453 100644
--- a/.github/workflows/test-providers.yml
+++ b/.github/workflows/test-providers.yml
@@ -92,9 +92,6 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #
v6.0.2
with:
persist-credentials: false
- - name: "Free up disk space"
- shell: bash
- run: ./scripts/tools/free_up_disk_space.sh
- name: "Install prek"
uses: ./.github/actions/install-prek
id: prek
@@ -201,9 +198,6 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #
v6.0.2
with:
persist-credentials: false
- - name: "Free up disk space"
- shell: bash
- run: ./scripts/tools/free_up_disk_space.sh
- name: "Install prek"
uses: ./.github/actions/install-prek
id: prek