Skip to content

Commit 4b28b33

Browse files
committed
feat(ci): set version-aware run-name on the image workflows
Every image-build, unified end-to-end, and GCP/Azure test/publish workflow now sets a run-name that surfaces the run's identity inputs, e.g.: "Azure: AlmaLinux 10 Build, Test, Publish" "AWS: AlmaLinux Kitten 10 Build AMI" "GCP: AlmaLinux 10 x86_64 Test Image" "Vagrant: AlmaLinux 10 Build, Test and Publish (vagrant_libvirt)" "Azure: Test Image almalinux/almalinux-9-gen2/9.7.2026050101" Details: - version_major on all build + unified workflows; the Kitten value renders "Kitten 10" instead of the raw token (AWS uses kitten_10, the others use 10-kitten; OCI has no Kitten option so it shows the version). - Vagrant build / build-test-publish also append the selected vagrant_type. - GCP test / publish add version + arch. - Azure test shows the target compute_gallery_path. run-name expressions can't split strings (no split/regex/basename), so the image_url-based workflows (gencloud-test / opennebula-test / vagrant-publish / azure-to-gallery) are intentionally left without a run-name.
1 parent 2b8f738 commit 4b28b33

17 files changed

Lines changed: 34 additions & 0 deletions

.github/workflows/ami-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: "AWS: Build AMI"
2+
run-name: >-
3+
AWS: AlmaLinux ${{ inputs.version_major == 'kitten_10' && 'Kitten 10' || inputs.version_major }} Build AMI
24
35
on:
46
workflow_dispatch:

.github/workflows/aws-build-test-copy-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: "AWS: Build, Test, Copy to regions and Release"
2+
run-name: >-
3+
AWS: AlmaLinux ${{ inputs.version_major == 'kitten_10' && 'Kitten 10' || inputs.version_major }} Build, Test, Copy to regions and Release
24
35
# Unified AWS AMI pipeline in a single workflow_dispatch:
46
# 1. Build the AMIs with Packer (x86_64 + aarch64).

.github/workflows/azure-build-release-test-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: "Azure: Build, Release, Test, Publish"
2+
run-name: >-
3+
Azure: AlmaLinux ${{ inputs.version_major == '10-kitten' && 'Kitten 10' || inputs.version_major }} Build, Release, Test, Publish
24
35
# Unified Azure pipeline: build the .raw images with Packer, release each
46
# built image to the Compute Gallery directly from the build runner (no S3

.github/workflows/azure-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: "Azure: Build Image"
2+
run-name: >-
3+
Azure: AlmaLinux ${{ inputs.version_major == '10-kitten' && 'Kitten 10' || inputs.version_major }} Build Image
24
35
on:
46
workflow_dispatch:

.github/workflows/azure-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: "Azure: Test Image"
2+
run-name: >-
3+
Azure: Test Image ${{ inputs.compute_gallery_path }}
24
35
# Required repository configuration:
46
# secrets: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_SUBSCRIPTION_ID,

.github/workflows/gcp-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: "GCP: Build Image"
2+
run-name: >-
3+
GCP: AlmaLinux ${{ inputs.version_major == '10-kitten' && 'Kitten 10' || inputs.version_major }} Build Image
24
35
on:
46
workflow_dispatch:

.github/workflows/gcp-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: "GCP: Publish Image"
2+
run-name: >-
3+
GCP: AlmaLinux ${{ inputs.version_major == '10-kitten' && 'Kitten 10' || inputs.version_major }} ${{ inputs.arch }} Publish Image
24
35
on:
46
workflow_dispatch:

.github/workflows/gcp-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: "GCP: Test Image"
2+
run-name: >-
3+
GCP: AlmaLinux ${{ inputs.version_major == '10-kitten' && 'Kitten 10' || inputs.version_major }} ${{ inputs.arch }} Test Image
24
35
on:
46
workflow_dispatch:

.github/workflows/gencloud-build-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: "GenericCloud: Build and Test"
2+
run-name: >-
3+
GenericCloud: AlmaLinux ${{ inputs.version_major == '10-kitten' && 'Kitten 10' || inputs.version_major }} Build and Test
24
35
# Unified GenericCloud pipeline: build the .qcow2 images with Packer and
46
# boot-test each one in-job, directly on the build runner, under QEMU/KVM

.github/workflows/gencloud-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: "GenericCloud: Build Image"
2+
run-name: >-
3+
GenericCloud: AlmaLinux ${{ inputs.version_major == '10-kitten' && 'Kitten 10' || inputs.version_major }} Build Image
24
35
on:
46
workflow_dispatch:

0 commit comments

Comments
 (0)