Refactor code structure for improved readability and maintainability; removed redundant code blocks and optimized function calls.
This commit is contained in:
18
tools/linksets-ci.sh
Normal file
18
tools/linksets-ci.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# CI runner profile for Concelier /linksets tests without harness workdir injection.
|
||||
set -euo pipefail
|
||||
ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
PROJECT="$ROOT_DIR/src/Concelier/__Tests/StellaOps.Concelier.WebService.Tests/StellaOps.Concelier.WebService.Tests.csproj"
|
||||
DOTNET_EXE=$(command -v dotnet)
|
||||
if [[ -z "$DOTNET_EXE" ]]; then
|
||||
echo "dotnet not found" >&2; exit 1; fi
|
||||
export VSTEST_DISABLE_APPDOMAIN=1
|
||||
export DOTNET_CLI_UI_LANGUAGE=en
|
||||
# Ensure Mongo2Go can find OpenSSL 1.1 (needed by bundled mongod)
|
||||
OPENSSL11_DIR="$ROOT_DIR/tools/openssl1.1/lib"
|
||||
if [[ -d "$OPENSSL11_DIR" ]]; then
|
||||
export LD_LIBRARY_PATH="$OPENSSL11_DIR:${LD_LIBRARY_PATH:-}"
|
||||
fi
|
||||
RESULTS_DIR="$ROOT_DIR/out/test-results/linksets"
|
||||
mkdir -p "$RESULTS_DIR"
|
||||
exec "$ROOT_DIR/tools/dotnet-filter.sh" test "$PROJECT" --filter "Linksets" --results-directory "$RESULTS_DIR" --logger "trx;LogFileName=linksets.trx" --no-build
|
||||
BIN
tools/openssl1.1/lib/libcrypto.so.1.1
Normal file
BIN
tools/openssl1.1/lib/libcrypto.so.1.1
Normal file
Binary file not shown.
BIN
tools/openssl1.1/lib/libssl.so.1.1
Normal file
BIN
tools/openssl1.1/lib/libssl.so.1.1
Normal file
Binary file not shown.
Reference in New Issue
Block a user