Add config
Signed-off-by: Nicolas Belouin <nicolas.belouin@suse.com>
This commit is contained in:
parent
e26dfc65fe
commit
cb3a3dac30
40
_config
Normal file
40
_config
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
Prefer: -libqpid-proton10 -python311-urllib3_1
|
||||||
|
|
||||||
|
Macros:
|
||||||
|
%__python3 /usr/bin/python3.11
|
||||||
|
%img_repo %(echo registry.opensuse.org:%{_project}:images | tr ":" "/" | tr '[:upper:]' '[:lower:]')
|
||||||
|
%chart_repo oci://%(echo registry.opensuse.org:%{_project}:charts | tr ":" "/" | tr '[:upper:]' '[:lower:]')
|
||||||
|
:Macros
|
||||||
|
|
||||||
|
%if "%_repository" == "images"
|
||||||
|
Prefer: container:sles15-image
|
||||||
|
Type: docker
|
||||||
|
Repotype: none
|
||||||
|
Patterntype: none
|
||||||
|
BuildEngine: podman
|
||||||
|
Prefer: sles-release
|
||||||
|
BuildFlags: dockerarg:SLE_VERSION=15.6
|
||||||
|
|
||||||
|
# Publish multi-arch container images only once all archs have been built
|
||||||
|
PublishFlags: archsync
|
||||||
|
%endif
|
||||||
|
%if "%_repository" == "charts"
|
||||||
|
Type: helm
|
||||||
|
Repotype: helm
|
||||||
|
Patterntype: none
|
||||||
|
Required: perl-YAML-LibYAML
|
||||||
|
%endif
|
||||||
|
%if "%_repository" == "standard"
|
||||||
|
# for build openstack-ironic-image
|
||||||
|
BuildFlags: allowrootforbuild
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# Enable reproducible builds
|
||||||
|
# https://en.opensuse.org/openSUSE:Reproducible_Builds\#With_OBS
|
||||||
|
Macros:
|
||||||
|
%source_date_epoch_from_changelog Y
|
||||||
|
%clamp_mtime_to_source_date_epoch Y
|
||||||
|
%use_source_date_epoch_as_buildtime Y
|
||||||
|
%_buildhost reproducible
|
||||||
|
:Macros
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user