Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vs markers #4793

Merged
merged 17 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
separate Policies test jobs
  • Loading branch information
pdabelf5 committed Dec 13, 2023
commit 202a0e9a6dccbe3f8397430b6f6f9a7eaf7a6442
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,8 @@ jobs:
echo "matrix={\"images\": \
[{\"image\": \"debian\", \"marker\": \"ingresses\"}, \
{\"image\": \"alpine\", \"marker\":\"vsr\"}, \
{\"image\": \"alpine\", \"marker\":\"policies\"}, \
{\"image\": \"alpine\", \"marker\":\"'policies and not policies_rl and not policies_ac and not policies_jwt and not policies_mtls'\"}, \
{\"image\": \"alpine\", \"marker\":\"'policies or policies_rl or policies_ac or policies_jwt or policies_mtls'\"}, \
{\"image\": \"debian\", \"marker\": \"'vs and not vs_ipv6 and not vs_rewrite and not vs_responses and not vs_grpc and not vs_redirects and not vs_externalname and not vs_externaldns and not vs_certmanager'\"}, \
{\"image\": \"debian\", \"marker\": \"'vs_ipv6 or vs_rewrite or vs_responses or vs_grpc or vs_redirects or vs_externalname or vs_externaldns'\"}, \
{\"image\": \"debian\", \"marker\": \"'vs_certmanager'\"}, \
Expand All @@ -267,7 +268,9 @@ jobs:
{\"image\": \"debian-plus\", \"marker\": \"ts\"}, \
{\"image\": \"alpine-plus\", \"marker\":\"ingresses\"}, \
{\"image\": \"alpine-plus\", \"marker\": \"vsr\"}, \
{\"image\": \"ubi-plus\", \"marker\": \"policies\"}, \
{\"image\": \"ubi-plus\", \"marker\":\"'policies and not policies_rl and not policies_ac and not policies_jwt and not policies_mtls'\"}, \
{\"image\": \"ubi-plus\", \"marker\":\"'policies or policies_rl or policies_ac or policies_jwt or policies_mtls'\"}, \
{\"image\": \"debian-plus-nap\", \"marker\": \"appprotect_integration\"}, \
{\"image\": \"debian-plus-nap\", \"marker\": \"appprotect_waf_policies_allow\"}, \
{\"image\": \"debian-plus-nap\", \"marker\": \"'appprotect_waf_policies and not appprotect_waf_policies_allow'\"}, \
{\"image\": \"debian-plus-nap\", \"marker\": \"appprotect_waf_policies_grpc\"}, \
Expand Down Expand Up @@ -330,7 +333,7 @@ jobs:
name: Build Docker OSS
needs: smoke-tests
strategy:
fail-fast: false
fail-fast: true
matrix:
image: [debian, alpine]
platforms:
Expand All @@ -354,7 +357,7 @@ jobs:
name: Build Docker Plus
needs: [binaries, build-docker]
strategy:
fail-fast: false
fail-fast: true
matrix:
image: [debian-plus, alpine-plus, alpine-plus-fips]
platforms: ["linux/arm64, linux/amd64"]
Expand All @@ -379,7 +382,7 @@ jobs:
name: Build Docker NAP
needs: [binaries, build-docker-plus]
strategy:
fail-fast: false
fail-fast: true
matrix:
image: [debian-plus-nap, ubi-plus-nap]
platforms: ["linux/amd64"]
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ markers =[
"dos_learning",
"ingresses",
"policies",
"policies_rl",
"policies_jwt",
"policies_ac",
"policies_mtls",
"rewrite",
"skip_for_nginx_oss",
"smoke",
Expand Down
1 change: 1 addition & 0 deletions tests/suite/test_ac_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def fin():


@pytest.mark.policies
@pytest.mark.policies_ac
@pytest.mark.parametrize(
"crd_ingress_controller, virtual_server_setup",
[
Expand Down
1 change: 1 addition & 0 deletions tests/suite/test_ac_policies_vsr.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def fin():


@pytest.mark.policies
@pytest.mark.policies_ac
@pytest.mark.parametrize(
"crd_ingress_controller, v_s_route_setup",
[
Expand Down
1 change: 1 addition & 0 deletions tests/suite/test_egress_mtls.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def teardown_policy(kube_apis, test_namespace, tls_secret, pol_name, mtls_secret


@pytest.mark.policies
@pytest.mark.policies_mtls
@pytest.mark.parametrize(
"crd_ingress_controller, virtual_server_setup",
[
Expand Down
2 changes: 2 additions & 0 deletions tests/suite/test_ingress_mtls.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def teardown_policy(kube_apis, test_namespace, tls_secret, pol_name, mtls_secret


@pytest.mark.policies
@pytest.mark.policies_mtls
@pytest.mark.parametrize(
"crd_ingress_controller, virtual_server_setup",
[
Expand Down Expand Up @@ -417,6 +418,7 @@ def test_ingress_mtls_policy_cert_crl(


@pytest.mark.policies
@pytest.mark.policies_mtls
@pytest.mark.parametrize(
"crd_ingress_controller, v_s_route_setup",
[
Expand Down
1 change: 1 addition & 0 deletions tests/suite/test_jwt_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

@pytest.mark.skip_for_nginx_oss
@pytest.mark.policies
@pytest.mark.policies_jwt
@pytest.mark.parametrize(
"crd_ingress_controller, virtual_server_setup",
[
Expand Down
1 change: 1 addition & 0 deletions tests/suite/test_jwt_policies_vsr.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

@pytest.mark.skip_for_nginx_oss
@pytest.mark.policies
@pytest.mark.policies_jwt
@pytest.mark.parametrize(
"crd_ingress_controller, v_s_route_setup",
[
Expand Down
1 change: 1 addition & 0 deletions tests/suite/test_rl_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@


@pytest.mark.policies
@pytest.mark.policies_rl
@pytest.mark.parametrize(
"crd_ingress_controller, virtual_server_setup",
[
Expand Down
1 change: 1 addition & 0 deletions tests/suite/test_rl_policies_vsr.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@


@pytest.mark.policies
@pytest.mark.policies_rl
@pytest.mark.parametrize(
"crd_ingress_controller, v_s_route_setup",
[
Expand Down
Loading