summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lucas <jflucas@research.att.com>2018-04-16 22:07:20 +0000
committerJack Lucas <jflucas@research.att.com>2018-04-16 22:08:44 +0000
commitb16d16eca45530ba1c4e63ca9e14277dd5649251 (patch)
tree4212f728daaa0b215e7ebaa7671ab940ea123a07
parent5aef0ad96c07424138659020de4f9c5f011d5c28 (diff)
Add support for HEAT install
Issue-ID: DCAEGEN2-416 Change-Id: I7aeb895c6a6f461923b2a67d0ba099e9f7907dfc Signed-off-by: Jack Lucas <jflucas@research.att.com>
-rw-r--r--cm-container/Dockerfile-template10
-rw-r--r--cm-container/pom.xml2
2 files changed, 11 insertions, 1 deletions
diff --git a/cm-container/Dockerfile-template b/cm-container/Dockerfile-template
index cbfca20..2c67d51 100644
--- a/cm-container/Dockerfile-template
+++ b/cm-container/Dockerfile-template
@@ -33,3 +33,13 @@ RUN scripts/get-type-files.sh ${TYPE_REPO} ${CCSDK_REPO}\
&& chown -R cfyuser:cfyuser /opt/manager/resources/spec/cloudify/3.4
# Create mount point for CM config file
RUN mkdir -p /opt/onap && chown cfyuser:cfyuser /opt/onap
+
+# For HEAT environment, install software needed to use Cloudify CLI 4.2 to install plugins & deploy blueprints locally
+# Install python development-related packages
+RUN yum install -y gcc python-devel python-virtualenv python-pip
+
+# Set up virtualenv and install Cloudify CLI 4.2
+RUN pip install --upgrade pip==9.0.3 \
+ && virtualenv cfy42 \
+ && source cfy42/bin/activate \
+ && pip install cloudify==4.2
diff --git a/cm-container/pom.xml b/cm-container/pom.xml
index fb3dae3..6d7114a 100644
--- a/cm-container/pom.xml
+++ b/cm-container/pom.xml
@@ -27,7 +27,7 @@ limitations under the License.
<groupId>org.onap.dcaegen2.deployments</groupId>
<artifactId>cm-container</artifactId>
<name>dcaegen2-deployments-cm-container</name>
- <version>1.1.0</version>
+ <version>1.2.0</version>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>