chore(ci): fix compat ent compat tests for sidecars and gateways (#15997)
This commit is contained in:
parent
3fe381b507
commit
dbe9d26962
|
@ -1,7 +1,8 @@
|
|||
# Note this arg has to be before the first FROM
|
||||
# Note these args have to be before the first FROM
|
||||
ARG CONSUL_IMAGE
|
||||
ARG ENVOY_VERSION
|
||||
|
||||
FROM consul:local as consul
|
||||
FROM ${CONSUL_IMAGE} as consul
|
||||
|
||||
FROM docker.mirror.hashicorp.services/envoyproxy/envoy:v${ENVOY_VERSION}
|
||||
COPY --from=consul /bin/consul /bin/consul
|
||||
|
|
|
@ -79,8 +79,10 @@ func NewConnectService(ctx context.Context, name string, serviceName string, ser
|
|||
containerName := utils.RandName(namePrefix)
|
||||
|
||||
envoyVersion := getEnvoyVersion()
|
||||
agentConfig := node.GetConfig()
|
||||
buildargs := map[string]*string{
|
||||
"ENVOY_VERSION": utils.StringToPointer(envoyVersion),
|
||||
"CONSUL_IMAGE": utils.StringToPointer(agentConfig.DockerImage()),
|
||||
}
|
||||
|
||||
dockerfileCtx, err := getDevContainerDockerfile()
|
||||
|
|
|
@ -74,8 +74,10 @@ func NewGatewayService(ctx context.Context, name string, kind string, node libcl
|
|||
containerName := utils.RandName(namePrefix)
|
||||
|
||||
envoyVersion := getEnvoyVersion()
|
||||
agentConfig := node.GetConfig()
|
||||
buildargs := map[string]*string{
|
||||
"ENVOY_VERSION": utils.StringToPointer(envoyVersion),
|
||||
"CONSUL_IMAGE": utils.StringToPointer(agentConfig.DockerImage()),
|
||||
}
|
||||
|
||||
dockerfileCtx, err := getDevContainerDockerfile()
|
||||
|
|
Loading…
Reference in New Issue