From 0de19ff05d9de96ec2248791019c569296a55a48 Mon Sep 17 00:00:00 2001 From: Ty Potter Date: Fri, 22 Nov 2024 15:21:57 -0700 Subject: [PATCH 1/3] lint --- package-testing/sdk-test-runner/test-sdk.sh | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/package-testing/sdk-test-runner/test-sdk.sh b/package-testing/sdk-test-runner/test-sdk.sh index 8d0ab36e..2d4436be 100755 --- a/package-testing/sdk-test-runner/test-sdk.sh +++ b/package-testing/sdk-test-runner/test-sdk.sh @@ -137,16 +137,19 @@ case "$command" in BUILD_AND_RUN_PLATFORM=build-and-run-${EPPO_SDK_PLATFORM}.sh if [ -f docker-run.sh ]; then - echo " ... Starting SDK Relay via docker launch script" + echo " ... Starting SDK Relay via docker launch script" # Docker containers need to point at host.docker.internal instead of localhost - EPPO_BASE_URL=http://host.docker.internal:${EPPO_API_PORT}/api EPPO_API_HOST=host.docker.internal ./docker-run.sh >> ${RUNNER_DIR}/logs/sdk.log 2>&1 & + EPPO_BASE_URL=http://host.docker.internal:${EPPO_API_PORT}/api EPPO_API_HOST=host.docker.internal ./docker-run.sh > ${RUNNER_DIR}/logs/sdk.log 2>&1 & + elif [ -f ${BUILD_AND_RUN_PLATFORM} ]; then - echo " ... Starting SDK Relay via platform build-and-run script" - ./${BUILD_AND_RUN_PLATFORM} >> ${RUNNER_DIR}/logs/sdk.log 2>&1 & + echo " ... Starting SDK Relay via platform build-and-run script" + ./${BUILD_AND_RUN_PLATFORM} > ${RUNNER_DIR}/logs/sdk.log 2>&1 & + elif [ -f build-and-run.sh ]; then - echo " ... Starting SDK Relay via build-and-run script" - ./build-and-run.sh >> ${RUNNER_DIR}/logs/sdk.log 2>&1 & + echo " ... Starting SDK Relay via build-and-run script" + ./build-and-run.sh > ${RUNNER_DIR}/logs/sdk.log 2>&1 & + else exit_with_message "SDK Relay does not have a launch script in $SDK_DIR" fi @@ -174,6 +177,7 @@ case "$command" in -v ./test-data:/app/test-data:ro \ --name eppo-sdk-test-runner \ -t Eppo-exp/sdk-test-runner:latest "--junit=logs/results.xml" + EXIT_CODE=$? echo " ... Downing the docker containers" From 6768d3494b1bab1aa650ea1a5285a004e8ed3c53 Mon Sep 17 00:00:00 2001 From: Ty Potter Date: Fri, 22 Nov 2024 15:35:03 -0700 Subject: [PATCH 2/3] increment build --- package-testing/testing-api/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-testing/testing-api/package.json b/package-testing/testing-api/package.json index 764293f6..a69529fe 100644 --- a/package-testing/testing-api/package.json +++ b/package-testing/testing-api/package.json @@ -1,6 +1,6 @@ { "name": "eppo-testing-api", - "version": "1.1.0", + "version": "1.1.1", "description": "UFC server for SDK integration testing", "main": "src/server.ts", "repository": "github.com/Eppo-exp/sdk-test-data", From 012e1026a5563bbb0d1c88e37adb7f9e2b2a3094 Mon Sep 17 00:00:00 2001 From: Ty Potter Date: Fri, 22 Nov 2024 15:37:19 -0700 Subject: [PATCH 3/3] bump default sdk version --- package-testing/dotnet-sdk-relay/build-and-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-testing/dotnet-sdk-relay/build-and-run.sh b/package-testing/dotnet-sdk-relay/build-and-run.sh index 8ca3bd12..3df35c26 100755 --- a/package-testing/dotnet-sdk-relay/build-and-run.sh +++ b/package-testing/dotnet-sdk-relay/build-and-run.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # default version of the SDK to use. -: "${SDK_VERSION:=3.5.0}" +: "${SDK_VERSION:=3.5.1}" SDK="https://github.com/Eppo-exp/dot-net-server-sdk.git"