Skip to content

Commit 5ce65e5

Browse files
committed
naming consistency
1 parent 05edb04 commit 5ce65e5

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.github/workflows/ipa-image-build.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
description: Build Rocky Linux 9
88
type: boolean
99
default: true
10-
centos_stream_10:
11-
description: Build CentOS Stream 10
10+
rocky10:
11+
description: Build Rocky Linux 10
1212
type: boolean
1313
default: true
1414
ubuntu-noble:
@@ -53,7 +53,7 @@ jobs:
5353
steps:
5454
- name: Validate inputs
5555
run: |
56-
if [[ ${{ inputs.rocky9 }} == 'false' && ${{ inputs.centos_stream_10 }} == 'false' && ${{ inputs.ubuntu-noble }} == 'false' ]]; then
56+
if [[ ${{ inputs.rocky9 }} == 'false' && ${{ inputs.rocky10 }} == 'false' && ${{ inputs.ubuntu-noble }} == 'false' ]]; then
5757
echo "At least one distribution must be selected"
5858
exit 1
5959
fi
@@ -332,8 +332,8 @@ jobs:
332332
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD_CI_BUILDER }}
333333
if: inputs.rocky9 && steps.build_rocky_9_ipa.outcome == 'success'
334334

335-
- name: Build a CentOS Stream 10 IPA image
336-
id: build_centos_stream_10_ipa
335+
- name: Build a Rocky 10 10 IPA image
336+
id: build_rocky_10_ipa
337337
continue-on-error: true
338338
run: |
339339
source venvs/kayobe/bin/activate &&
@@ -345,7 +345,7 @@ jobs:
345345
-e ipa_ci_builder_release="10"
346346
env:
347347
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD_CI_BUILDER }}
348-
if: inputs.centos_stream_10
348+
if: inputs.rocky10
349349

350350
- name: Show last error logs
351351
continue-on-error: true
@@ -355,9 +355,9 @@ jobs:
355355
kayobe seed host command run --command "tail -200 /opt/kayobe/images/ipa/ipa.stdout" --show-output
356356
env:
357357
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD_CI_BUILDER }}
358-
if: steps.build_centos_stream_10_ipa.outcome == 'failure'
358+
if: steps.build_rocky_10_ipa.outcome == 'failure'
359359

360-
- name: Upload CentOS Stream 10 IPA kernel image to Ark
360+
- name: Upload Rocky 10 IPA kernel image to Ark
361361
run: |
362362
source venvs/kayobe/bin/activate &&
363363
source src/kayobe-config/kayobe-env --environment ci-builder &&
@@ -371,9 +371,9 @@ jobs:
371371
-e file_regex='*.kernel'
372372
env:
373373
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD_CI_BUILDER }}
374-
if: inputs.rocky10 && steps.build_centos_stream_10_ipa.outcome == 'success'
374+
if: inputs.rocky10 && steps.build_rocky_10_ipa.outcome == 'success'
375375

376-
- name: Upload CentOS Stream 10 IPA ramdisk image to Ark
376+
- name: Upload Rocky 10 IPA ramdisk image to Ark
377377
run: |
378378
source venvs/kayobe/bin/activate &&
379379
source src/kayobe-config/kayobe-env --environment ci-builder &&
@@ -387,7 +387,7 @@ jobs:
387387
-e file_regex='*.initramfs'
388388
env:
389389
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD_CI_BUILDER }}
390-
if: inputs.rocky10 && steps.build_centos_stream_10_ipa.outcome == 'success'
390+
if: inputs.rocky10 && steps.build_rocky_10_ipa.outcome == 'success'
391391

392392
- name: Copy logs back
393393
continue-on-error: true
@@ -407,7 +407,7 @@ jobs:
407407
echo "Builds failed. See workflow artifacts for details." &&
408408
exit 1
409409
if: steps.build_rocky_9_ipa.outcome == 'failure' ||
410-
steps.build_centos_stream_10_ipa.outcome == 'failure' ||
410+
steps.build_rocky_10_ipa.outcome == 'failure' ||
411411
steps.build_ubuntu_noble_ipa.outcome == 'failure'
412412

413413
- name: Destroy

.github/workflows/ipa-image-promote.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD_CI_BUILDER }}
9090
if: inputs.rocky9
9191

92-
- name: Promote CentOS Stream 10 IPA image artifact
92+
- name: Promote Rocky 10 IPA image artifact
9393
run: |
9494
source venvs/kayobe/bin/activate &&
9595
source src/kayobe-config/kayobe-env --environment ci-builder &&

0 commit comments

Comments
 (0)