Compare commits
3 Commits
3.3
...
b0ee84e6e1
Author | SHA256 | Date | |
---|---|---|---|
b0ee84e6e1
|
|||
cab9156f80
|
|||
63d4df2803
|
@@ -1,6 +1,6 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#!BuildTag: %%IMG_PREFIX%%ironic-ipa-downloader:3.0.0
|
#!BuildTag: %%IMG_PREFIX%%ironic-ipa-downloader:3.0.1
|
||||||
#!BuildTag: %%IMG_PREFIX%%ironic-ipa-downloader:3.0.0-%RELEASE%
|
#!BuildTag: %%IMG_PREFIX%%ironic-ipa-downloader:3.0.1-%RELEASE%
|
||||||
#!BuildVersion: 15.6
|
#!BuildVersion: 15.6
|
||||||
ARG SLE_VERSION
|
ARG SLE_VERSION
|
||||||
FROM registry.suse.com/bci/bci-micro:$SLE_VERSION AS micro
|
FROM registry.suse.com/bci/bci-micro:$SLE_VERSION AS micro
|
||||||
@@ -8,7 +8,10 @@ FROM registry.suse.com/bci/bci-micro:$SLE_VERSION AS micro
|
|||||||
FROM registry.suse.com/bci/bci-base:$SLE_VERSION AS base
|
FROM registry.suse.com/bci/bci-base:$SLE_VERSION AS base
|
||||||
COPY --from=micro / /installroot/
|
COPY --from=micro / /installroot/
|
||||||
RUN sed -i -e 's%^# rpm.install.excludedocs = no.*%rpm.install.excludedocs = yes%g' /etc/zypp/zypp.conf
|
RUN sed -i -e 's%^# rpm.install.excludedocs = no.*%rpm.install.excludedocs = yes%g' /etc/zypp/zypp.conf
|
||||||
RUN zypper --installroot /installroot --non-interactive install --no-recommends ironic-ipa-ramdisk-x86_64 python311-devel python311 python311-pip tar gawk git curl xz fakeroot shadow sed cpio; zypper -n clean; rm -rf /var/log/*
|
#!ArchExclusiveLine: x86_64
|
||||||
|
RUN zypper --installroot /installroot --non-interactive install --no-recommends ironic-ipa-ramdisk-x86_64 python311-devel python311 python311-pip tar gawk git curl xz fakeroot shadow sed cpio; zypper -n clean; rm -rf /var/log/*;
|
||||||
|
#!ArchExclusiveLine: aarch64
|
||||||
|
RUN zypper --installroot /installroot --non-interactive install --no-recommends ironic-ipa-ramdisk-aarch64 python311-devel python311 python311-pip tar gawk git curl xz fakeroot shadow sed cpio; zypper -n clean; rm -rf /var/log/*;
|
||||||
#RUN zypper --installroot /installroot --non-interactive install --no-recommends sles-release;
|
#RUN zypper --installroot /installroot --non-interactive install --no-recommends sles-release;
|
||||||
RUN cp /usr/bin/getopt /installroot/
|
RUN cp /usr/bin/getopt /installroot/
|
||||||
|
|
||||||
@@ -19,11 +22,11 @@ FROM micro AS final
|
|||||||
LABEL org.opencontainers.image.authors="SUSE LLC (https://www.suse.com/)"
|
LABEL org.opencontainers.image.authors="SUSE LLC (https://www.suse.com/)"
|
||||||
LABEL org.opencontainers.image.title="SLE Based Ironic IPA Downloader Container Image"
|
LABEL org.opencontainers.image.title="SLE Based Ironic IPA Downloader Container Image"
|
||||||
LABEL org.opencontainers.image.description="ironic-ipa-downloader based on the SLE Base Container Image."
|
LABEL org.opencontainers.image.description="ironic-ipa-downloader based on the SLE Base Container Image."
|
||||||
LABEL org.opencontainers.image.version="3.0.0"
|
LABEL org.opencontainers.image.version="3.0.1"
|
||||||
LABEL org.opencontainers.image.url="https://www.suse.com/solutions/edge-computing/"
|
LABEL org.opencontainers.image.url="https://www.suse.com/solutions/edge-computing/"
|
||||||
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
||||||
LABEL org.opencontainers.image.vendor="SUSE LLC"
|
LABEL org.opencontainers.image.vendor="SUSE LLC"
|
||||||
LABEL org.opensuse.reference="%%IMG_REPO%%/%%IMG_PREFIX%%ironic-ipa-downloader:3.0.0-%RELEASE%"
|
LABEL org.opensuse.reference="%%IMG_REPO%%/%%IMG_PREFIX%%ironic-ipa-downloader:3.0.1-%RELEASE%"
|
||||||
LABEL org.openbuildservice.disturl="%DISTURL%"
|
LABEL org.openbuildservice.disturl="%DISTURL%"
|
||||||
LABEL com.suse.supportlevel="%%SUPPORT_LEVEL%%"
|
LABEL com.suse.supportlevel="%%SUPPORT_LEVEL%%"
|
||||||
LABEL com.suse.eula="SUSE Combined EULA February 2024"
|
LABEL com.suse.eula="SUSE Combined EULA February 2024"
|
||||||
|
@@ -8,10 +8,10 @@ export no_proxy=${no_proxy:-$NO_PROXY}
|
|||||||
|
|
||||||
# Which image should we use
|
# Which image should we use
|
||||||
if [ -z "${IPA_BASEURI}" ]; then
|
if [ -z "${IPA_BASEURI}" ]; then
|
||||||
# SLES BASED IPA - openstack-ironic-image-x86_64 package
|
# SLES BASED IPA - ironic-ipa-ramdisk-x86_64 package
|
||||||
mkdir -p /shared/html/images
|
mkdir -p /shared/html/images
|
||||||
cp /tmp/initrd.xz /shared/html/images/ironic-python-agent.initramfs
|
cp /tmp/initrd.xz /shared/html/images/ironic-python-agent.initramfs
|
||||||
cp /tmp/openstack-ironic-image*.x86_64*.kernel /shared/html/images/ironic-python-agent.kernel
|
cp /tmp/openstack-ironic-image*.kernel /shared/html/images/ironic-python-agent.kernel
|
||||||
else
|
else
|
||||||
FILENAME=ironic-python-agent
|
FILENAME=ironic-python-agent
|
||||||
FILENAME_EXT=.tar
|
FILENAME_EXT=.tar
|
||||||
@@ -68,4 +68,4 @@ if [ -d "/tmp/ironic-certificates" ]; then
|
|||||||
mkdir -p etc/ironic-python-agent.d/ca-certs
|
mkdir -p etc/ironic-python-agent.d/ca-certs
|
||||||
cp /tmp/ironic-certificates/* etc/ironic-python-agent.d/ca-certs/
|
cp /tmp/ironic-certificates/* etc/ironic-python-agent.d/ca-certs/
|
||||||
find . | fakeroot -i ../initrd.fakeroot cpio -o -H newc | xz --check=crc32 --x86 --lzma2 --fast > /shared/html/images/ironic-python-agent.initramfs
|
find . | fakeroot -i ../initrd.fakeroot cpio -o -H newc | xz --check=crc32 --x86 --lzma2 --fast > /shared/html/images/ironic-python-agent.initramfs
|
||||||
fi
|
fi
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<image schemaversion="7.4" name="openstack-ironic-image-201">
|
<image schemaversion="7.4" name="openstack-ironic-image-301">
|
||||||
<description type="system">
|
<description type="system">
|
||||||
<author>Cloud developers</author>
|
<author>Cloud developers</author>
|
||||||
<contact>cloud-devel@suse.de</contact>
|
<contact>cloud-devel@suse.de</contact>
|
||||||
@@ -116,8 +116,9 @@
|
|||||||
<package name="vim"/>
|
<package name="vim"/>
|
||||||
<package name="grub2"/>
|
<package name="grub2"/>
|
||||||
<package name="grub2-x86_64-efi" arch="x86_64"/>
|
<package name="grub2-x86_64-efi" arch="x86_64"/>
|
||||||
<package name="grub2-i386-pc"/>
|
<package name="grub2-arm64-efi" arch="aarch64"/>
|
||||||
<package name="syslinux"/>
|
<package name="grub2-i386-pc" arch="x86_64"/>
|
||||||
|
<package name="syslinux" arch="x86_64"/>
|
||||||
<package name="lvm2"/>
|
<package name="lvm2"/>
|
||||||
<package name="plymouth"/>
|
<package name="plymouth"/>
|
||||||
<package name="fontconfig"/>
|
<package name="fontconfig"/>
|
||||||
@@ -128,19 +129,17 @@
|
|||||||
<package name="kernel-firmware"/>
|
<package name="kernel-firmware"/>
|
||||||
<package name="kernel-default"/>
|
<package name="kernel-default"/>
|
||||||
<package name="NetworkManager"/>
|
<package name="NetworkManager"/>
|
||||||
<package name="nm-configurator"/>
|
<package name="nm-configurator-030"/>
|
||||||
<package name="timezone"/>
|
<package name="timezone"/>
|
||||||
<package name="haveged"/>
|
<package name="haveged"/>
|
||||||
<!-- ironic-python-agent specific -->
|
<!-- ironic-python-agent specific -->
|
||||||
<package name="openstack-ironic-python-agent"/>
|
<package name="openstack-ironic-python-agent"/>
|
||||||
<package name="hdparm"/>
|
<package name="hdparm"/>
|
||||||
<package name="qemu-tools"/>
|
<package name="qemu-tools"/>
|
||||||
<package name="python311-proliantutils" arch="x86_64"/>
|
<package name="python311-proliantutils"/>
|
||||||
<package name="lshw"/>
|
<package name="lshw"/>
|
||||||
<package name="dmidecode" arch="aarch64"/>
|
<package name="dmidecode"/>
|
||||||
<package name="dmidecode" arch="x86_64"/>
|
<package name="efibootmgr"/>
|
||||||
<package name="efibootmgr" arch="aarch64" />
|
|
||||||
<package name="efibootmgr" arch="x86_64" />
|
|
||||||
<package name="gptfdisk"/>
|
<package name="gptfdisk"/>
|
||||||
<package name="open-iscsi"/>
|
<package name="open-iscsi"/>
|
||||||
<package name="hwinfo"/>
|
<package name="hwinfo"/>
|
||||||
@@ -157,7 +156,6 @@
|
|||||||
</packages>
|
</packages>
|
||||||
|
|
||||||
<packages type="kis">
|
<packages type="kis">
|
||||||
<package name="gfxboot-branding-SLE"/>
|
|
||||||
<package name="dracut-kiwi-oem-repart"/>
|
<package name="dracut-kiwi-oem-repart"/>
|
||||||
<package name="dracut-kiwi-oem-dump"/>
|
<package name="dracut-kiwi-oem-dump"/>
|
||||||
</packages>
|
</packages>
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: ironic-ipa-ramdisk
|
Name: ironic-ipa-ramdisk
|
||||||
Version: 3.0.0
|
Version: 3.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Kernel and ramdisk image for OpenStack Ironic
|
Summary: Kernel and ramdisk image for OpenStack Ironic
|
||||||
License: SUSE-EULA
|
License: SUSE-EULA
|
||||||
@@ -49,7 +49,12 @@ BuildRequires: fontconfig
|
|||||||
BuildRequires: fonts-config
|
BuildRequires: fonts-config
|
||||||
BuildRequires: gptfdisk
|
BuildRequires: gptfdisk
|
||||||
BuildRequires: grub2
|
BuildRequires: grub2
|
||||||
|
%ifarch x86_64
|
||||||
BuildRequires: grub2-x86_64-efi
|
BuildRequires: grub2-x86_64-efi
|
||||||
|
%endif
|
||||||
|
%ifarch aarch64
|
||||||
|
BuildRequires: grub2-arm64-efi
|
||||||
|
%endif
|
||||||
BuildRequires: haveged
|
BuildRequires: haveged
|
||||||
BuildRequires: hdparm
|
BuildRequires: hdparm
|
||||||
BuildRequires: hwinfo
|
BuildRequires: hwinfo
|
||||||
@@ -87,25 +92,20 @@ BuildRequires: wpa_supplicant
|
|||||||
BuildRequires: dhcp-client
|
BuildRequires: dhcp-client
|
||||||
BuildRequires: which
|
BuildRequires: which
|
||||||
BuildRequires: NetworkManager
|
BuildRequires: NetworkManager
|
||||||
BuildRequires: nm-configurator
|
BuildRequires: nm-configurator-030
|
||||||
BuildRequires: logrotate
|
BuildRequires: logrotate
|
||||||
BuildRequires: plymouth-dracut
|
BuildRequires: plymouth-dracut
|
||||||
BuildRequires: plymouth-theme-bgrt
|
BuildRequires: plymouth-theme-bgrt
|
||||||
BuildRequires: dracut-kiwi-oem-dump
|
BuildRequires: dracut-kiwi-oem-dump
|
||||||
BuildRequires: dracut-kiwi-oem-repart
|
BuildRequires: dracut-kiwi-oem-repart
|
||||||
BuildRequires: gfxboot-branding-SLE
|
|
||||||
BuildRequires: grub2-branding-SLE
|
BuildRequires: grub2-branding-SLE
|
||||||
BuildRequires: open-iscsi
|
BuildRequires: open-iscsi
|
||||||
BuildRequires: plymouth-branding-SLE
|
BuildRequires: plymouth-branding-SLE
|
||||||
BuildRequires: lshw
|
BuildRequires: lshw
|
||||||
BuildRequires: kbd
|
BuildRequires: kbd
|
||||||
%ifarch aarch64
|
|
||||||
BuildRequires: dmidecode
|
BuildRequires: dmidecode
|
||||||
BuildRequires: efibootmgr
|
BuildRequires: efibootmgr
|
||||||
%endif
|
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
BuildRequires: dmidecode
|
|
||||||
BuildRequires: efibootmgr
|
|
||||||
BuildRequires: syslinux
|
BuildRequires: syslinux
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Binary file not shown.
@@ -1,7 +1,7 @@
|
|||||||
#!BuildTag: %%IMG_PREFIX%%metal3-chart:%%CHART_MAJOR%%.0.0_up0.9.0
|
#!BuildTag: %%IMG_PREFIX%%metal3-chart:%%CHART_MAJOR%%.0.0_up0.9.1
|
||||||
#!BuildTag: %%IMG_PREFIX%%metal3-chart:%%CHART_MAJOR%%.0.0_up0.9.0-%RELEASE%
|
#!BuildTag: %%IMG_PREFIX%%metal3-chart:%%CHART_MAJOR%%.0.0_up0.9.1-%RELEASE%
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 0.9.0
|
appVersion: 0.9.1
|
||||||
dependencies:
|
dependencies:
|
||||||
- alias: metal3-baremetal-operator
|
- alias: metal3-baremetal-operator
|
||||||
name: baremetal-operator
|
name: baremetal-operator
|
||||||
@@ -10,7 +10,7 @@ dependencies:
|
|||||||
- alias: metal3-ironic
|
- alias: metal3-ironic
|
||||||
name: ironic
|
name: ironic
|
||||||
repository: file://./charts/ironic
|
repository: file://./charts/ironic
|
||||||
version: 0.8.0
|
version: 0.9.0
|
||||||
- alias: metal3-mariadb
|
- alias: metal3-mariadb
|
||||||
condition: global.enable_mariadb
|
condition: global.enable_mariadb
|
||||||
name: mariadb
|
name: mariadb
|
||||||
@@ -25,4 +25,4 @@ description: A Helm chart that installs all of the dependencies needed for Metal
|
|||||||
icon: https://github.com/cncf/artwork/raw/master/projects/metal3/icon/color/metal3-icon-color.svg
|
icon: https://github.com/cncf/artwork/raw/master/projects/metal3/icon/color/metal3-icon-color.svg
|
||||||
name: metal3
|
name: metal3
|
||||||
type: application
|
type: application
|
||||||
version: "%%CHART_MAJOR%%.0.0+up0.9.0"
|
version: "%%CHART_MAJOR%%.0.0+up0.9.1"
|
||||||
|
@@ -3,4 +3,4 @@ appVersion: 26.1.2
|
|||||||
description: A Helm chart for Ironic, used by Metal3
|
description: A Helm chart for Ironic, used by Metal3
|
||||||
name: ironic
|
name: ironic
|
||||||
type: application
|
type: application
|
||||||
version: 0.8.0
|
version: 0.9.0
|
||||||
|
@@ -56,11 +56,11 @@ images:
|
|||||||
ironic:
|
ironic:
|
||||||
repository: registry.opensuse.org/isv/suse/edge/metal3/containers/images/ironic
|
repository: registry.opensuse.org/isv/suse/edge/metal3/containers/images/ironic
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: 26.1.2.0
|
tag: 26.1.2.1
|
||||||
ironicIPADownloader:
|
ironicIPADownloader:
|
||||||
repository: registry.opensuse.org/isv/suse/edge/metal3/containers/images/ironic-ipa-downloader
|
repository: registry.opensuse.org/isv/suse/edge/metal3/containers/images/ironic-ipa-downloader
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: 3.0.0
|
tag: 3.0.1
|
||||||
|
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
|
Reference in New Issue
Block a user