From ba5cac434a6b588acada126d55f2781f65232f73 Mon Sep 17 00:00:00 2001 From: Derek Menteer <105233703+hashi-derek@users.noreply.github.com> Date: Mon, 29 Jan 2024 10:22:34 -0600 Subject: [PATCH] Use mirrored image for CICD tests. (#20378) --- test/integration/consul-container/libs/cluster/container.go | 2 +- testing/deployer/sprawl/internal/tfgen/gen.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/consul-container/libs/cluster/container.go b/test/integration/consul-container/libs/cluster/container.go index 6667c278a4..eeddd1fe56 100644 --- a/test/integration/consul-container/libs/cluster/container.go +++ b/test/integration/consul-container/libs/cluster/container.go @@ -608,7 +608,7 @@ func startContainer(ctx context.Context, req testcontainers.ContainerRequest) (t }) } -const pauseImage = "hashiderek/pause" +const pauseImage = "docker.mirror.hashicorp.services/hashiderek/pause" type containerOpts struct { configFile string diff --git a/testing/deployer/sprawl/internal/tfgen/gen.go b/testing/deployer/sprawl/internal/tfgen/gen.go index 1f94d1e24c..7985cff774 100644 --- a/testing/deployer/sprawl/internal/tfgen/gen.go +++ b/testing/deployer/sprawl/internal/tfgen/gen.go @@ -251,7 +251,7 @@ func (g *Generator) Generate(step Step) error { addVolume(c.TLSVolumeName) } - addImage("pause", "hashiderek/pause") + addImage("pause", "docker.mirror.hashicorp.services/hashiderek/pause") if step.StartServers() { for _, c := range g.topology.SortedClusters() {