Commit 86c1f776 authored by Cédric OLIVIER's avatar Cédric OLIVIER
Browse files

Merge branch 'master' into 'master'

Resolve "Gitlab K8s Agent support"

Closes #39

See merge request to-be-continuous/helm!63
parents d6c98882 1b122e1f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -339,6 +339,11 @@ stages:
    elif [[ -n "$KUBECONFIG" ]]
    then
      log_info "--- using \\e[32mKUBECONFIG\\e[0m provided by GitLab"
      if [[ -n "$KUBE_CONTEXT" ]]
      then
        kubectl config use-context "$KUBE_CONTEXT"
        log_info "--- switch to the given \\e[32mKUBE_CONTEXT\\e[0m: ${KUBE_CONTEXT}"
      fi
    else
      log_warn "No \\e[32mKUBECONFIG\\e[0m configuration found!"
    fi