Skip to content

Commit

Permalink
Hard update all 1.3 dataplane to 1.6 (#21728)
Browse files Browse the repository at this point in the history
* hard update all 1.3 dataplane to 1.6

* update 1.5 image
  • Loading branch information
sarahalsmiller authored Sep 13, 2024
1 parent 9bab2ed commit 30b5ffa
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 13 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test-integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions test-integ/connect/snapshot_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -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,
})
}
7 changes: 4 additions & 3 deletions testing/deployer/sprawl/sprawltest/test_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down
9 changes: 5 additions & 4 deletions testing/deployer/topology/default_versions.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 30b5ffa

Please sign in to comment.