Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
ci: install ee for ee tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoelker committed Sep 25, 2020
1 parent fe69503 commit f4166c3
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions ci/ci-integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ TERRAFORM_PATH="${TERRAFORM_VERSION}/${TERRAFORM_ZIP}"
TERRAFORM_URL="https://releases.hashicorp.com/terraform/${TERRAFORM_PATH}"

DCOS_IO="https://downloads.dcos.io"
MASTER_PATH="dcos/testing/master/dcos_generate_config.sh"
MASTER_URL="${DCOS_IO}/${MASTER_PATH}"
MESOSPHERE="https://downloads.mesosphere.com"
OSS_MASTER_PATH="testing/master/dcos_generate_config.sh"
EE_MASTER_PATH="testing/master/dcos_generate_config.ee.sh"
OSS_MASTER_URL="${DCOS_IO}/dcos/${OSS_MASTER_PATH}"
EE_MASTER_URL="${MESOSPHERE}/dcos-enterprise/${EE_MASTER_PATH}"

GIT_SHA_10=$(echo "$GIT_COMMIT" | cut -c 1-10)

Expand Down Expand Up @@ -93,7 +96,11 @@ launch_cluster() {

local _version
if [ "${DCOS_VERSION}" == 'master' ]; then
_version=" custom_dcos_download_path = \"${MASTER_URL}\""
if [ "${VARIANT}" == 'open' ]; then
_version=" custom_dcos_download_path = \"${OSS_MASTER_URL}\""
elif [ "${VARIANT}" == 'ee' ]; then
_version=" custom_dcos_download_path = \"${EE_MASTER_URL}\""
fi
else
_version=" dcos_version = \"${DCOS_VERSION}\""
fi
Expand Down

0 comments on commit f4166c3

Please sign in to comment.