mirror of
https://github.com/argoproj/argo-cd.git
synced 2026-02-20 01:28:45 +01:00
* group read comparison settings during app reconciliation * Reduce lock contention in clusterInfo::ensureSynced(). Add getRepoObj stats * Remove additional source of lock contention * Exclude the coordination.k8s.io/Lease resource Co-authored-by: Alexander Matyushentsev <amatyushentsev@gmail.com>
24 lines
531 B
Bash
Executable File
24 lines
531 B
Bash
Executable File
#!/bin/bash
|
|
set -eux -o pipefail
|
|
|
|
# make sure apiclient does not depend on packr
|
|
which godepgraph || go get github.com/kisielk/godepgraph
|
|
if godepgraph -s github.com/argoproj/argo-cd/pkg/apiclient | grep packr; then
|
|
echo apiclient package should not depend on packr
|
|
exit 1
|
|
fi
|
|
|
|
TEST_RESULTS=${TEST_RESULTS:-test-results}
|
|
|
|
mkdir -p $TEST_RESULTS
|
|
|
|
report() {
|
|
set -eux -o pipefail
|
|
|
|
go-junit-report < $TEST_RESULTS/test.out > $TEST_RESULTS/junit.xml
|
|
}
|
|
|
|
trap 'report' EXIT
|
|
|
|
go test -failfast $* 2>&1 | tee $TEST_RESULTS/test.out
|