Skip to content

Commit

Permalink
Merge pull request #625 from SUSE/no_gcc_build
Browse files Browse the repository at this point in the history
Ensure we never ship gcc-build
  • Loading branch information
dcermak authored Oct 24, 2024
2 parents 139d6c4 + eaf6075 commit 4b42c14
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions tests/test_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,12 @@ def test_sle_bci_forbidden_packages(container_per_test):
"""Regression test that no packages containing the following strings are in the
``SLE_BCI`` repository:
- ``gcc-build``
- ``kernel``
- ``yast``
- ``kvm``
- ``livepatch``
- ``xen``
- ``yast``
The following packages contain the above strings, but are ok to be shipped:
Expand Down Expand Up @@ -121,7 +123,16 @@ def test_sle_bci_forbidden_packages(container_per_test):
"kernel-64kb-devel",
]

FORBIDDEN_PACKAGE_NAMES = ["kernel", "yast", "kvm", "xen"]
FORBIDDEN_PACKAGE_NAMES = [
"gcc-build",
"libstdc++-build-devel",
"libgccjit-build-devel",
"livepatch",
"kernel",
"yast",
"kvm",
"xen",
]

forbidden_packages = list(
filter(
Expand Down

0 comments on commit 4b42c14

Please sign in to comment.