This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch add-more-disk-for-arm-instance
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/add-more-disk-for-arm-instance
by this push:
new 98b4d49e82 fixup! Add more disk space for ARM image
98b4d49e82 is described below
commit 98b4d49e82c91264eceeb5b8df1e78e9d79b992f
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Nov 18 19:33:12 2023 +0100
fixup! Add more disk space for ARM image
---
.github/workflows/ci.yml | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7a9ffb2251..35037c32f9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -212,20 +212,20 @@ jobs:
steps:
- name: Cleanup repo
run: docker run -v "${GITHUB_WORKSPACE}:/workspace" -u 0:0 bash -c "rm
-rf /workspace/*"
- if: needs.build-info.outputs.canary-run == 'true' &&
needs.build-info.outputs.default-branch == 'main'
+ # if: needs.build-info.outputs.canary-run == 'true' &&
needs.build-info.outputs.default-branch == 'main'
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v4
with:
persist-credentials: false
- if: needs.build-info.outputs.canary-run == 'true' &&
needs.build-info.outputs.default-branch == 'main'
+ # if: needs.build-info.outputs.canary-run == 'true' &&
needs.build-info.outputs.default-branch == 'main'
- name: "Install Breeze"
uses: ./.github/actions/breeze
- if: needs.build-info.outputs.canary-run == 'true' &&
needs.build-info.outputs.default-branch == 'main'
+ # if: needs.build-info.outputs.canary-run == 'true' &&
needs.build-info.outputs.default-branch == 'main'
- name: "Start ARM instance"
run: ./scripts/ci/images/ci_start_arm_instance_and_connect_to_docker.sh
- if: >
- matrix.platform == 'linux/arm64' &&
needs.build-info.outputs.canary-run == 'true'
- && needs.build-info.outputs.default-branch == 'main'
+ # if: >
+ # matrix.platform == 'linux/arm64' &&
needs.build-info.outputs.canary-run == 'true'
+ # && needs.build-info.outputs.default-branch == 'main'
- name: "Push CI cache ${{ matrix.platform }}"
run: >
breeze ci-image build
@@ -237,7 +237,7 @@ jobs:
env:
DEBUG_RESOURCES: ${{needs.build-info.outputs.debug-resources}}
COMMIT_SHA: ${{ github.sha }}
- if: needs.build-info.outputs.canary-run == 'true' &&
needs.build-info.outputs.default-branch == 'main'
+ # if: needs.build-info.outputs.canary-run == 'true' &&
needs.build-info.outputs.default-branch == 'main'
- name: "Push CI latest image ${{ matrix.platform }}"
run: >
breeze ci-image build
@@ -247,24 +247,24 @@ jobs:
COMMIT_SHA: ${{ github.sha }}
# We only push "amd" image as it is really only needed for any kind of
automated builds in CI
# and currently there is not an easy way to make multi-platform image
from two separate builds
- if: >
- matrix.platform == 'linux/amd64' &&
needs.build-info.outputs.canary-run == 'true'
- && needs.build-info.outputs.default-branch == 'main'
+ # if: >
+ # matrix.platform == 'linux/amd64' &&
needs.build-info.outputs.canary-run == 'true'
+ # && needs.build-info.outputs.default-branch == 'main'
- name: "Stop ARM instance"
run: ./scripts/ci/images/ci_stop_arm_instance.sh
- if: >
- always() && matrix.platform == 'linux/arm64' &&
needs.build-info.outputs.canary-run == 'true'
- && needs.build-info.outputs.default-branch == 'main'
+ # if: >
+ # always() && matrix.platform == 'linux/arm64' &&
needs.build-info.outputs.canary-run == 'true'
+ # && needs.build-info.outputs.default-branch == 'main'
- name: "Clean docker cache for ${{ matrix.platform }}"
run: docker system prune --all --force
- if: >
- matrix.platform == 'linux/amd64' &&
needs.build-info.outputs.canary-run == 'true'
- && needs.build-info.outputs.default-branch == 'main'
+ # if: >
+ # matrix.platform == 'linux/amd64' &&
needs.build-info.outputs.canary-run == 'true'
+ # && needs.build-info.outputs.default-branch == 'main'
- name: "Fix ownership"
run: breeze ci fix-ownership
- if: >
- always() && needs.build-info.outputs.canary-run == 'true'
- && needs.build-info.outputs.default-branch == 'main'
+ # if: >
+ # always() && needs.build-info.outputs.canary-run == 'true'
+ # && needs.build-info.outputs.default-branch == 'main'
# Check that after earlier cache push, breeze command will build quickly
check-that-image-builds-quickly:
timeout-minutes: 5