Hard update all 1.3 dataplane to 1.6 (#21728)

* hard update all 1.3 dataplane to 1.6

* update 1.5 image
pull/21729/head
sarahalsmiller 2024-09-13 11:30:25 -05:00 committed by GitHub
parent 9bab2ed939
commit 30b5ffa281
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 17 additions and 13 deletions

View File

@ -422,7 +422,8 @@ jobs:
contents: read
env:
ENVOY_VERSION: ${{ needs.get-envoy-versions.outputs.max-envoy-version }}
CONSUL_DATAPLANE_IMAGE: "docker.io/hashicorppreview/consul-dataplane:1.5-dev-ubi"
#TODO don't harcode this image name
CONSUL_DATAPLANE_IMAGE: "docker.io/hashicorppreview/consul-dataplane:1.6-dev-ubi"
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
# NOTE: This step is specifically needed for ENT. It allows us to access the required private HashiCorp repos.
@ -535,7 +536,8 @@ jobs:
strategy:
fail-fast: false
env:
DEPLOYER_CONSUL_DATAPLANE_IMAGE: "docker.mirror.hashicorp.services/hashicorppreview/consul-dataplane:1.3-dev"
# TODO @sarah.alsmiller Don't hardcode this version value
DEPLOYER_CONSUL_DATAPLANE_IMAGE: "docker.mirror.hashicorp.services/hashicorppreview/consul-dataplane:1.6-dev"
steps:
- name: Checkout code
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4

View File

@ -73,8 +73,8 @@ CONSUL_IMAGE_VERSION?=latest
GOLANG_VERSION?=$(shell head -n 1 .go-version)
# Takes the highest version from the ENVOY_VERSIONS file.
ENVOY_VERSION?=$(shell cat envoyextensions/xdscommon/ENVOY_VERSIONS | grep '^[[:digit:]]' | sort -nr | head -n 1)
CONSUL_DATAPLANE_IMAGE := $(or $(CONSUL_DATAPLANE_IMAGE),"docker.io/hashicorppreview/consul-dataplane:1.3-dev-ubi")
DEPLOYER_CONSUL_DATAPLANE_IMAGE := $(or $(DEPLOYER_CONSUL_DATAPLANE_IMAGE), "docker.io/hashicorppreview/consul-dataplane:1.3-dev")
CONSUL_DATAPLANE_IMAGE := $(or $(CONSUL_DATAPLANE_IMAGE),"docker.io/hashicorppreview/consul-dataplane:1.6-dev-ubi")
DEPLOYER_CONSUL_DATAPLANE_IMAGE := $(or $(DEPLOYER_CONSUL_DATAPLANE_IMAGE), "docker.io/hashicorppreview/consul-dataplane:1.6-dev")
CONSUL_VERSION?=$(shell cat version/VERSION)

View File

@ -155,7 +155,7 @@ func Test_Snapshot_Restore_Agentless(t *testing.T) {
)
asserter.FortioFetch2HeaderEcho(t, staticClient, &topology.Upstream{
ID: staticServerSID,
LocalPort: 8080,
LocalPort: 5000,
})
staticServer := sp.Topology().Clusters["dc1"].WorkloadByID(
topology.NewNodeID("dc1-client1", "default"),
@ -184,6 +184,6 @@ func Test_Snapshot_Restore_Agentless(t *testing.T) {
// Ensure the static-client connected to the new static-server
asserter.FortioFetch2HeaderEcho(t, staticClient, &topology.Upstream{
ID: staticServerSID,
LocalPort: 8080,
LocalPort: 5000,
})
}

View File

@ -22,10 +22,11 @@ func TestSprawl(t *testing.T) {
cfg := &topology.Config{
Images: topology.Images{
// TODO NOT HARDCODE
// ConsulEnterprise: "consul-dev:latest",
ConsulCE: "hashicorppreview/consul:1.17-dev",
ConsulEnterprise: "hashicorppreview/consul-enterprise:1.17-dev",
Dataplane: "hashicorppreview/consul-dataplane:1.3-dev",
ConsulCE: "hashicorppreview/consul:1.20-dev",
ConsulEnterprise: "hashicorppreview/consul-enterprise:1.20-dev",
Dataplane: "hashicorppreview/consul-dataplane:1.6-dev",
},
Networks: []*topology.Network{
{Name: "dc1"},

View File

@ -5,9 +5,10 @@
package topology
//TODO @sarah.alsmiller figure out if we can delete this
const (
DefaultConsulCEImage = "hashicorp/consul:1.17.0"
DefaultConsulEnterpriseImage = "hashicorp/consul-enterprise:1.17.0-ent"
DefaultEnvoyImage = "envoyproxy/envoy:v1.27.2"
DefaultDataplaneImage = "hashicorp/consul-dataplane:1.3.0"
DefaultConsulCEImage = "hashicorp/consul:1.19.0"
DefaultConsulEnterpriseImage = "hashicorp/consul-enterprise:1.19.0-ent"
DefaultEnvoyImage = "envoyproxy/envoy:v1.28.5"
DefaultDataplaneImage = "hashicorp/consul-dataplane:1.5.0"
)