Skip to content

Commit

Permalink
Test build for #2017
Browse files Browse the repository at this point in the history
  • Loading branch information
SUSE Update Bot committed Nov 15, 2024
1 parent c7c6575 commit 1943fed
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .obs/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ staging_build:
source_project: home:defolos:BCI:CR:16.0
source_package: sle16-kernel-module-devel-image
target_project: home:defolos:BCI:CR:16.0:Staging
- branch_package:
source_project: home:defolos:BCI:CR:16.0
source_package: slm60-kernel-module-devel-image
target_project: home:defolos:BCI:CR:16.0:Staging
filters:
event: pull_request

Expand Down Expand Up @@ -74,6 +78,9 @@ refresh_devel_BCI:
- trigger_services:
project: devel:BCI:16.0
package: sle16-kernel-module-devel-image
- trigger_services:
project: devel:BCI:16.0
package: slm60-kernel-module-devel-image
filters:
event: push
branches:
Expand Down
70 changes: 70 additions & 0 deletions slm60-kernel-module-devel-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# SPDX-License-Identifier: MIT

# Copyright (c) 2024 SUSE LLC

# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon.

# The content of THIS FILE IS AUTOGENERATED and should not be manually modified.
# It is maintained by the BCI team and generated by
# https://github.com/SUSE/BCI-dockerfile-generator

# Please submit bugfixes or comments via https://bugs.opensuse.org/
# You can contact the BCI team via https://github.com/SUSE/bci/discussions

#!UseOBSRepositories
#!ExclusiveArch: x86_64 s390x aarch64
#!BuildTag: bci/bci-slm60-kernel-module-devel:%OS_VERSION_ID_SP%-%RELEASE%
#!BuildTag: bci/bci-slm60-kernel-module-devel:%OS_VERSION_ID_SP%

FROM bci/bci-base:16.0

RUN set -euo pipefail; \
zypper -n install --no-recommends gcc kmod make patch gawk pesign-obs-integration dwarves libelf-devel SLES-release; \
zypper -n clean; \
rm -rf {/target,}/var/log/{alternatives.log,lastlog,tallylog,zypper.log,zypp/history,YaST2}

