mirror of
https://github.com/flatcar/scripts.git
synced 2026-02-05 07:41:37 +01:00
.github: Build PXE image as additional VM image format
The PXE image and its helper script is a very handy way to test an image because it does not preserve state. One can boot the same file over and over again without having to reset the image. One can also easily pass in additional kernel cmdline options without having to set up grub.cfg.
This commit is contained in:
parent
b0ce20639b
commit
e1fc7a808d
8
.github/workflows/ci.yaml
vendored
8
.github/workflows/ci.yaml
vendored
@ -7,7 +7,7 @@ on:
|
||||
description: |
|
||||
Space-separated vendor formats to build.
|
||||
required: true
|
||||
default: qemu_uefi
|
||||
default: qemu_uefi pxe
|
||||
custom_sdk_version:
|
||||
type: string
|
||||
required: false
|
||||
@ -21,7 +21,7 @@ on:
|
||||
description: |
|
||||
Space-separated vendor formats to build.
|
||||
required: true
|
||||
default: qemu_uefi
|
||||
default: qemu_uefi pxe
|
||||
custom_sdk_version:
|
||||
type: string
|
||||
required: false
|
||||
@ -96,7 +96,7 @@ jobs:
|
||||
arch="${{ matrix.arch }}"
|
||||
echo "arch=${arch}" >> $GITHUB_ENV
|
||||
|
||||
IMAGE_FORMATS="qemu_uefi"
|
||||
IMAGE_FORMATS="qemu_uefi pxe"
|
||||
[ -z "${{ inputs.image_formats }}" ] || IMAGE_FORMATS="${{ inputs.image_formats }}"
|
||||
echo "IMAGE_FORMATS=${IMAGE_FORMATS}" >> $GITHUB_ENV
|
||||
|
||||
@ -309,6 +309,8 @@ jobs:
|
||||
scripts/artifacts/images/flatcar_production_*_efi_*.fd
|
||||
scripts/artifacts/images/*.txt
|
||||
scripts/artifacts/images/flatcar_production_*.sh
|
||||
scripts/artifacts/images/flatcar_production_pxe_image.cpio.gz
|
||||
scripts/artifacts/images/flatcar_production_pxe.vmlinuz
|
||||
|
||||
test:
|
||||
needs: packages
|
||||
|
||||
@ -77,4 +77,4 @@ jobs:
|
||||
uses: ./.github/workflows/ci.yaml
|
||||
with:
|
||||
custom_sdk_version: ${{ needs.update_sdk.outputs.sdk_version }}
|
||||
image_formats: qemu_uefi
|
||||
image_formats: qemu_uefi pxe
|
||||
|
||||
2
.github/workflows/pr-workflows.yaml
vendored
2
.github/workflows/pr-workflows.yaml
vendored
@ -46,4 +46,4 @@ jobs:
|
||||
uses: ./.github/workflows/ci.yaml
|
||||
with:
|
||||
custom_sdk_version: ${{ needs.update_sdk.outputs.sdk_version }}
|
||||
image_formats: qemu_uefi
|
||||
image_formats: qemu_uefi pxe
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user