From 924e3a36aaf7120378c9715799558d972ca35d772e7aaa62a082ad9f084d544a Mon Sep 17 00:00:00 2001 From: Tim Serong Date: Fri, 11 Sep 2020 10:31:44 +0000 Subject: [PATCH] Initial checkin to OBS OBS-URL: https://build.opensuse.org/package/show/filesystems:ceph/csi-provisioner-image?expand=0&rev=1 --- .gitattributes | 23 ++++++++ .gitignore | 1 + README | 13 +++++ _service | 10 ++++ csi-provisioner-image.changes | 25 +++++++++ csi-provisioner-image.kiwi | 46 ++++++++++++++++ csi-provisioner-image.xsl | 98 +++++++++++++++++++++++++++++++++++ leap15_2.xml | 16 ++++++ pre-checkin.sh | 12 +++++ ses7.xml | 11 ++++ tumbleweed.xml | 16 ++++++ 11 files changed, 271 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 README create mode 100644 _service create mode 100644 csi-provisioner-image.changes create mode 100644 csi-provisioner-image.kiwi create mode 100644 csi-provisioner-image.xsl create mode 100644 leap15_2.xml create mode 100644 pre-checkin.sh create mode 100644 ses7.xml create mode 100644 tumbleweed.xml 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..dd585de --- /dev/null +++ b/README @@ -0,0 +1,13 @@ +# Generating the KIWI file + +The `.kiwi` file is generated from the `csi-provisioner-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..365130d --- /dev/null +++ b/_service @@ -0,0 +1,10 @@ + + + csi-provisioner-image.kiwi + %PKG_VERSION% + patch + csi-external-provisioner + + + + diff --git a/csi-provisioner-image.changes b/csi-provisioner-image.changes new file mode 100644 index 0000000..187cec6 --- /dev/null +++ b/csi-provisioner-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:59:54 UTC 2020 - Tim Serong + +- Rename to csi-provisioner-image, update metadata for SES 7 release + +------------------------------------------------------------------- +Thu Aug 13 11:58:28 UTC 2020 - jmassaguerpla@suse.com + +- remove beta tag + +------------------------------------------------------------------- +Wed Aug 12 18:00:23 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-provisioner-image.kiwi b/csi-provisioner-image.kiwi new file mode 100644 index 0000000..82d585b --- /dev/null +++ b/csi-provisioner-image.kiwi @@ -0,0 +1,46 @@ + + + + + + SUSE Containers Team + containers@suse.com + csi-provisioner running on a openSUSE Tumbleweed container guest + + + + + + + + + + + + + 1 + zypper + true + + + + + + + + + + + diff --git a/csi-provisioner-image.xsl b/csi-provisioner-image.xsl new file mode 100644 index 0000000..daf0b1d --- /dev/null +++ b/csi-provisioner-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-provisioner running on a container guest + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + zypper + true + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/leap15_2.xml b/leap15_2.xml new file mode 100644 index 0000000..3fd9950 --- /dev/null +++ b/leap15_2.xml @@ -0,0 +1,16 @@ + + + obsrepositories:/opensuse/leap#15.2 + openSUSE Leap 15.2 + cephcsi/csi-provisioner + org.opensuse.cephcsi + csi-provisioner container + https://registry.opensuse.org/opensuse/cephcsi/csi-provisioner:v%PKG_VERSION% + org.opensuse.reference + registry.opensuse.org/cephcsi/csi-provisioner:v%PKG_VERSION% + + + openSUSE-release-ftp + + + diff --git a/pre-checkin.sh b/pre-checkin.sh new file mode 100644 index 0000000..d940a31 --- /dev/null +++ b/pre-checkin.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# +# Generate the kiwi file for the given target. + +image="csi-provisioner-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..befab05 --- /dev/null +++ b/ses7.xml @@ -0,0 +1,11 @@ + + + obsrepositories:/suse/sle15#15.2 + SLES15 SP2 + ses/7/cephcsi/csi-provisioner + com.suse.ses + SES csi-provisioner container + https://www.suse.com/products/suse-enterprise-storage/ + com.suse.reference + registry.suse.com/ses/7/cephcsi/csi-provisioner:v%PKG_VERSION% + diff --git a/tumbleweed.xml b/tumbleweed.xml new file mode 100644 index 0000000..4d5a617 --- /dev/null +++ b/tumbleweed.xml @@ -0,0 +1,16 @@ + + + obsrepositories:/opensuse/tumbleweed + openSUSE Tumbleweed + opensuse/cephcsi/csi-provisioner + org.opensuse.cephcsi + csi-provisioner container + https://registry.opensuse.org/opensuse/cephcsi/csi-provisioner:v%PKG_VERSION% + org.opensuse.reference + registry.opensuse.org/opensuse/cephcsi/csi-provisioner:v%PKG_VERSION% + + + openSUSE-release-ftp + + +