e2e: fix invalid proxy image being pulled
This commit is contained in:
parent
247015e955
commit
c09b4e9713
|
@ -39,9 +39,8 @@ class TestProviderProxy(SeleniumTestCase):
|
||||||
def start_proxy(self, outpost: Outpost) -> Container:
|
def start_proxy(self, outpost: Outpost) -> Container:
|
||||||
"""Start proxy container based on outpost created"""
|
"""Start proxy container based on outpost created"""
|
||||||
client: DockerClient = from_env()
|
client: DockerClient = from_env()
|
||||||
client.images.pull("beryju/oidc-test-client")
|
|
||||||
container = client.containers.run(
|
container = client.containers.run(
|
||||||
image="beryju/passbook-proxy:latest",
|
image=f"beryju/passbook-proxy:{__version__}",
|
||||||
detach=True,
|
detach=True,
|
||||||
network_mode="host",
|
network_mode="host",
|
||||||
auto_remove=True,
|
auto_remove=True,
|
||||||
|
@ -112,9 +111,8 @@ class TestProviderProxyConnect(ChannelsLiveServerTestCase):
|
||||||
def start_proxy(self, outpost: Outpost) -> Container:
|
def start_proxy(self, outpost: Outpost) -> Container:
|
||||||
"""Start proxy container based on outpost created"""
|
"""Start proxy container based on outpost created"""
|
||||||
client: DockerClient = from_env()
|
client: DockerClient = from_env()
|
||||||
client.images.pull("beryju/oidc-test-client")
|
|
||||||
container = client.containers.run(
|
container = client.containers.run(
|
||||||
image="beryju/passbook-proxy:latest",
|
image=f"beryju/passbook-proxy:{__version__}",
|
||||||
detach=True,
|
detach=True,
|
||||||
network_mode="host",
|
network_mode="host",
|
||||||
auto_remove=True,
|
auto_remove=True,
|
||||||
|
|
Reference in a new issue