Skip to content

Commit 8b89a18

Browse files
committed
Install cm-client Python SDK from Cloudera Archive
Signed-off-by: Webster Mudge <[email protected]>
1 parent 373f882 commit 8b89a18

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

base/execution-environment.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,12 @@ additional_build_steps:
4242
- RUN yum install -y git
4343
- RUN dnf clean all -y && rm -rf /var/cache/yum /var/cache/dnf /tmp/src
4444
prepend_builder:
45+
- ARG CM_VERSION="7.13.1"
46+
- ENV CM_VERION="${CM_VERSION}"
4547
- RUN yum install -y yum-utils && yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
48+
- RUN curl -L "https://archive.cloudera.com/cm7/${CM_VERSION}/generic/jar/cm_api/cloudera-manager-api-swagger-${CM_VERSION}.tar" -o cloudera-manager-api.tar
49+
- RUN tar xf cloudera-manager-api.tar
50+
- RUN $PYCMD -m pip install swagger/python
4651
prepend_final:
4752
- ARG BUILD_VER="latest"
4853
- ARG BUILD_DATE="unknown"

0 commit comments

Comments
 (0)