aboutsummaryrefslogtreecommitdiff
path: root/test/kubectl-helm-minikube/install_only_kubectl.sh
blob: 442ef6477e0871c9fc1fe050f67c0e0065090c4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
set -e

# Optional: Import test library
source dev-container-features-test-lib

set +e
    kubectl
    exit_code=$?
    check "kubectl-is-not-installed" bash -c "echo ${exit_code} | grep 127"

    helm version
    exit_code=$?
    check "helm-is-not-installed" bash -c "echo ${exit_code} | grep 127"

    minikube version
    exit_code=$?
    check "minikube is-not-installed" bash -c "echo ${exit_code} | grep 127"
set -e

# Report result
reportResults