Skip to content

Commit

Permalink
Revisited smoke tests TLS protocol related test setup (#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
azagniotov authored Jan 25, 2024
1 parent c9ccd88 commit c6893cc
Showing 1 changed file with 24 additions and 38 deletions.
62 changes: 24 additions & 38 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -358,15 +358,22 @@ smoke_test_steps: &smoke_test_steps
echo "stubby4j started!"
sleep 5
if [[ "<< parameters.legacy_tls >>" == "yes" ]]
if [[ "<< parameters.target_tls_protocols >>" =~ "tls10" ]]
then
sh src/smoke-test/shell/make_request_using_curl.sh 1.0 127.0.0.1 7445
fi
if [[ "<< parameters.target_tls_protocols >>" =~ "tls11" ]]
then
sh src/smoke-test/shell/make_request_using_curl.sh 1.1 127.0.0.1 7445
fi
sh src/smoke-test/shell/make_request_using_curl.sh 1.2 127.0.0.1 7445
if [[ "<< parameters.target_tls_protocols >>" =~ "tls12" ]]
then
sh src/smoke-test/shell/make_request_using_curl.sh 1.2 127.0.0.1 7445
fi
if [[ "<< parameters.tls_13 >>" == "yes" ]]
if [[ "<< parameters.target_tls_protocols >>" =~ "tls13" ]]
then
sh src/smoke-test/shell/make_request_using_curl.sh 1.3 127.0.0.1 7445
fi
Expand Down Expand Up @@ -449,12 +456,9 @@ jobs:
# https://www.oracle.com/java/technologies/javase/8u92-relnotes.html
smoke_openjdk_openjdk_8u092:
parameters:
legacy_tls:
target_tls_protocols:
type: string
default: "yes"
tls_13:
type: string
default: "no"
default: "tls10,tls11,tls12"
use_native_jdk_alpn_processor:
type: string
default: ""
Expand All @@ -468,12 +472,9 @@ jobs:
# https://www.oracle.com/java/technologies/javase/8u111-relnotes.html
smoke_openjdk_openjdk_8u111:
parameters:
legacy_tls:
type: string
default: "yes"
tls_13:
target_tls_protocols:
type: string
default: "no"
default: "tls10,tls11,tls12"
use_native_jdk_alpn_processor:
type: string
default: ""
Expand All @@ -486,12 +487,9 @@ jobs:

smoke_azul_zulu_openjdk_8u232:
parameters:
legacy_tls:
type: string
default: "yes"
tls_13:
target_tls_protocols:
type: string
default: "no" # https://github.com/openjsse/openjsse/issues/13
default: "tls10,tls11,tls12"
use_native_jdk_alpn_processor:
type: string
default: ""
Expand All @@ -504,12 +502,9 @@ jobs:

smoke_adoptopenjdk_openjdk_8u312_b07:
parameters:
legacy_tls:
type: string
default: "yes"
tls_13:
target_tls_protocols:
type: string
default: "yes"
default: "tls10,tls11,tls12,tls13"
use_native_jdk_alpn_processor:
type: string
default: ""
Expand All @@ -522,12 +517,9 @@ jobs:

smoke_adoptopenjdk_openjdk_11_openj9:
parameters:
legacy_tls:
target_tls_protocols:
type: string
default: "yes"
tls_13:
type: string
default: "yes"
default: "tls10,tls11,tls12,tls13"
use_native_jdk_alpn_processor:
type: string
default: "-PuseNativeJdkAlpnProcessor"
Expand All @@ -540,12 +532,9 @@ jobs:

smoke_openjdk_openjdk_17:
parameters:
legacy_tls:
target_tls_protocols:
type: string
default: "yes"
tls_13:
type: string
default: "yes"
default: "tls10,tls11,tls12,tls13"
use_native_jdk_alpn_processor:
type: string
default: "-PuseNativeJdkAlpnProcessor"
Expand All @@ -558,12 +547,9 @@ jobs:

smoke_azul_zulu_openjdk_21:
parameters:
legacy_tls:
target_tls_protocols:
type: string
default: "no"
tls_13:
type: string
default: "yes"
default: "tls12,tls13"
use_native_jdk_alpn_processor:
type: string
default: "-PuseNativeJdkAlpnProcessor"
Expand Down

0 comments on commit c6893cc

Please sign in to comment.