# Define labels according to https://en.opensuse.org/Building_derived_containers
# labelprefix=com.suse.bci.slm60-kernel-module-devel
LABEL org.opencontainers.image.authors="https://github.com/SUSE/bci/discussions"
LABEL org.opencontainers.image.title="SLE BCI SUSE Linux Micro 6.0 Kernel module development"
LABEL org.opencontainers.image.description="SUSE Linux Micro 6.0 Kernel module development container based on the SLE Base Container Image."
LABEL org.opencontainers.image.version="%OS_VERSION_ID_SP%-%RELEASE%"
LABEL org.opencontainers.image.url="https://www.suse.com/products/base-container-images/"
LABEL org.opencontainers.image.created="%BUILDTIME%"
LABEL org.opencontainers.image.vendor="SUSE LLC"
LABEL org.opencontainers.image.source="%SOURCEURL%"
LABEL org.opencontainers.image.ref.name="%OS_VERSION_ID_SP%-%RELEASE%"
LABEL org.opensuse.reference="registry.suse.com/bci/bci-slm60-kernel-module-devel:%OS_VERSION_ID_SP%-%RELEASE%"
LABEL org.openbuildservice.disturl="%DISTURL%"
LABEL com.suse.supportlevel="techpreview"
LABEL com.suse.supportlevel.until="2031-07-31"
LABEL com.suse.eula="sle-bci"
LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle"
LABEL com.suse.release-stage="beta"
# endlabelprefix
LABEL io.artifacthub.package.readme-url="%SOURCEURL%/README.md"
LABEL io.artifacthub.package.logo-url="https://opensource.suse.com/bci/SLE_BCI_logomark_green.svg"
#!RemoteAssetUrl: https://api.opensuse.org/public/build/SUSE:ALP:Source:Standard:Core:1.0:Build/standard/x86_64/patchinfo.ga/kernel-devel-6.4.0-17.1.noarch.rpm
COPY kernel-devel-6.4.0-17.1.noarch.rpm .
#!RemoteAssetUrl: https://api.opensuse.org/public/build/SUSE:ALP:Source:Standard:Core:1.0:Build/standard/x86_64/patchinfo.ga/kernel-macros-6.4.0-17.1.noarch.rpm
COPY kernel-macros-6.4.0-17.1.noarch.rpm .
#!RemoteAssetUrl: https://api.opensuse.org/public/build/SUSE:ALP:Source:Standard:Core:1.0:Build/standard/x86_64/patchinfo.ga/kernel-syms-6.4.0-17.1.x86_64.rpm
COPY kernel-syms-6.4.0-17.1.x86_64.rpm .
#!RemoteAssetUrl: https://api.opensuse.org/public/build/SUSE:ALP:Source:Standard:Core:1.0:Build/standard/x86_64/patchinfo.ga/kernel-default-devel-6.4.0-17.1.x86_64.rpm
COPY kernel-default-devel-6.4.0-17.1.x86_64.rpm .
#!RemoteAssetUrl: https://api.opensuse.org/public/build/SUSE:ALP:Source:Standard:Core:1.0:Build/standard/aarch64/patchinfo.ga/kernel-syms-6.4.0-17.1.aarch64.rpm
COPY kernel-syms-6.4.0-17.1.aarch64.rpm .
#!RemoteAssetUrl: https://api.opensuse.org/public/build/SUSE:ALP:Source:Standard:Core:1.0:Build/standard/aarch64/patchinfo.ga/kernel-default-devel-6.4.0-17.1.aarch64.rpm
COPY kernel-default-devel-6.4.0-17.1.aarch64.rpm .
#!RemoteAssetUrl: https://api.opensuse.org/public/build/SUSE:ALP:Source:Standard:Core:1.0:Build/standard/s390x/patchinfo.ga/kernel-syms-6.4.0-17.1.s390x.rpm
COPY kernel-syms-6.4.0-17.1.s390x.rpm .
#!RemoteAssetUrl: https://api.opensuse.org/public/build/SUSE:ALP:Source:Standard:Core:1.0:Build/standard/s390x/patchinfo.ga/kernel-default-devel-6.4.0-17.1.s390x.rpm
COPY kernel-default-devel-6.4.0-17.1.s390x.rpm .
RUN set -euo pipefail; \
[ $(LC_ALL=C rpm --checksig -v *rpm | \
grep -c -E "^ *V3.*key ID 09d9ea69:") = 8 ] \
&& rpm -Uvh --oldpackage --force *.$(uname -m).rpm *.noarch.rpm \
&& rm -vf *.rpm \
&& rpmqpack | grep -E '^kernel-' | xargs zypper -n addlock
18 changes: 18 additions & 0 deletions slm60-kernel-module-devel-image/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# The SLE BCI SUSE Linux Micro 6.0 Kernel module development container image
![Redistributable](https://img.shields.io/badge/Redistributable-Yes-green)![Support Level](https://img.shields.io/badge/Support_Level-techpreview-blue)
[![SLSA](https://img.shields.io/badge/SLSA_(v0.1)-Level_4-Green)](https://documentation.suse.com/sbp/server-linux/html/SBP-SLSA4/)
[![Provenance: Available](https://img.shields.io/badge/Provenance-Available-Green)](https://documentation.suse.com/container/all/html/Container-guide/index.html#container-verify)

SUSE Linux Micro 6.0 Kernel module development container based on the SLE Base Container Image.

## Licensing

`SPDX-License-Identifier: MIT`

This documentation and the build recipe are licensed as MIT.
The container itself contains various software components under various open source licenses listed in the associated
Software Bill of Materials (SBOM).

This image is a tech preview. Do not use it for production.
Your feedback is welcome.
Please report any issues to the [SUSE Bugzilla](https://bugzilla.suse.com/enter_bug.cgi?product=SUSE%20Linux%20Enterprise%20Base%20Container%20Images).
7 changes: 7 additions & 0 deletions slm60-kernel-module-devel-image/_constraints
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<constraints>
<hardware>
<disk>
<size unit="G">8</size>
</disk>
</hardware>
</constraints>
4 changes: 4 additions & 0 deletions slm60-kernel-module-devel-image/_service
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<services>
<service mode="buildtime" name="docker_label_helper"/>
<service mode="buildtime" name="kiwi_metainfo_helper"/>
</services>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Nov 15 15:21:45 UTC 2024 - SUSE Update Bot <[email protected]>

- First version of the SUSE Linux Micro 6.0 Kernel module development BCI

0 comments on commit 1943fed

Please sign in to comment.