File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const POLICY_URI: &str = "registry://ghcr.io/kubewarden/tests/pod-privileged:v0.
1515const LOCAL_POLICY_PATH : & str = "kubewarden/tests/pod-privileged:v0.2.5" ;
1616
1717fn start_proxy ( ) -> ( Container < GenericImage > , u16 ) {
18- let proxy_image = GenericImage :: new ( "kalaksi/tinyproxy" , "1.7" )
18+ let proxy_image = GenericImage :: new ( "registry.gitlab.com/ kalaksi-containers /tinyproxy" , "1.7" )
1919 . with_wait_for ( WaitFor :: message_on_stdout ( "Starting main loop" ) )
2020 . with_exposed_port ( 8888 . tcp ( ) ) ;
2121 let container = proxy_image
Original file line number Diff line number Diff line change @@ -19,12 +19,13 @@ mod proxy_tests {
1919 use crate :: common:: setup_callback_handler;
2020
2121 async fn start_proxy ( ) -> ( ContainerAsync < GenericImage > , u16 ) {
22- let container = GenericImage :: new ( "kalaksi/tinyproxy" , "1.7" )
23- . with_wait_for ( WaitFor :: message_on_stdout ( "Starting main loop" ) )
24- . with_exposed_port ( 8888 . tcp ( ) )
25- . start ( )
26- . await
27- . expect ( "Failed to start proxy container" ) ;
22+ let container =
23+ GenericImage :: new ( "registry.gitlab.com/kalaksi-containers/tinyproxy" , "1.7" )
24+ . with_wait_for ( WaitFor :: message_on_stdout ( "Starting main loop" ) )
25+ . with_exposed_port ( 8888 . tcp ( ) )
26+ . start ( )
27+ . await
28+ . expect ( "Failed to start proxy container" ) ;
2829 let port = container
2930 . get_host_port_ipv4 ( 8888 )
3031 . await
Original file line number Diff line number Diff line change @@ -1312,12 +1312,13 @@ mod proxy_helpers {
13121312 runners:: AsyncRunner ,
13131313 } ;
13141314 pub async fn start_proxy ( ) -> ( ContainerAsync < GenericImage > , u16 ) {
1315- let container = GenericImage :: new ( "kalaksi/tinyproxy" , "1.7" )
1316- . with_wait_for ( WaitFor :: message_on_stdout ( "Starting main loop" ) )
1317- . with_exposed_port ( 8888 . tcp ( ) )
1318- . start ( )
1319- . await
1320- . expect ( "Failed to start proxy container" ) ;
1315+ let container =
1316+ GenericImage :: new ( "registry.gitlab.com/kalaksi-containers/tinyproxy" , "1.7" )
1317+ . with_wait_for ( WaitFor :: message_on_stdout ( "Starting main loop" ) )
1318+ . with_exposed_port ( 8888 . tcp ( ) )
1319+ . start ( )
1320+ . await
1321+ . expect ( "Failed to start proxy container" ) ;
13211322 let port = container
13221323 . get_host_port_ipv4 ( 8888 )
13231324 . await
You can’t perform that action at this time.
0 commit comments