From b84d93b30a49fdcd5e3ea8a1ca221714968474cfb0ca907dcfa2dea5cae3ccf0 Mon Sep 17 00:00:00 2001 From: James Fehlig Date: Wed, 17 Mar 2021 13:43:35 +0000 Subject: [PATCH] Accepting request 879580 from home:vulyanov:branches:Virtualization - Add placeholder vars to be replaced during build - Fix mixed tabs and spaces OBS-URL: https://build.opensuse.org/request/show/879580 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-launcher-container?expand=0&rev=4 --- Dockerfile | 14 +++++++------- _service | 9 ++++++++- virt-launcher-container.changes | 6 ++++++ 3 files changed, 21 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 34e3c88..f058a20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Define the tags for OBS and build script builds: -#!BuildTag: opensuse/tumbleweed/virt-launcher:%%PKG_VERSION%% -#!BuildTag: opensuse/tumbleweed/virt-launcher:%%PKG_VERSION%%.%RELEASE% +#!BuildTag: %%TAGPREFIX%%/virt-launcher:%%PKG_VERSION%% +#!BuildTag: %%TAGPREFIX%%/virt-launcher:%%PKG_VERSION%%.%RELEASE% # virt-launcher container image # KUBEVIRTFROM defined in prjconf, e.g. @@ -8,13 +8,13 @@ ARG KUBEVIRTFROM FROM $KUBEVIRTFROM -# labelprefix=org.opensuse.kubevirt +# labelprefix=%%LABELPREFIX%% PREFIXEDLABEL org.opencontainers.image.title="kubevirt virt-launcher container" PREFIXEDLABEL org.opencontainers.image.description="Container to host VM processes for kubevirt" PREFIXEDLABEL org.opencontainers.image.created="%BUILDTIME%" PREFIXEDLABEL org.opencontainers.image.version="%%PKG_VERSION%%.%RELEASE%" PREFIXEDLABEL org.openbuildservice.disturl="%DISTURL%" -PREFIXEDLABEL org.opensuse.reference="opensuse/tumbleweed/virt-launcher:%%PKG_VERSION%%.%RELEASE%" +PREFIXEDLABEL org.opensuse.reference="%%TAGPREFIX%%/virt-launcher:%%PKG_VERSION%%.%RELEASE%" RUN zypper update -y && \ zypper install -y \ @@ -30,9 +30,9 @@ RUN zypper update -y && \ libvirt-daemon-qemu \ libvirt-client \ libvirt-daemon-driver-storage-core \ - vim \ - kubevirt-container-disk \ - kubevirt-virt-launcher && \ + vim \ + kubevirt-container-disk \ + kubevirt-virt-launcher && \ mkdir -p /usr/share/kubevirt/virt-launcher COPY augconf /augconf diff --git a/_service b/_service index b161459..c4d299f 100644 --- a/_service +++ b/_service @@ -6,5 +6,12 @@ patch kubevirt-virt-launcher - + + Dockerfile + TAGPREFIX + LABELPREFIX + source /usr/lib/obs/service/meta/virt-containers-meta + 1 + + diff --git a/virt-launcher-container.changes b/virt-launcher-container.changes index fc9b132..979f6a3 100644 --- a/virt-launcher-container.changes +++ b/virt-launcher-container.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Mar 17 07:08:54 UTC 2021 - Vasily Ulyanov + +- Add placeholder vars to be replaced during build +- Fix mixed tabs and spaces + ------------------------------------------------------------------- Tue Nov 17 23:03:31 UTC 2020 - James Fehlig