1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

Merge pull request #1508 from fanhaouu/fix-run-e2e-tests-bug

[e2e] no test timeouts, produce the same image tag as in production
This commit is contained in:
Kubernetes Prow Robot
2024-09-09 09:22:27 +01:00
committed by GitHub

View File

@@ -23,7 +23,7 @@ SKIP_INSTALL=${SKIP_INSTALL:-}
KIND_E2E=${KIND_E2E:-}
# Build a descheduler image
IMAGE_TAG=$(git describe --tags --match v0*)
IMAGE_TAG=v$(date +%Y%m%d)-$(git describe --tags)
BASEDIR=$(dirname "$0")
VERSION="${IMAGE_TAG}" make -C ${BASEDIR}/.. image
@@ -54,4 +54,4 @@ fi
kubectl apply -f kubernetes/base/rbac.yaml
PRJ_PREFIX="sigs.k8s.io/descheduler"
go test ${PRJ_PREFIX}/test/e2e/ -v
go test ${PRJ_PREFIX}/test/e2e/ -v -timeout 0