Go to file
2024-05-03 17:14:20 +02:00
.gitattributes Sync from SUSE:SLFO:Main obs-service-kiwi_metainfo_helper revision 4fd64bd558f8a22d18d8b8c06b98050f 2024-05-03 17:14:20 +02:00
kiwi_metainfo_helper Sync from SUSE:SLFO:Main obs-service-kiwi_metainfo_helper revision 4fd64bd558f8a22d18d8b8c06b98050f 2024-05-03 17:14:20 +02:00
kiwi_metainfo_helper.service Sync from SUSE:SLFO:Main obs-service-kiwi_metainfo_helper revision 4fd64bd558f8a22d18d8b8c06b98050f 2024-05-03 17:14:20 +02:00
obs-service-kiwi_metainfo_helper.changes Sync from SUSE:SLFO:Main obs-service-kiwi_metainfo_helper revision 4fd64bd558f8a22d18d8b8c06b98050f 2024-05-03 17:14:20 +02:00
obs-service-kiwi_metainfo_helper.spec Sync from SUSE:SLFO:Main obs-service-kiwi_metainfo_helper revision 4fd64bd558f8a22d18d8b8c06b98050f 2024-05-03 17:14:20 +02:00
README Sync from SUSE:SLFO:Main obs-service-kiwi_metainfo_helper revision 4fd64bd558f8a22d18d8b8c06b98050f 2024-05-03 17:14:20 +02:00
sles-release-15.4-150400.32.2.x86_64.rpm Sync from SUSE:SLFO:Main obs-service-kiwi_metainfo_helper revision 4fd64bd558f8a22d18d8b8c06b98050f 2024-05-03 17:14:20 +02:00
test.sh Sync from SUSE:SLFO:Main obs-service-kiwi_metainfo_helper revision 4fd64bd558f8a22d18d8b8c06b98050f 2024-05-03 17:14:20 +02:00

obs-service-kiwi_metainfo_helper
================================

This service can be enabled to run during buildtime, when it will edit the
build recipe (.kiwi, Dockerfile, Chart.yaml) to replace placeholders with
build-specific metainfo.

| Placeholder                          | Value                                                 | Example                                                                                                                 |
|--------------------------------------|-------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|
| %DISTURL%                            | The OBS dist url                                      | obs://build.opensuse.org/openSUSE:Factory/images/0f40c57dd619e1dff9e512949b6bca09-opensuse-tumbleweed-image             |
| %SOURCEURL%                          | Source url for container recipe (OBS)                 | https://build.opensuse.org/package/show/openSUSE:Factory/opensuse-tumbleweed-image?rev=0f40c57dd619e1dff9e512949b6bca09 |
| %SOURCEURL%                          | Source url for container recipe (IBS)                 | https://sources.suse.com/SUSE:SLE-15:Update:CR/sles15-image/2951b67133dd6384cacb28203174e030/                           |
| %RELEASE%                            | The OBS release number (<cicnt\>.<bldcnt\>)           | 4.2                                                                                                                     |
| %BUILDTIME%                          | $(date --utc +%FT%T.%NZ)                              | 2018-10-30T09:19:02.074934628Z                                                                                          |
| %OS_VERSION%                         | VERSION in the os-release file                        | 15-SP3                                                                                                                  |
| %OS_VERSION_NO_DASH%                 | VERSION in the os-release file, with space (SLE only) | 15 SP3                                                                                                                  |
| %OS_VERSION_ID%                      | VERSION_ID in the os-release file                     | 15                                                                                                                      |
| %OS_VERSION_ID_SP%                   | Like VERSION_ID, but with SP (SLE only)               | 15.3                                                                                                                    |
| %OS_PRETTY_NAME%                     | PRETTY_NAME in the os-release file                    | SUSE Linux Enterprise Server 15 SP3 (Snapshot16)                                                                        |
| %OS_VENDOR%                          | PRETTY_NAME up to first space character               | SUSE                                                                                                                    |
| %OS_PRETTY_NAME_DASHED%              | PRETTY_NAME with dashes in place of spaces            | SUSE-Linux-Enterprise-Server-15-SP3-Snapshot-16                                                                         |
| %OS_PRETTY_NAME_BEFORE_PAREN%        | PRETTY_NAME up to the first open parentheses          | SUSE Linux Enterprise Server 15 SP3                                                                                     |
| %OS_PRETTY_NAME_BEFORE_PAREN_DASHED% | PRETTY_NAME up to first open paren with dashes        | SUSE-Linux-Enterprise-Server-15-SP3                                                                                     |