mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
ci/cd - reduce dynamic subdomains for k8s tests because of annotation size limit of 63 chars
This commit is contained in:
parent
1bc42204d9
commit
8e72050625
|
@ -12,11 +12,11 @@ class KubernetesTest(Test):
|
||||||
def __init__(self, name, timeout, tests, delay=0):
|
def __init__(self, name, timeout, tests, delay=0):
|
||||||
super().__init__(name, "kubernetes", timeout, tests, delay=delay)
|
super().__init__(name, "kubernetes", timeout, tests, delay=delay)
|
||||||
self._domains = {
|
self._domains = {
|
||||||
r"www\.example\.com": Test.random_string(6) + "." + getenv("TEST_DOMAIN1_1"),
|
r"www\.example\.com": Test.random_string(1) + "." + getenv("TEST_DOMAIN1_1"),
|
||||||
r"auth\.example\.com": Test.random_string(6) + "." + getenv("TEST_DOMAIN1_2"),
|
r"auth\.example\.com": Test.random_string(1) + "." + getenv("TEST_DOMAIN1_2"),
|
||||||
r"app1\.example\.com": Test.random_string(6) + "." + getenv("TEST_DOMAIN1"),
|
r"app1\.example\.com": Test.random_string(1) + "." + getenv("TEST_DOMAIN1"),
|
||||||
r"app2\.example\.com": Test.random_string(6) + "." + getenv("TEST_DOMAIN2"),
|
r"app2\.example\.com": Test.random_string(1) + "." + getenv("TEST_DOMAIN2"),
|
||||||
r"app3\.example\.com": Test.random_string(6) + "." + getenv("TEST_DOMAIN3")
|
r"app3\.example\.com": Test.random_string(1) + "." + getenv("TEST_DOMAIN3")
|
||||||
}
|
}
|
||||||
|
|
||||||
def init():
|
def init():
|
||||||
|
|
Loading…
Reference in a new issue