Skip to content

Commit

Permalink
Merge pull request crossplane-contrib#38 from hasheddan/integratemaster
Browse files Browse the repository at this point in the history
Run integration tests on Crossplane master channel
  • Loading branch information
negz authored Oct 23, 2019
2 parents a43d91d + 288f6d6 commit b325eab
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cluster/local/integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,11 @@ echo_step "wait for kind pods"
kindpods=("kube-apiserver-${BUILD_REGISTRY}-inttests-control-plane" "kube-controller-manager-${BUILD_REGISTRY}-inttests-control-plane" "kube-scheduler-${BUILD_REGISTRY}-inttests-control-plane")
wait_for_pods_in_namespace 120 "kube-system" "${kindpods[@]}"

# install crossplane from alpha channel
echo_step "installing crossplane from alpha channel"
"${HELM}" repo add crossplane-alpha https://charts.crossplane.io/alpha
"${HELM}" install --name crossplane --namespace crossplane-system crossplane-alpha/crossplane
# install crossplane from master channel
echo_step "installing crossplane from master channel"
"${HELM}" repo add crossplane-master https://charts.crossplane.io/master/
chart_version="$("${HELM}" search crossplane-master/crossplane | awk 'FNR == 2 {print $2}')"
"${HELM}" install --name crossplane --namespace crossplane-system crossplane-master/crossplane --version ${chart_version}

echo_step "waiting for deployment crossplane rollout to finish"
"${KUBECTL}" -n "${CROSSPLANE_NAMESPACE}" rollout status "deploy/crossplane" --timeout=2m
Expand Down

0 comments on commit b325eab

Please sign in to comment.