Skip to content

Commit 34191a4

Browse files
Copilotcastrojo
andauthored
Enable Bluefin LTS HWE ISO builds (#3170)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: castrojo <1264109+castrojo@users.noreply.github.com>
1 parent 7372452 commit 34191a4

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/reusable-build-iso-anaconda.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
default: 'all'
1212
options:
1313
- lts
14+
- lts-hwe
1415
- gts
1516
- stable
1617
- all
@@ -58,6 +59,12 @@ jobs:
5859
- platform: arm64
5960
flavor: gdx
6061
image_version: lts
62+
- platform: amd64
63+
flavor: "main"
64+
image_version: lts-hwe
65+
- platform: arm64
66+
flavor: "main"
67+
image_version: lts-hwe
6168
permissions:
6269
contents: read
6370
packages: read
@@ -111,7 +118,7 @@ jobs:
111118
echo "kargs=$KARGS" >> "${GITHUB_OUTPUT}"
112119
113120
- name: Add Bazaar to LTS Flatpaks
114-
if: matrix.image_version == 'lts'
121+
if: matrix.image_version == 'lts' || matrix.image_version == 'lts-hwe'
115122
run: |
116123
set -eoux pipefail
117124
echo "app/io.github.kolunmi.Bazaar" >> ${{ github.workspace }}/flatpaks/system-flatpaks.list
@@ -122,9 +129,9 @@ jobs:
122129
with:
123130
image-ref: ${{ steps.image_ref.outputs.image_ref }}:${{ matrix.image_version }}
124131
flatpaks-list: ${{ github.workspace }}/flatpaks/system-flatpaks.list
125-
hook-post-rootfs: ${{ matrix.image_version == 'lts' && format('{0}/iso_files/configure_lts_iso_anaconda.sh', github.workspace) || format('{0}/iso_files/configure_iso_anaconda.sh', github.workspace) }}
132+
hook-post-rootfs: ${{ (matrix.image_version == 'lts' || matrix.image_version == 'lts-hwe') && format('{0}/iso_files/configure_lts_iso_anaconda.sh', github.workspace) || format('{0}/iso_files/configure_iso_anaconda.sh', github.workspace) }}
126133
kargs: ${{ steps.image_ref.outputs.kargs }}
127-
builder-distro: ${{ matrix.image_version == 'lts' && 'centos' || 'fedora' }}
134+
builder-distro: ${{ (matrix.image_version == 'lts' || matrix.image_version == 'lts-hwe') && 'centos' || 'fedora' }}
128135

129136
- name: Rename ISO
130137
id: rename

Justfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ tags := '(
3030
3131
# Temporary for LTS to anaconda build-iso
3232
[lts]=lts
33+
[lts-hwe]=lts-hwe
3334
)'
3435
export SUDO_DISPLAY := if `if [ -n "${DISPLAY:-}" ] || [ -n "${WAYLAND_DISPLAY:-}" ]; then echo true; fi` == "true" { "true" } else { "false" }
3536
export SUDOIF := if `id -u` == "0" { "" } else if SUDO_DISPLAY == "true" { "sudo --askpass" } else { "sudo" }

0 commit comments

Comments
 (0)