From 288f6d6a7a15e2b8e0352d362bed3ec91078d22c Mon Sep 17 00:00:00 2001 From: hasheddan Date: Tue, 22 Oct 2019 22:02:15 -0500 Subject: [PATCH] integration: update e2e integration tests to use crossplane master channel Signed-off-by: hasheddan --- cluster/local/integration_tests.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cluster/local/integration_tests.sh b/cluster/local/integration_tests.sh index 2940285e..bf6551f4 100755 --- a/cluster/local/integration_tests.sh +++ b/cluster/local/integration_tests.sh @@ -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