koji_hub: allow scratch builds from scm

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2023-06-11 08:27:30 -07:00
parent a36b0101c6
commit 49c105e55a

View file

@ -205,14 +205,14 @@ sidetag =
{% if env == "staging" %}
build_from_scm =
match scm_host src.stg.fedoraproject.org :: {
bool scratch :: fedpkg sources
bool scratch :: allow fedpkg sources
match scm_repository /rpms/* :: allow fedpkg sources
match scm_repository /modules/* :: allow fedpkg sources
match scm_repository /containers/* :: allow fedpkg sources
match scm_repository /flatpaks/* :: allow fedpkg sources
}
match scm_host pkgs.stg.fedoraproject.org :: {
bool scratch :: fedpkg sources
bool scratch :: allow fedpkg sources
match scm_repository /rpms/* :: allow fedpkg sources
match scm_repository /modules/* :: allow fedpkg sources
match scm_repository /containers/* :: allow fedpkg sources
@ -225,14 +225,14 @@ build_from_scm =
{% else %}
build_from_scm =
match scm_host src.fedoraproject.org :: {
bool scratch :: fedpkg sources
bool scratch :: allow fedpkg sources
match scm_repository /rpms/* :: allow fedpkg sources
match scm_repository /modules/* :: allow fedpkg sources
match scm_repository /containers/* :: allow fedpkg sources
match scm_repository /flatpaks/* :: allow fedpkg sources
}
match scm_host pkgs.fedoraproject.org :: {
bool scratch :: fedpkg sources
bool scratch :: allow fedpkg sources
match scm_repository /rpms/* :: allow fedpkg sources
match scm_repository /modules/* :: allow fedpkg sources
match scm_repository /containers/* :: allow fedpkg sources