forked from pool/csi-livenessprobe-image
Initial checkin to OBS
OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/csi-livenessprobe-image?expand=0&rev=1
This commit is contained in:
commit
2c29bf0df4
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
|
13
README
Normal file
13
README
Normal file
@ -0,0 +1,13 @@
|
||||
# Generating the KIWI file
|
||||
|
||||
The `.kiwi` file is generated from the `csi-livenessprobe-image.xsl`
|
||||
base template and the `*.xml` documents for each distribution.
|
||||
|
||||
After making changes to any of the xsl or xml files, the kiwi
|
||||
file can be regenerated by running `sh ./pre-checkin.sh TARGET`,
|
||||
where TARGET corresponds to the distribution flavor in use.
|
||||
|
||||
## Requirements
|
||||
|
||||
* xsltproc
|
||||
|
10
_service
Normal file
10
_service
Normal file
@ -0,0 +1,10 @@
|
||||
<services>
|
||||
<service name="replace_using_package_version" mode="buildtime">
|
||||
<param name="file">csi-livenessprobe-image.kiwi</param>
|
||||
<param name="regex">%PKG_VERSION%</param>
|
||||
<param name="parse-version">patch</param>
|
||||
<param name="package">csi-livenessprobe</param>
|
||||
</service>
|
||||
<service mode="buildtime" name="kiwi_metainfo_helper"/>
|
||||
<service mode="buildtime" name="kiwi_label_helper"/>
|
||||
</services>
|
25
csi-livenessprobe-image.changes
Normal file
25
csi-livenessprobe-image.changes
Normal file
@ -0,0 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 11 06:39:23 UTC 2020 - Tim Serong <tserong@suse.com>
|
||||
|
||||
- Rework OBS project to use per-distribution xml template files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 26 10:56:49 UTC 2020 - Tim Serong <tserong@suse.com>
|
||||
|
||||
- Rename to csi-livenessprobe-image, update metadata for SES 7 release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 13 11:58:01 UTC 2020 - jmassaguerpla@suse.com
|
||||
|
||||
- remove beta tag
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 12 17:57:57 UTC 2020 - Chin-Ya Huang <chin-ya.huang@suse.com>
|
||||
|
||||
- Add missing _service file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 5 07:25:02 GMT 2020 - Chin-Ya Huang <chin-ya.huang@suse.com>
|
||||
|
||||
- Initial release of version 1
|
||||
|
46
csi-livenessprobe-image.kiwi
Normal file
46
csi-livenessprobe-image.kiwi
Normal file
@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
This file is generated,
|
||||
don't manually modify this file,
|
||||
please check README
|
||||
-->
|
||||
<!-- OBS-AddTag: opensuse/cephcsi/csi-livenessprobe:v%PKG_VERSION%-rev<VERSION> opensuse/cephcsi/csi-livenessprobe:v%PKG_VERSION%-rev<VERSION>-build<RELEASE> -->
|
||||
<image xmlns:suse_label_helper="com.suse.label_helper" schemaversion="6.9" name="csi-livenessprobe-image">
|
||||
<description type="system">
|
||||
<author>SUSE Containers Team</author>
|
||||
<contact>containers@suse.com</contact>
|
||||
<specification>csi-livenessprobe running on a openSUSE Tumbleweed container guest</specification>
|
||||
</description>
|
||||
<preferences>
|
||||
<type image="docker" derived_from="obsrepositories:/opensuse/tumbleweed">
|
||||
<containerconfig tag="v%PKG_VERSION%" maintainer="SUSE Containers Team <containers@suse.com>" name="opensuse/cephcsi/csi-livenessprobe">
|
||||
<entrypoint execute="/usr/bin/livenessprobe"/>
|
||||
<subcommand clear="true"/>
|
||||
<labels>
|
||||
<suse_label_helper:add_prefix prefix="org.opensuse.cephcsi">
|
||||
<label name="org.opencontainers.image.description" value="csi-livenessprobe running on a openSUSE Tumbleweed container guest"/>
|
||||
<label name="org.opencontainers.image.title" value="csi-livenessprobe container"/>
|
||||
<label name="org.opencontainers.image.created" value="%BUILDTIME%"/>
|
||||
<label name="org.opencontainers.image.vendor" value="SUSE LLC"/>
|
||||
<label name="org.opencontainers.image.url" value="https://registry.opensuse.org/opensuse/cephcsi/csi-livenessprobe:v%PKG_VERSION%"/>
|
||||
<label name="org.opencontainers.image.version" value="v%PKG_VERSION%"/>
|
||||
<label name="org.openbuildservice.disturl" value="%DISTURL%"/>
|
||||
<label name="org.opensuse.reference" value="registry.opensuse.org/opensuse/cephcsi/csi-livenessprobe:v%PKG_VERSION%"/>
|
||||
</suse_label_helper:add_prefix>
|
||||
</labels>
|
||||
</containerconfig>
|
||||
</type>
|
||||
<version>1</version>
|
||||
<packagemanager>zypper</packagemanager>
|
||||
<rpm-excludedocs>true</rpm-excludedocs>
|
||||
</preferences>
|
||||
<repository>
|
||||
<source path="obsrepositories:/"/>
|
||||
</repository>
|
||||
<packages type="image">
|
||||
<package name="csi-livenessprobe"/>
|
||||
</packages>
|
||||
<packages type="bootstrap">
|
||||
<package name="openSUSE-release-ftp"/>
|
||||
</packages>
|
||||
</image>
|
98
csi-livenessprobe-image.xsl
Normal file
98
csi-livenessprobe-image.xsl
Normal file
@ -0,0 +1,98 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
||||
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
|
||||
|
||||
<xsl:template match="/">
|
||||
|
||||
<xsl:comment>
|
||||
This file is generated,
|
||||
don't manually modify this file,
|
||||
please check README
|
||||
</xsl:comment>
|
||||
|
||||
<xsl:comment> OBS-AddTag: <xsl:value-of select="param/name" />:v%PKG_VERSION%-rev<VERSION> <xsl:value-of select="param/name" />:v%PKG_VERSION%-rev<VERSION>-build<RELEASE> </xsl:comment>
|
||||
|
||||
<image schemaversion="6.9" name="csi-livenessprobe-image" xmlns:suse_label_helper="com.suse.label_helper">
|
||||
<description type="system">
|
||||
<author>SUSE Containers Team</author>
|
||||
<contact>containers@suse.com</contact>
|
||||
<specification>csi-livenessprobe running on a <xsl:value-of select="param/os" /> container guest</specification>
|
||||
</description>
|
||||
<preferences>
|
||||
<type image="docker">
|
||||
<xsl:attribute name="derived_from">
|
||||
<xsl:value-of select="param/image" />
|
||||
</xsl:attribute>
|
||||
<containerconfig
|
||||
tag="v%PKG_VERSION%"
|
||||
maintainer="SUSE Containers Team <containers@suse.com>"
|
||||
>
|
||||
<xsl:attribute name="name">
|
||||
<xsl:value-of select="param/name" />
|
||||
</xsl:attribute>
|
||||
|
||||
<entrypoint execute="/usr/bin/livenessprobe"/>
|
||||
<subcommand clear="true"/>
|
||||
<labels>
|
||||
<suse_label_helper:add_prefix>
|
||||
<xsl:attribute name="prefix">
|
||||
<xsl:value-of select="param/prefix" />
|
||||
</xsl:attribute>
|
||||
|
||||
<label name="org.opencontainers.image.description">
|
||||
<xsl:attribute name="value">csi-livenessprobe running on a <xsl:value-of select="param/os" /> container guest</xsl:attribute>
|
||||
</label>
|
||||
<label name="org.opencontainers.image.title">
|
||||
<xsl:attribute name="value">
|
||||
<xsl:value-of select="param/title" />
|
||||
</xsl:attribute>
|
||||
</label>
|
||||
<label name="org.opencontainers.image.created" value="%BUILDTIME%"/>
|
||||
<label name="org.opencontainers.image.vendor" value="SUSE LLC"/>
|
||||
<label name="org.opencontainers.image.url">
|
||||
<xsl:attribute name="value">
|
||||
<xsl:value-of select="param/url" />
|
||||
</xsl:attribute>
|
||||
</label>
|
||||
<label name="org.opencontainers.image.version" value="v%PKG_VERSION%"/>
|
||||
<label name="org.openbuildservice.disturl" value="%DISTURL%"/>
|
||||
<label>
|
||||
<xsl:attribute name="name">
|
||||
<xsl:value-of select="param/referencelabel" />
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="value">
|
||||
<xsl:value-of select="param/reference" />
|
||||
</xsl:attribute>
|
||||
</label>
|
||||
</suse_label_helper:add_prefix>
|
||||
</labels>
|
||||
</containerconfig>
|
||||
</type>
|
||||
<version>1</version>
|
||||
<packagemanager>zypper</packagemanager>
|
||||
<rpm-excludedocs>true</rpm-excludedocs>
|
||||
</preferences>
|
||||
<repository>
|
||||
<source path="obsrepositories:/"/>
|
||||
</repository>
|
||||
<packages type="image">
|
||||
<package name="csi-livenessprobe"/>
|
||||
</packages>
|
||||
|
||||
<packages type='bootstrap'>
|
||||
|
||||
<xsl:for-each select="param/packages_boot/package">
|
||||
<package>
|
||||
<xsl:attribute name="name">
|
||||
<xsl:value-of select="name" />
|
||||
</xsl:attribute>
|
||||
</package>
|
||||
</xsl:for-each>
|
||||
|
||||
</packages>
|
||||
|
||||
</image>
|
||||
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
16
leap15_2.xml
Normal file
16
leap15_2.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<param>
|
||||
<image>obsrepositories:/opensuse/leap#15.2</image>
|
||||
<os>openSUSE Leap 15.2</os>
|
||||
<name>cephcsi/csi-livenessprobe</name>
|
||||
<prefix>org.opensuse.cephcsi</prefix>
|
||||
<title>csi-livenessprobe container</title>
|
||||
<url>https://registry.opensuse.org/opensuse/cephcsi/csi-livenessprobe:v%PKG_VERSION%</url>
|
||||
<referencelabel>org.opensuse.reference</referencelabel>
|
||||
<reference>registry.opensuse.org/cephcsi/csi-livenessprobe:v%PKG_VERSION%</reference>
|
||||
<packages_boot>
|
||||
<package>
|
||||
<name>openSUSE-release-ftp</name>
|
||||
</package>
|
||||
</packages_boot>
|
||||
</param>
|
12
pre-checkin.sh
Normal file
12
pre-checkin.sh
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Generate the kiwi file for the given target.
|
||||
|
||||
image="csi-livenessprobe-image"
|
||||
target=${1:-tumbleweed}
|
||||
if [ ! -e ${target}.xml ]; then
|
||||
echo "Unknown target: ${target}.xml must exist!"
|
||||
exit 1
|
||||
fi
|
||||
xsltproc "${image}.xsl" "${target}.xml" > "${image}.kiwi"
|
||||
|
11
ses7.xml
Normal file
11
ses7.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<param>
|
||||
<image>obsrepositories:/suse/sle15#15.2</image>
|
||||
<os>SLES15 SP2</os>
|
||||
<name>ses/7/cephcsi/csi-livenessprobe</name>
|
||||
<prefix>com.suse.ses</prefix>
|
||||
<title>SES csi-livenessprobe container</title>
|
||||
<url>https://www.suse.com/products/suse-enterprise-storage/</url>
|
||||
<referencelabel>com.suse.reference</referencelabel>
|
||||
<reference>registry.suse.com/ses/7/cephcsi/csi-livenessprobe:v%PKG_VERSION%</reference>
|
||||
</param>
|
16
tumbleweed.xml
Normal file
16
tumbleweed.xml
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<param>
|
||||
<image>obsrepositories:/opensuse/tumbleweed</image>
|
||||
<os>openSUSE Tumbleweed</os>
|
||||
<name>opensuse/cephcsi/csi-livenessprobe</name>
|
||||
<prefix>org.opensuse.cephcsi</prefix>
|
||||
<title>csi-livenessprobe container</title>
|
||||
<url>https://registry.opensuse.org/opensuse/cephcsi/csi-livenessprobe:v%PKG_VERSION%</url>
|
||||
<referencelabel>org.opensuse.reference</referencelabel>
|
||||
<reference>registry.opensuse.org/opensuse/cephcsi/csi-livenessprobe:v%PKG_VERSION%</reference>
|
||||
<packages_boot>
|
||||
<package>
|
||||
<name>openSUSE-release-ftp</name>
|
||||
</package>
|
||||
</packages_boot>
|
||||
</param>
|
Loading…
Reference in New Issue
Block a user