-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #534 from SUSE/for-deploy-4
🤖: Update build recipes for SP4
- Loading branch information
Showing
5 changed files
with
105 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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">git-image.kiwi</param> | ||
<param name="regex">%%git_version%%</param> | ||
<param name="package">git-core</param> | ||
<param name="parse-version">minor</param> | ||
</service> | ||
</services> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
------------------------------------------------------------------- | ||
Mon Jul 17 15:11:53 UTC 2023 - SUSE Update Bot <[email protected]> | ||
|
||
- First version of the 15 SP4 with Git BCI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- SPDX-License-Identifier: GPL-2.0-only --> | ||
|
||
<!-- OBS-AddTag: suse/git:%%git_version%% suse/git:%%git_version%%-%RELEASE% --> | ||
<!-- OBS-Imagerepo: obsrepositories:/ --> | ||
|
||
<image schemaversion="6.5" name="git-image" xmlns:suse_label_helper="com.suse.label_helper"> | ||
<description type="system"> | ||
<author>SUSE LLC</author> | ||
<contact>https://www.suse.com/</contact> | ||
<specification>SLE 15 SP4 with Git Container Image</specification> | ||
</description> | ||
<preferences> | ||
<type image="docker" derived_from="obsrepositories:/bci/bci-micro#15.4"> | ||
<containerconfig | ||
name="suse/git" | ||
tag="%%git_version%%" | ||
maintainer="SUSE LLC (https://www.suse.com/)" | ||
additionaltags="%%git_version%%-%RELEASE%"> | ||
<labels> | ||
<suse_label_helper:add_prefix prefix="com.suse.application.git"> | ||
<label name="org.opencontainers.image.title" value="SLE 15 SP4 with Git"/> | ||
<label name="org.opencontainers.image.description" value="A micro environment with Git for containers based on the SLE Base Container Image."/> | ||
<label name="org.opencontainers.image.version" value="%%git_version%%"/> | ||
<label name="org.opencontainers.image.created" value="%BUILDTIME%"/> | ||
<label name="org.opencontainers.image.vendor" value="SUSE LLC"/> | ||
<label name="org.opencontainers.image.source" value="%SOURCEURL%"/> | ||
<label name="org.opencontainers.image.url" value="https://www.suse.com/products/server/"/> | ||
<label name="org.opensuse.reference" value="registry.suse.com/suse/git:%%git_version%%-%RELEASE%"/> | ||
<label name="org.openbuildservice.disturl" value="%DISTURL%"/> | ||
<label name="com.suse.supportlevel" value="l3"/> | ||
<label name="com.suse.image-type" value="application"/> | ||
<label name="com.suse.eula" value="sle-bci"/> | ||
<label name="com.suse.release-stage" value="released"/> | ||
<label name="com.suse.lifecycle-url" value="https://www.suse.com/lifecycle#suse-linux-enterprise-server-15"/> | ||
</suse_label_helper:add_prefix> | ||
</labels> | ||
</containerconfig> | ||
</type> | ||
<version>15.4.0</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="git-core"/> | ||
<package name="skelcd-EULA-bci"/> | ||
</packages> | ||
|
||
</image> |