summaryrefslogtreecommitdiffstats
path: root/controlloop/packages/docker-controlloop/src/main/assembly/assembly.xml
diff options
context:
space:
mode:
authorRashmi Pujar <rashmi.pujar@bell.ca>2019-06-03 17:14:45 -0400
committerRashmi Pujar <rashmi.pujar@bell.ca>2019-06-11 13:57:45 -0400
commit19cade1c9284316bf15456002db354c894844c96 (patch)
tree8139327c0e9454ed56684568f6dd2e27d7654383 /controlloop/packages/docker-controlloop/src/main/assembly/assembly.xml
parentcb84d7e3179893b8b0aa920b34cf92fbb6c171f5 (diff)
Use io.fabric8:docker-maven-plugin to build and push docker images
Addressed POLICY-1808 for drools-applications to fix the tag to be major.minor-SNAPSHOT-latest Issue-ID: POLICY-969 Signed-off-by: Rashmi Pujar <rashmi.pujar@bell.ca> Change-Id: I6c9ddec9a2e7a73ba68343eb98e0145ce811868e
Diffstat (limited to 'controlloop/packages/docker-controlloop/src/main/assembly/assembly.xml')
-rw-r--r--controlloop/packages/docker-controlloop/src/main/assembly/assembly.xml45
1 files changed, 45 insertions, 0 deletions
diff --git a/controlloop/packages/docker-controlloop/src/main/assembly/assembly.xml b/controlloop/packages/docker-controlloop/src/main/assembly/assembly.xml
new file mode 100644
index 000000000..7deffeb8f
--- /dev/null
+++ b/controlloop/packages/docker-controlloop/src/main/assembly/assembly.xml
@@ -0,0 +1,45 @@
+<!--
+ ============LICENSE_START=======================================================
+ PDP-D APPS Installation Package
+ ================================================================================
+ Copyright (C) 2019 Bell Canada. All rights reserved.
+ ================================================================================
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ ============LICENSE_END=========================================================
+ -->
+
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
+ <id>docker-drools-apps</id>
+ <fileSets>
+ <fileSet>
+ <directory>${project.basedir}/src/main/resources</directory>
+ <outputDirectory>.</outputDirectory>
+ <filtered>true</filtered>
+ <includes>
+ <include>docker-entrypoint.sh</include>
+ </includes>
+ <fileMode>755</fileMode>
+ </fileSet>
+ </fileSets>
+ <dependencySets>
+ <dependencySet>
+ <includes>
+ <include>org.onap.policy.drools-applications.controlloop.packages:apps-controlloop</include>
+ </includes>
+ <outputDirectory>.</outputDirectory>
+ <outputFileNameMapping>apps-controlloop.zip</outputFileNameMapping>
+ </dependencySet>
+ </dependencySets>
+</assembly>