[info=b38af0957e4d8f2074c478328c8e053f]

OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/helm-image?expand=0&rev=1
This commit is contained in:
Dan Čermák 2023-07-06 11:35:24 +00:00 committed by Git OBS Bridge
commit e0c5ba1da7
6 changed files with 121 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

10
_service Normal file
View File

@ -0,0 +1,10 @@
<services>
<service mode="buildtime" name="kiwi_label_helper"/>
<service mode="buildtime" name="kiwi_metainfo_helper"/>
<service name="replace_using_package_version" mode="buildtime">
<param name="file">helm-image.kiwi</param>
<param name="regex">%%helm_version%%</param>
<param name="package">helm</param>
<param name="parse-version">minor</param>
</service>
</services>

30
config.sh Normal file
View File

@ -0,0 +1,30 @@
#!/bin/bash
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: (c) 2022-2023 SUSE LLC
set -euo pipefail
test -f /.kconfig && . /.kconfig
test -f /.profile && . /.profile
echo "Configure image: [$kiwi_iname]..."
#============================================
# Import repositories' keys if rpm is present
#--------------------------------------------
if command -v rpm > /dev/null; then
suseImportBuildKey
fi
#=======================================
# Clean up after zypper if it is present
#---------------------------------------
if command -v zypper > /dev/null; then
zypper -n clean
fi
rm -rf /var/log/zypp
exit 0

4
helm-image.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Jul 06 11:04:01 UTC 2023 - SUSE Update Bot <bci-internal@suse.de>
- First version of the Kubernetes Package Manager BCI

53
helm-image.kiwi Normal file
View File

@ -0,0 +1,53 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- SPDX-License-Identifier: Apache-2.0 -->
<!-- OBS-AddTag: opensuse/helm:%%helm_version%% opensuse/helm:%%helm_version%%-%RELEASE% opensuse/helm:latest -->
<!-- OBS-Imagerepo: obsrepositories:/ -->
<image schemaversion="6.5" name="helm-image" xmlns:suse_label_helper="com.suse.label_helper">
<description type="system">
<author>openSUSE Project</author>
<contact>https://www.suse.com/</contact>
<specification>openSUSE Tumbleweed Kubernetes Package Manager Container Image</specification>
</description>
<preferences>
<type image="docker" derived_from="obsrepositories:/opensuse/bci/bci-micro#latest">
<containerconfig
name="opensuse/helm"
tag="%%helm_version%%"
maintainer="openSUSE (https://www.opensuse.org/)"
additionaltags="%%helm_version%%-%RELEASE%,latest">
<labels>
<suse_label_helper:add_prefix prefix="org.opensuse.application.helm">
<label name="org.opencontainers.image.title" value="openSUSE Tumbleweed Kubernetes Package Manager"/>
<label name="org.opencontainers.image.description" value="Kubernetes Package Manager container based on the openSUSE Tumbleweed Base Container Image."/>
<label name="org.opencontainers.image.version" value="%%helm_version%%"/>
<label name="org.opencontainers.image.created" value="%BUILDTIME%"/>
<label name="org.opencontainers.image.vendor" value="openSUSE Project"/>
<label name="org.opencontainers.image.source" value="%SOURCEURL%"/>
<label name="org.opencontainers.image.url" value="https://www.opensuse.org"/>
<label name="org.opensuse.reference" value="registry.opensuse.org/opensuse/helm:%%helm_version%%-%RELEASE%"/>
<label name="org.openbuildservice.disturl" value="%DISTURL%"/>
<label name="org.opensuse.release-stage" value="released"/>
<label name="org.opensuse.lifecycle-url" value="https://en.opensuse.org/Lifetime"/>
</suse_label_helper:add_prefix>
</labels>
<subcommand execute="help"/>
<entrypoint execute="/usr/bin/helm"/>
</containerconfig>
</type>
<version>2023</version>
<packagemanager>zypper</packagemanager>
<rpm-check-signatures>false</rpm-check-signatures>
<rpm-excludedocs>true</rpm-excludedocs>
</preferences>
<repository type="rpm-md">
<source path="obsrepositories:/"/>
</repository>
<packages type="bootstrap">
<package name="ca-certificates-mozilla"/>
<package name="helm"/>
</packages>
</image>