mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
set iso name
This commit is contained in:
parent
61f74abadb
commit
e4f32f414e
4 changed files with 10 additions and 52 deletions
19
.github/workflows/build_iso.yml
vendored
19
.github/workflows/build_iso.yml
vendored
|
|
@ -10,16 +10,6 @@ on:
|
||||||
flatpaks_refs_dir:
|
flatpaks_refs_dir:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
outputs:
|
|
||||||
iso_name-38:
|
|
||||||
description: "Version 38 ISO Name"
|
|
||||||
value: ${{ jobs.build_iso.outputs.iso_name-38 }}
|
|
||||||
iso_name-39:
|
|
||||||
description: "Version 39 ISO Name"
|
|
||||||
value: ${{ jobs.build_iso.outputs.iso_name-39 }}
|
|
||||||
iso_name-40:
|
|
||||||
description: "Version 40 ISO Name"
|
|
||||||
value: ${{ jobs.build_iso.outputs.iso_name-40 }}
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
load_vars:
|
load_vars:
|
||||||
|
|
@ -41,14 +31,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
version:
|
version: ${{ needs.load_vars.outputs.BUILD_VERSIONS }}
|
||||||
- 38
|
|
||||||
- 39
|
|
||||||
- 40
|
|
||||||
outputs:
|
|
||||||
iso_name-38: ${{ steps.save_output.outputs.iso_name-38 }}
|
|
||||||
iso_name-39: ${{ steps.save_output.outputs.iso_name-39 }}
|
|
||||||
iso_name-40: ${{ steps.save_output.outputs.iso_name-40 }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
|
||||||
2
.github/workflows/build_vars.yml
vendored
2
.github/workflows/build_vars.yml
vendored
|
|
@ -3,6 +3,8 @@ on:
|
||||||
outputs:
|
outputs:
|
||||||
ARCH:
|
ARCH:
|
||||||
value: 'x86_64'
|
value: 'x86_64'
|
||||||
|
BUILD_VERSIONS:
|
||||||
|
value: '[38, 39, 40]'
|
||||||
IMAGE_NAME:
|
IMAGE_NAME:
|
||||||
value: 'base'
|
value: 'base'
|
||||||
IMAGE_REPO:
|
IMAGE_REPO:
|
||||||
|
|
|
||||||
20
.github/workflows/test_deployment.yml
vendored
20
.github/workflows/test_deployment.yml
vendored
|
|
@ -7,17 +7,6 @@ on:
|
||||||
parent_job_name:
|
parent_job_name:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
iso_name-38:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
iso_name-39:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
iso_name-40:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
load_vars:
|
load_vars:
|
||||||
|
|
@ -38,10 +27,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
version:
|
version: ${{ needs.load_vars.outputs.BUILD_VERSIONS }}
|
||||||
- 38
|
|
||||||
- 39
|
|
||||||
- 40
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
@ -86,11 +72,11 @@ jobs:
|
||||||
- name: Download generated ISO
|
- name: Download generated ISO
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs[format('{0}-{1}', needs.load_vars.outputs.IMAGE_NAME, matrix.version)] }}
|
name: ${{ format('{0}-{1}', needs.load_vars.outputs.IMAGE_NAME, matrix.version) }}
|
||||||
|
|
||||||
- name: Add Kickstart and Grub options to ISO
|
- name: Add Kickstart and Grub options to ISO
|
||||||
run: |
|
run: |
|
||||||
make test/vm/files/install.iso ISO_NAME=${{ inputs[format('{0}-{1}', needs.load_vars.outputs.IMAGE_NAME, matrix.version)] }}.iso
|
make test/vm/files/install.iso ISO_NAME=${{ format('{0}-{1}', needs.load_vars.outputs.IMAGE_NAME, matrix.version) }}.iso
|
||||||
|
|
||||||
- name: Create VM disk
|
- name: Create VM disk
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
19
.github/workflows/test_iso.yml
vendored
19
.github/workflows/test_iso.yml
vendored
|
|
@ -7,16 +7,6 @@ on:
|
||||||
parent_job_name:
|
parent_job_name:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
iso_name-38:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
iso_name-39:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
iso_name-40:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
load_vars:
|
load_vars:
|
||||||
|
|
@ -37,10 +27,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
version:
|
version: ${{ needs.load_vars.outputs.BUILD_VERSIONS }}
|
||||||
- 38
|
|
||||||
- 39
|
|
||||||
- 40
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
@ -85,7 +72,7 @@ jobs:
|
||||||
- name: Download generated ISO
|
- name: Download generated ISO
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs[format('{0}-{1}', needs.load_vars.outputs.IMAGE_NAME, matrix.version)] }}
|
name: ${{ format('{0}-{1}', needs.load_vars.outputs.IMAGE_NAME, matrix.version) }}
|
||||||
|
|
||||||
- name: Run ISO checks
|
- name: Run ISO checks
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -99,7 +86,7 @@ jobs:
|
||||||
FLATPAK_REMOTE_REFS_DIR=${{ needs.load_vars.outputs.FLATPAK_REMOTE_REFS_DIR }} \
|
FLATPAK_REMOTE_REFS_DIR=${{ needs.load_vars.outputs.FLATPAK_REMOTE_REFS_DIR }} \
|
||||||
SECURE_BOOT_KEY_URL=${{ needs.load_vars.outputs.SECURE_BOOT_KEY_URL }} \
|
SECURE_BOOT_KEY_URL=${{ needs.load_vars.outputs.SECURE_BOOT_KEY_URL }} \
|
||||||
ENROLLMENT_PASSWORD=${{ needs.load_vars.outputs.ENROLLMENT_PASSWORD }} \
|
ENROLLMENT_PASSWORD=${{ needs.load_vars.outputs.ENROLLMENT_PASSWORD }} \
|
||||||
ISO_NAME=${{ inputs[format('{0}-{1}', needs.load_vars.outputs.IMAGE_NAME, matrix.version)] }}.iso
|
ISO_NAME=${{ format('{0}-{1}', needs.load_vars.outputs.IMAGE_NAME, matrix.version) }}.iso
|
||||||
|
|
||||||
- name: Set status
|
- name: Set status
|
||||||
if: inputs.pr && always()
|
if: inputs.pr && always()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue