mirror of https://github.com/status-im/consul.git
connect: Update supported Envoy versions to include 1.19.3 and 1.18.6
This commit is contained in:
parent
b95f010ac0
commit
522676ed8d
|
@ -889,15 +889,15 @@ jobs:
|
||||||
path: *TEST_RESULTS_DIR
|
path: *TEST_RESULTS_DIR
|
||||||
- run: *notify-slack-failure
|
- run: *notify-slack-failure
|
||||||
|
|
||||||
envoy-integration-test-1_18_4:
|
envoy-integration-test-1_18_6:
|
||||||
<<: *ENVOY_TESTS
|
<<: *ENVOY_TESTS
|
||||||
environment:
|
environment:
|
||||||
ENVOY_VERSION: "1.18.4"
|
ENVOY_VERSION: "1.18.6"
|
||||||
|
|
||||||
envoy-integration-test-1_19_1:
|
envoy-integration-test-1_19_3:
|
||||||
<<: *ENVOY_TESTS
|
<<: *ENVOY_TESTS
|
||||||
environment:
|
environment:
|
||||||
ENVOY_VERSION: "1.19.1"
|
ENVOY_VERSION: "1.19.3"
|
||||||
|
|
||||||
envoy-integration-test-1_20_2:
|
envoy-integration-test-1_20_2:
|
||||||
<<: *ENVOY_TESTS
|
<<: *ENVOY_TESTS
|
||||||
|
@ -1148,10 +1148,10 @@ workflows:
|
||||||
- envoy-integration-test-1_17_4:
|
- envoy-integration-test-1_17_4:
|
||||||
requires:
|
requires:
|
||||||
- dev-build
|
- dev-build
|
||||||
- envoy-integration-test-1_18_4:
|
- envoy-integration-test-1_18_6:
|
||||||
requires:
|
requires:
|
||||||
- dev-build
|
- dev-build
|
||||||
- envoy-integration-test-1_19_1:
|
- envoy-integration-test-1_19_3:
|
||||||
requires:
|
requires:
|
||||||
- dev-build
|
- dev-build
|
||||||
- envoy-integration-test-1_20_2:
|
- envoy-integration-test-1_20_2:
|
||||||
|
|
|
@ -124,14 +124,14 @@ func TestDetermineSupportedProxyFeaturesFromString(t *testing.T) {
|
||||||
// Populate feature flags here when appropriate. See consul 1.10.x for reference.
|
// Populate feature flags here when appropriate. See consul 1.10.x for reference.
|
||||||
for _, v := range []string{
|
for _, v := range []string{
|
||||||
"1.17.0", "1.17.1", "1.17.2", "1.17.3", "1.17.4",
|
"1.17.0", "1.17.1", "1.17.2", "1.17.3", "1.17.4",
|
||||||
"1.18.0", "1.18.1", "1.18.2", "1.18.3", "1.18.4",
|
"1.18.0", "1.18.1", "1.18.2", "1.18.3", "1.18.4", "1.18.5", "1.18.6",
|
||||||
} {
|
} {
|
||||||
cases[v] = testcase{expect: supportedProxyFeatures{
|
cases[v] = testcase{expect: supportedProxyFeatures{
|
||||||
ForceLDSandCDSToAlwaysUseWildcardsOnReconnect: true,
|
ForceLDSandCDSToAlwaysUseWildcardsOnReconnect: true,
|
||||||
}}
|
}}
|
||||||
}
|
}
|
||||||
for _, v := range []string{
|
for _, v := range []string{
|
||||||
"1.19.0", "1.19.1",
|
"1.19.0", "1.19.1", "1.19.2", "1.19.3",
|
||||||
"1.20.0", "1.20.1", "1.20.2",
|
"1.20.0", "1.20.1", "1.20.2",
|
||||||
} {
|
} {
|
||||||
cases[v] = testcase{expect: supportedProxyFeatures{}}
|
cases[v] = testcase{expect: supportedProxyFeatures{}}
|
||||||
|
|
|
@ -8,7 +8,7 @@ package proxysupport
|
||||||
// see: https://www.consul.io/docs/connect/proxies/envoy#supported-versions
|
// see: https://www.consul.io/docs/connect/proxies/envoy#supported-versions
|
||||||
var EnvoyVersions = []string{
|
var EnvoyVersions = []string{
|
||||||
"1.20.2",
|
"1.20.2",
|
||||||
"1.19.1",
|
"1.19.3",
|
||||||
"1.18.4",
|
"1.18.6",
|
||||||
"1.17.4",
|
"1.17.4",
|
||||||
}
|
}
|
||||||
|
|
|
@ -179,10 +179,14 @@ function assert_envoy_version {
|
||||||
echo "Got version=$VERSION"
|
echo "Got version=$VERSION"
|
||||||
echo "Want version=$ENVOY_VERSION"
|
echo "Want version=$ENVOY_VERSION"
|
||||||
|
|
||||||
# 1.20.2 is a special snowflake in that the version for the release is actually
|
# 1.20.2, 1.19.3 and 1.18.6 are special snowflakes in that the version for
|
||||||
# reported as '1.20.2-dev'
|
# the release is reported with a '-dev' suffix (eg 1.20.2-dev).
|
||||||
if [ "$ENVOY_VERSION" = "1.20.2" ] ; then
|
if [ "$ENVOY_VERSION" = "1.20.2" ] ; then
|
||||||
ENVOY_VERSION="1.20.2-dev"
|
ENVOY_VERSION="1.20.2-dev"
|
||||||
|
elif [ "$ENVOY_VERSION" = "1.19.3" ] ; then
|
||||||
|
ENVOY_VERSION="1.19.3-dev"
|
||||||
|
elif [ "$ENVOY_VERSION" = "1.18.6" ] ; then
|
||||||
|
ENVOY_VERSION="1.18.6-dev"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $VERSION | grep "/$ENVOY_VERSION/"
|
echo $VERSION | grep "/$ENVOY_VERSION/"
|
||||||
|
|
|
@ -35,7 +35,7 @@ compatible Envoy versions.
|
||||||
|
|
||||||
| Consul Version | Compatible Envoy Versions |
|
| Consul Version | Compatible Envoy Versions |
|
||||||
| ------------------- | ------------------------------------------------------ |
|
| ------------------- | ------------------------------------------------------ |
|
||||||
| 1.11.x | 1.20.2, 1.19.1, 1.18.4, 1.17.4 |
|
| 1.11.x | 1.20.2, 1.19.3, 1.18.6, 1.17.4 |
|
||||||
| 1.10.x | 1.18.4, 1.17.4, 1.16.5, 1.15.5 |
|
| 1.10.x | 1.18.4, 1.17.4, 1.16.5, 1.15.5 |
|
||||||
| 1.9.x | 1.16.5, 1.15.5, 1.14.7<sup>1</sup>, 1.13.7<sup>1</sup> |
|
| 1.9.x | 1.16.5, 1.15.5, 1.14.7<sup>1</sup>, 1.13.7<sup>1</sup> |
|
||||||
| 1.8.x | 1.14.7, 1.13.7, 1.12.7, 1.11.2 |
|
| 1.8.x | 1.14.7, 1.13.7, 1.12.7, 1.11.2 |
|
||||||
|
|
Loading…
Reference in New Issue