Skip to content

Commit c49d308

Browse files
Merge pull request #33 from cloudera/hotfix/2.1.0
Hotfix/2.1.0
2 parents 6395bd8 + 175aab8 commit c49d308

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

ClouderaPublicCloudOnBoarding/AWS/README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ image::build/images/gen_access_key_1.png[access_key1, 360, 240]
9191
ksahu@Kuldeeps-MacBook-Air build % cdp configure
9292
CDP Access Key ID [None]: CDPEXAMPLEACCESSKEY
9393
CDP Private Key [None]: myPSEcdpPrivateKEy/Sample123456xyz
94-
CDP Region [None]: <Enter>
94+
CDP Region [us-west-1]: <Enter_OR_Provide_Override_Value>
9595
CDP Endpoint URL (blank for public cloud) [None]: <Enter>
9696
ksahu@Kuldeeps-MacBook-Air build %
9797

ClouderaPublicCloudOnBoarding/AWS/build/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.1.0] - 2024-11-15
9+
10+
### Changed
11+
- Updated code to parameterize the cdp-tf-quickstart version while building the Docker image, could be passed externally as docker build-args
12+
813
## [2.0.0] - 2024-10-09
914

1015
### Added

ClouderaPublicCloudOnBoarding/AWS/build/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
FROM ubuntu:22.04
44

55
ARG TF_VER=1.9.3
6+
ARG TF_QUICKSTART_VERSION=v0.8.5
67
# Directory for storing scripts.
78
RUN mkdir -p /opt/cdp-public-cloud-automation
89

910
# Setting Up Environment Variable.
1011
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
1112
ENV HOME_DIR="/opt/cdp-public-cloud-automation"
13+
ENV TF_QUICKSTART_VERSION=${TF_QUICKSTART_VERSION}
1214

1315
# Installing Required Packages.
1416
RUN apt-get update && \

ClouderaPublicCloudOnBoarding/AWS/build/entrypoint/hol-functions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# *************************************************************************************************************#
33
# Setting required path and variables.
44

5-
TF_QUICKSTART_VERSION=0.8.0
5+
#TF_QUICKSTART_VERSION=v0.8.0
66
USER_CONFIG_FILE="/userconfig/configfile"
77
KEYGEN_TF_CONFIG_DIR=$HOME_DIR/cdp-wrkshps-quickstarts/keypair_gen
88
KC_TF_CONFIG_DIR=$HOME_DIR/cdp-wrkshps-quickstarts/cdp-kc-config/keycloak_terraform_config
@@ -616,7 +616,7 @@ provision_cdp() {
616616
sleep 10
617617
USER_NAMESPACE=$workshop_name
618618
mkdir -p /userconfig/.$USER_NAMESPACE
619-
git clone https://github.com/cloudera-labs/cdp-tf-quickstarts.git -b v$TF_QUICKSTART_VERSION --single-branch --depth 1 /userconfig/.$USER_NAMESPACE/cdp-tf-quickstarts &>/dev/null
619+
git clone https://github.com/cloudera-labs/cdp-tf-quickstarts.git -b $TF_QUICKSTART_VERSION --single-branch --depth 1 /userconfig/.$USER_NAMESPACE/cdp-tf-quickstarts &>/dev/null
620620
cd /userconfig/.$USER_NAMESPACE/cdp-tf-quickstarts
621621
git sparse-checkout init --cone
622622
git sparse-checkout set aws

0 commit comments

Comments
 (0)