CD/CD consolidation
This commit is contained in:
23
devops/tools/run-airgap-bundle-tests.sh
Normal file
23
devops/tools/run-airgap-bundle-tests.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Runs only the Airgap bundle determinism tests for Concelier WebService.
|
||||
# Intended for CI runners with warmed NuGet cache; keeps outputs deterministic.
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
RESULTS_DIR="${RESULTS_DIR:-${ROOT_DIR}/TestResults}"
|
||||
|
||||
mkdir -p "${RESULTS_DIR}"
|
||||
|
||||
pushd "${ROOT_DIR}" >/dev/null
|
||||
|
||||
dotnet test \
|
||||
src/Concelier/__Tests/StellaOps.Concelier.WebService.Tests/StellaOps.Concelier.WebService.Tests.csproj \
|
||||
-c Release \
|
||||
--filter AirgapBundleBuilderTests \
|
||||
--logger "trx;LogFileName=airgap-bundle.trx" \
|
||||
-- ResultsDirectory="${RESULTS_DIR}"
|
||||
|
||||
popd >/dev/null
|
||||
|
||||
echo "Airgap bundle tests complete. TRX: ${RESULTS_DIR}/airgap-bundle.trx"
|
||||
Reference in New Issue
Block a user