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 4219c573a7e Add better platform diagnostics to see which platform is 
used (#57284)
4219c573a7e is described below

commit 4219c573a7e1339b1ce69f95864fb8af062a0bff
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Oct 26 10:22:37 2025 +0100

    Add better platform diagnostics to see which platform is used (#57284)
    
    We now have same workflow running for both ARM and AMD and we need
    a bit better diagnostics printed to distinguish those different
    run types.
    
    * Tha name of the workflow is just changed to "Tests"
    * There is a job added that should immediately show the platform
      in the left-sidebar of GitHub Actions
    * The title containing platform is printed at the top of summary
      - before the constraints summary.
---
 .github/workflows/ci-amd-arm.yml | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci-amd-arm.yml b/.github/workflows/ci-amd-arm.yml
index 16071e49c3d..f42d4397a82 100644
--- a/.github/workflows/ci-amd-arm.yml
+++ b/.github/workflows/ci-amd-arm.yml
@@ -16,7 +16,7 @@
 # under the License.
 #
 ---
-name: Tests AMD/ARM
+name: Tests
 on:  # yamllint disable-line rule:truthy
   schedule:
     - cron: '28 1,3,7,9,13,15,19,21 * * *'
@@ -166,8 +166,27 @@ jobs:
         env:
           PR_LABELS: ${{ steps.source-run-info.outputs.pr-labels }}
           GITHUB_CONTEXT: ${{ toJson(github) }}
+
+  print-platform-arm:
+    name: "Platform: ARM"
+    needs: [build-info]
+    runs-on: ["ubuntu-22.04"]
+    if: needs.build-info.outputs.platform == 'linux/arm64'
+    steps:
+      - name: "Print architecture"
+        run: "echo '## Architecture: ARM' >> $GITHUB_STEP_SUMMARY"
+
+  print-platform-amd:
+    name: "Platform: AMD"
+    needs: [build-info]
+    runs-on: ["ubuntu-22.04"]
+    if: needs.build-info.outputs.platform == 'linux/amd64'
+    steps:
+      - name: "Print architecture"
+        run: "echo '## Architecture: AMD' >> $GITHUB_STEP_SUMMARY"
+
   run-pin-versions-hook:
-    name: "Run pin-versions hook"
+    name: "Pin actions"
     needs: [build-info]
     runs-on: ${{ fromJSON(needs.build-info.outputs.runner-type) }}
     if: needs.build-info.outputs.platform == 'linux/amd64'

Reply via email to