Skip to content

Commit 164044a

Browse files
committed
test(showcase): clean up ITPqc and build script, enforce CA cert presence, and reuse TestClientInitializer constants
TAG=agy CONV=385b9ab5-874c-4c9a-b331-66dab51fef61
1 parent c00f8a5 commit 164044a

3 files changed

Lines changed: 230 additions & 234 deletions

File tree

build-with-local-http-client.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ HTTP_CLIENT_DIR="${HTTP_CLIENT_DIR:-${PARENT_DIR}/google-http-java-client}"
2626
HTTP_CLIENT_BRANCH="${HTTP_CLIENT_BRANCH:-pqc-support-conscrypt}"
2727

2828

29+
HTTP_CLIENT_VERSION="${HTTP_CLIENT_VERSION:-2.1.2-SNAPSHOT}"
30+
2931
echo "========================================================================="
3032
echo "Building and installing google-http-java-client snapshot..."
3133
echo "Using path: ${HTTP_CLIENT_DIR}"
@@ -38,7 +40,7 @@ if [ ! -d "${HTTP_CLIENT_DIR}" ]; then
3840
fi
3941

4042
# Check if the snapshot jar is already built in the local maven repository
41-
M2_JAR_PATH="${HOME}/.m2/repository/com/google/http-client/google-http-client/2.1.2-SNAPSHOT/google-http-client-2.1.2-SNAPSHOT.jar"
43+
M2_JAR_PATH="${HOME}/.m2/repository/com/google/http-client/google-http-client/${HTTP_CLIENT_VERSION}/google-http-client-${HTTP_CLIENT_VERSION}.jar"
4244

4345
if [ -f "${M2_JAR_PATH}" ] && [ "${FORCE_REBUILD}" != "true" ]; then
4446
echo "Found existing google-http-client snapshot at ${M2_JAR_PATH}."

0 commit comments

Comments
 (0)