зеркало из https://github.com/Azure/aks-engine.git
27 строки
827 B
Makefile
27 строки
827 B
Makefile
LOCATION ?= westus2
|
|
CLUSTER_DEFINITION ?= examples/kubernetes.json
|
|
SSH_KEY_NAME ?= id_rsa
|
|
SKIP_TEST ?= false
|
|
|
|
TEST_CMD = docker run --rm \
|
|
-v ${CURDIR}:${DEV_ENV_WORK_DIR} \
|
|
-w ${DEV_ENV_WORK_DIR} \
|
|
-e LOCATION=${LOCATION} \
|
|
-e CLIENT_ID=${CLIENT_ID} \
|
|
-e CLIENT_SECRET=${CLIENT_SECRET} \
|
|
-e TENANT_ID=${TENANT_ID} \
|
|
-e SUBSCRIPTION_ID=${SUBSCRIPTION_ID} \
|
|
-e CLUSTER_DEFINITION=${CLUSTER_DEFINITION} \
|
|
-e DNS_PREFIX=${DNS_PREFIX} \
|
|
-e SSH_KEY_NAME=${SSH_KEY_NAME} \
|
|
-e SKIP_TEST=${SKIP_TEST}
|
|
|
|
test-interactive:
|
|
${TEST_CMD} -it -e TEST=kubernetes ${DEV_ENV_IMAGE} bash
|
|
|
|
test-functional: test-kubernetes
|
|
|
|
test-kubernetes: ginkgoBuild
|
|
make -C ./test/e2e build
|
|
@ORCHESTRATOR=kubernetes bash -c 'pgrep ssh-agent || eval `ssh-agent` && ./test/e2e/bin/e2e-runner'
|