providers/proxy: fix k8s integration tests
This commit is contained in:
parent
c04d0a373a
commit
6c72a9e2e8
|
@ -23,7 +23,7 @@ class TestControllers(TestCase):
|
||||||
external_host="http://localhost",
|
external_host="http://localhost",
|
||||||
authorization_flow=Flow.objects.first(),
|
authorization_flow=Flow.objects.first(),
|
||||||
)
|
)
|
||||||
service_connection = KubernetesServiceConnection.objects.get(local=True)
|
service_connection = KubernetesServiceConnection.objects.first()
|
||||||
outpost: Outpost = Outpost.objects.create(
|
outpost: Outpost = Outpost.objects.create(
|
||||||
name="test",
|
name="test",
|
||||||
type=OutpostType.PROXY,
|
type=OutpostType.PROXY,
|
||||||
|
@ -44,7 +44,7 @@ class TestControllers(TestCase):
|
||||||
external_host="http://localhost",
|
external_host="http://localhost",
|
||||||
authorization_flow=Flow.objects.first(),
|
authorization_flow=Flow.objects.first(),
|
||||||
)
|
)
|
||||||
service_connection = KubernetesServiceConnection.objects.get(local=True)
|
service_connection = KubernetesServiceConnection.objects.first()
|
||||||
outpost: Outpost = Outpost.objects.create(
|
outpost: Outpost = Outpost.objects.create(
|
||||||
name="test",
|
name="test",
|
||||||
type=OutpostType.PROXY,
|
type=OutpostType.PROXY,
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
#!/bin/bash -xe
|
#!/bin/bash -xe
|
||||||
|
wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash
|
||||||
|
|
||||||
VERSION=3.8.5
|
VERSION=3.8.5
|
||||||
|
|
||||||
wget https://www.python.org/ftp/python/$VERSION/Python-$VERSION.tgz
|
wget https://www.python.org/ftp/python/$VERSION/Python-$VERSION.tgz
|
||||||
|
|
Reference in a new issue