-
Notifications
You must be signed in to change notification settings - Fork 9
KubeCF testing
Ettore Di Giacinto edited this page Mar 9, 2020
·
6 revisions
Assuming the following commands are run inside the catapult local checkout
Set some options:
# pick up a cluster name (optional)
export CLUSTER_NAME="kubecf"
# and a backend (optional too, defaults to kind)
export BACKEND="kind"
Deploy:
# Deploy a cluster from a kubecf checkout with diego: (SCF_LOCAL, is the abs path pointing at your kubecf checkout)
SCF_TESTGROUP=true SCF_OPERATOR=true SCF_LOCAL=~/kubecf make k8s scf-build
Alternatively, if you have a chart url: CHART_URL="url" SCF_OPERATOR=true make k8s scf
(see https://github.com/SUSE/catapult/wiki/Build-and-run-SCF )
KUBECF_TEST_SUITE=smokes make tests-kubecf
See also: https://github.com/SUSE/catapult/wiki/Running-SCF-tests#kubecf and https://github.com/SUSE/catapult/wiki/First-steps for more information about parameters
KUBECF_TEST_SUITE=cats make tests-kubecf
source build${CLUSTER_NAME}/.envrc
# kubectl ...
# helm ...
# cf push ...
make clean