Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit d7bb34d

Browse files
author
Patrick Baxter
committed
hack/terraform-quickstart: add conformance script
1 parent f2bebe9 commit d7bb34d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
set -euo pipefail
3+
4+
# This is a small shim to run the conformance runner script in
5+
# /hack/tests/conformance-test.sh. More option defaults such as
6+
# CONFORMANCE_VERSION are set in that script. If the SSH key you use to
7+
# access the nodes setup by terraform is not available via the ssh agent then
8+
# you must specify which keyfile to use.
9+
10+
export BOOTSTRAP_IP=`terraform output bootstrap_node_ip`
11+
export KUBECONFIG=/etc/kubernetes/kubeconfig
12+
export SSH_KEY_FILE=${SSH_KEY_FILE:-/fake/keyfile/have/agent}
13+
14+
cd ../tests
15+
./conformance-test.sh $BOOTSTRAP_IP 22 ${SSH_KEY_FILE}
16+

0 commit comments

Comments
 (0)