commit 061709c500b476d18bf22bf57c1dcf3838e1c0ed624ab9b0bfb3189b1c8bdd13 Author: Tim Serong Date: Fri Sep 11 10:31:27 2020 +0000 Initial checkin to OBS OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/csi-node-driver-registrar-image?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/README b/README new file mode 100644 index 0000000..bf93bf6 --- /dev/null +++ b/README @@ -0,0 +1,13 @@ +# Generating the KIWI file + +The `.kiwi` file is generated from the `csi-node-driver-registrar-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 + diff --git a/_service b/_service new file mode 100644 index 0000000..24c42bf --- /dev/null +++ b/_service @@ -0,0 +1,10 @@ + + + csi-node-driver-registrar-image.kiwi + %PKG_VERSION% + patch + csi-node-driver-registrar + + + + diff --git a/csi-node-driver-registrar-image.changes b/csi-node-driver-registrar-image.changes new file mode 100644 index 0000000..2047d02 --- /dev/null +++ b/csi-node-driver-registrar-image.changes @@ -0,0 +1,25 @@ +------------------------------------------------------------------- +Fri Sep 11 06:39:23 UTC 2020 - Tim Serong + +- Rework OBS project to use per-distribution xml template files + +------------------------------------------------------------------- +Wed Aug 26 10:58:59 UTC 2020 - Tim Serong + +- Rename to csi-node-driver-registrar-image, update metadata for SES 7 release + +------------------------------------------------------------------- +Thu Aug 13 11:58:14 UTC 2020 - jmassaguerpla@suse.com + +- remove beta tag + +------------------------------------------------------------------- +Wed Aug 12 17:59:01 UTC 2020 - Chin-Ya Huang + +- Add missing _service file + +------------------------------------------------------------------- +Tue Aug 4 07:16:39 GMT 2020 - Chin-Ya Huang + +- Initial release of version 1 + diff --git a/csi-node-driver-registrar-image.kiwi b/csi-node-driver-registrar-image.kiwi new file mode 100644 index 0000000..db0a139 --- /dev/null +++ b/csi-node-driver-registrar-image.kiwi @@ -0,0 +1,46 @@ + + + + + + SUSE Containers Team + containers@suse.com + csi-node-driver-registrar running on a openSUSE Tumbleweed container guest + + + + + + + + + + + + + 1 + zypper + true + + + + + + + + + + + diff --git a/csi-node-driver-registrar-image.xsl b/csi-node-driver-registrar-image.xsl new file mode 100644 index 0000000..1e9d713 --- /dev/null +++ b/csi-node-driver-registrar-image.xsl @@ -0,0 +1,98 @@ + + + + + + + + This file is generated, + don't manually modify this file, + please check README + + + OBS-AddTag: :v%PKG_VERSION%-rev<VERSION> :v%PKG_VERSION%-rev<VERSION>-build<RELEASE> + + + + SUSE Containers Team + containers@suse.com + csi-node-driver-registrar running on a container guest + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + zypper + true + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/leap15_2.xml b/leap15_2.xml new file mode 100644 index 0000000..dfe41da --- /dev/null +++ b/leap15_2.xml @@ -0,0 +1,16 @@ + + + obsrepositories:/opensuse/leap#15.2 + openSUSE Leap 15.2 + cephcsi/csi-node-driver-registrar + org.opensuse.cephcsi + csi-node-driver-registrar container + https://registry.opensuse.org/opensuse/cephcsi/csi-node-driver-registrar:v%PKG_VERSION% + org.opensuse.reference + registry.opensuse.org/cephcsi/csi-node-driver-registrar:v%PKG_VERSION% + + + openSUSE-release-ftp + + + diff --git a/pre-checkin.sh b/pre-checkin.sh new file mode 100644 index 0000000..940df89 --- /dev/null +++ b/pre-checkin.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# +# Generate the kiwi file for the given target. + +image="csi-node-driver-registrar-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" + diff --git a/ses7.xml b/ses7.xml new file mode 100644 index 0000000..8b7d9d8 --- /dev/null +++ b/ses7.xml @@ -0,0 +1,11 @@ + + + obsrepositories:/suse/sle15#15.2 + SLES15 SP2 + ses/7/cephcsi/csi-node-driver-registrar + com.suse.ses + SES csi-node-driver-registrar container + https://www.suse.com/products/suse-enterprise-storage/ + com.suse.reference + registry.suse.com/ses/7/cephcsi/csi-node-driver-registrar:v%PKG_VERSION% + diff --git a/tumbleweed.xml b/tumbleweed.xml new file mode 100644 index 0000000..f88ce39 --- /dev/null +++ b/tumbleweed.xml @@ -0,0 +1,16 @@ + + + obsrepositories:/opensuse/tumbleweed + openSUSE Tumbleweed + opensuse/cephcsi/csi-node-driver-registrar + org.opensuse.cephcsi + csi-node-driver-registrar container + https://registry.opensuse.org/opensuse/cephcsi/csi-node-driver-registrar:v%PKG_VERSION% + org.opensuse.reference + + + openSUSE-release-ftp + + + registry.opensuse.org/opensuse/cephcsi/csi-node-driver-registrar:v%PKG_VERSION% +