- Add LABEL with support level
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-pr-helper-container?expand=0&rev=7
This commit is contained in:
commit
4f671209ee
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
36
Dockerfile
Normal file
36
Dockerfile
Normal file
@ -0,0 +1,36 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Define the tags for OBS and build script builds:
|
||||
#!BuildTag: %%TAGPREFIX%%/pr-helper:%%PKG_VERSION%%
|
||||
#!BuildTag: %%TAGPREFIX%%/pr-helper:%%PKG_VERSION%%.%RELEASE%
|
||||
#!BuildTag: %%TAGPREFIX%%/pr-helper:%%PKG_VERSION%%-%%PKG_RELEASE%%
|
||||
|
||||
#!ExclusiveArch: x86_64 aarch64
|
||||
|
||||
# pr-helper container image
|
||||
# KUBEVIRTFROM defined in prjconf, e.g.
|
||||
# BuildFlags: dockerarg:KUBEVIRTFROM=opensuse/tumbleweed
|
||||
ARG KUBEVIRTFROM
|
||||
FROM $KUBEVIRTFROM
|
||||
|
||||
# Mandatory labels for the build service:
|
||||
# https://en.opensuse.org/Building_derived_containers
|
||||
# labelprefix=%%LABELPREFIX%%
|
||||
LABEL org.opencontainers.image.title="kubevirt pr-helper container"
|
||||
LABEL org.opencontainers.image.description="QEMU persistent reservation helper"
|
||||
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
||||
LABEL org.opencontainers.image.version="%%PKG_VERSION%%.%RELEASE%"
|
||||
LABEL org.opencontainers.image.source="%SOURCEURL%"
|
||||
LABEL org.openbuildservice.disturl="%DISTURL%"
|
||||
LABEL org.opensuse.reference="%%REGISTRY%%/%%TAGPREFIX%%/pr-helper:%%PKG_VERSION%%.%RELEASE%"
|
||||
LABEL com.suse.supportlevel="%%SUPPORT_LEVEL%%"
|
||||
# endlabelprefix
|
||||
|
||||
RUN zypper -n install \
|
||||
kubevirt-pr-helper-conf \
|
||||
qemu-pr-helper && \
|
||||
zypper clean -a
|
||||
|
||||
RUN cp -f /usr/share/kube-virt/pr-helper/multipath.conf /etc/
|
||||
|
||||
ENTRYPOINT [ "/usr/bin/qemu-pr-helper" ]
|
16
_service
Normal file
16
_service
Normal file
@ -0,0 +1,16 @@
|
||||
<services>
|
||||
<service mode="buildtime" name="kiwi_metainfo_helper"/>
|
||||
<service mode="buildtime" name="kubevirt_containers_meta"/>
|
||||
<service mode="buildtime" name="replace_using_env">
|
||||
<param name="file">Dockerfile</param>
|
||||
<param name="var">PKG_VERSION</param>
|
||||
<param name="var">PKG_RELEASE</param>
|
||||
<param name="var">REGISTRY</param>
|
||||
<param name="var">TAGPREFIX</param>
|
||||
<param name="var">LABELPREFIX</param>
|
||||
<param name="var">SUPPORT_LEVEL</param>
|
||||
<param name="eval">pkg=kubevirt-pr-helper-conf source /usr/lib/obs/service/kubevirt_containers_meta</param>
|
||||
<param name="verbose">1</param>
|
||||
</service>
|
||||
<service mode="buildtime" name="docker_label_helper"/>
|
||||
</services>
|
19
virt-pr-helper-container.changes
Normal file
19
virt-pr-helper-container.changes
Normal file
@ -0,0 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 15 05:50:28 UTC 2024 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||
|
||||
- Add LABEL with support level
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 22 08:12:59 UTC 2024 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||
|
||||
- Add LABEL with source URL
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 23 12:29:43 UTC 2023 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||
|
||||
- Add license header
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 08:26:34 UTC 2023 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||
|
||||
- Initial container for qemu-pr-helper
|
Loading…
Reference in New Issue
Block a user