mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
test(e2e): oras binary not found locally if not installed in path (#25751)
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
This commit is contained in:
committed by
GitHub
parent
5859065650
commit
0114636cdc
@@ -9,6 +9,10 @@ which gotestsum || go install gotest.tools/gotestsum@latest
|
||||
|
||||
TEST_RESULTS=${TEST_RESULTS:-test-results}
|
||||
TEST_FLAGS=${TEST_FLAGS:-}
|
||||
DIST_DIR=${DIST_DIR:-dist}
|
||||
|
||||
# Add DIST_DIR to PATH so binaries installed for argo are found first
|
||||
export PATH="${DIST_DIR}:${PATH}"
|
||||
|
||||
if test "${ARGOCD_TEST_PARALLELISM:-}" != ""; then
|
||||
TEST_FLAGS="$TEST_FLAGS -p $ARGOCD_TEST_PARALLELISM"
|
||||
|
||||
Reference in New Issue
Block a user