Skip to content

Commit 1fcb5da

Browse files
authored
Merge pull request #32 from ibm-cloud-architecture/integration
EE Tests
2 parents db8b5d9 + 3f245e1 commit 1fcb5da

File tree

4 files changed

+23
-3
lines changed

4 files changed

+23
-3
lines changed

.circleci/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,9 @@ workflows:
106106
requires:
107107
- ce-ubuntu
108108
tfvarsfile: terraform-icp-ce-rhel-example.tfvars
109+
- build:
110+
name: ee-rhel
111+
requires:
112+
- ce-rhel
113+
tfvarsfile: terraform-icp-ee-rhel-example.tfvars
109114
# Repeated as many times as there are configurations...

scripts/bootstrap.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ docker_install() {
7070
then
7171
# Figure out what we should name the file
7272
filename="icp-docker.bin"
73-
/usr/local/bin/aws s3 cp ${docker_installer} ${sourcedir}/${filename}
73+
/usr/local/bin/aws s3 cp ${docker_installer} ${sourcedir}/${filename} --no-progress
7474
package_file="${sourcedir}/${filename}"
7575
fi
7676

scripts/start_install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ if [[ ! -z "${image_location}" ]]; then
6464
if [[ "${image_location:0:2}" == "s3" ]]; then
6565
# stream it right out of s3 into docker
6666
logmsg "Copying binary package from ${image_location} ..."
67-
${awscli} s3 cp ${image_location} /tmp
67+
${awscli} s3 cp ${image_location} /tmp --no-progress
6868

6969
logmsg "Loading docker images from /tmp/`basename ${image_location}` ..."
7070
tar zxf /tmp/`basename ${image_location}` -O | docker load | tee -a $logfile
@@ -103,7 +103,7 @@ instretval=$?
103103

104104
# backup the config
105105
logmsg "Backing up the config to the S3 bucket."
106-
${awscli} s3 sync /opt/ibm/cluster s3://${s3_config_bucket}
106+
${awscli} s3 sync /opt/ibm/cluster s3://${s3_config_bucket} --no-progress
107107

108108
logmsg "~~~~~~~~ Completed ICP installation Code ~~~~~~~~"
109109
# Ensure the script exits with the exit code of the ICP installer
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
## You must set a key file name to be able to ssh to any of the created VMs
2+
# key_name = "<name of your ssh key>"
3+
4+
image_location = "s3://icp-docker-tarball/ibm-cloud-private-x86_64-3.2.0.tar.gz"
5+
6+
ami = "rhel" # Use RHEL and supply docker package
7+
docker_package_location = "s3://icp-docker-binaries/icp-docker-18.03.1_x86_64.bin"
8+
9+
icp_inception_image = "ibmcom/icp-inception-amd64:3.2.0-ee"
10+
11+
# We add the bastion host so we can monitor the progress
12+
# during ICP Installation
13+
bastion = {
14+
nodes = "1"
15+
}

0 commit comments

Comments
 (0)