--- /dev/null
+---
+
+- project:
+ name: dcae-dmaapbc
+ # job template iterators
+ project-name: 'dcae-dmaapbc'
+ stream:
+ - 'master':
+ branch: 'master'
+ # apply to all jobs
+ project: 'dcae/dmaapbc'
+ mvn-settings: 'dcae-dmaapbc-settings'
+ # default to no op
+ mvn-goals: '--version'
+ # default to no op
+ mvn-goals-versioning: '--version'
+ files: '**'
+ archive-artifacts: ''
+
+ jobs:
+ - '{project-name}-{stream}-daily-release-scm-mvn-script':
+ mvn-goals-versioning:
+ 'versions:set versions:update-child-modules versions:commit'
+ mvn-goals: 'clean deploy'
+ maven-deploy-properties: |
+ deployAtEnd=true
+ script:
+ !include-raw-escape: 'script-dmaapbc-daily-release.sh'
+ - '{project-name}-{stream}-merge-scm-mvn-script':
+ mvn-goals: 'clean deploy'
+ script:
+ !include-raw-escape: 'script-dmaapbc-merge.sh'
+ - '{project-name}-{stream}-verify-scm-mvn-script':
+ mvn-goals: 'clean install'
+ script:
+ !include-raw-escape: 'script-dmaapbc-verify.sh'
--- /dev/null
+#!/bin/bash
+# Create a debian package and push to remote repo
+#
+#
+# build the docker image. tag and then push to the remote repo
+#
+
+# !!! make sure the yaml file include docker-login as a builder before calling
+# this script
+
+IMAGE="dcae_dmaapbc"
+TAG="1.0.0"
+LFQI="${IMAGE}:${TAG}"
+BUILD_PATH="${WORKSPACE}"
+
+# build a docker image
+docker build --rm -f ${WORKSPACE}/Dockerfile -t ${LFQI} ${BUILD_PATH}
+
+
+#
+# push the image
+#
+# io registry DOCKER_REPOSITORIES="nexus3.openecomp.org:10001 \
+# release registry nexus3.openecomp.org:10002 \
+# snapshot registry nexus3.openecomp.org:10003"
+REPO="nexus3.openecomp.org:10003"
+
+RFQI="${REPO}/${LFQI}"
+# tag
+docker tag ${LFQI} ${RFQI}
+
+# push to remote repo
+docker push ${RFQI}
+
--- /dev/null
+#!/bin/bash
+# Create a debian package and push to remote repo
+#
+#
+# build the docker image. tag and then push to the remote repo
+#
+
+# !!! make sure the yaml file include docker-login as a builder before calling
+# this script
+
+IMAGE="dcae_dmaapbc"
+TAG="1.0.0"
+LFQI="${IMAGE}:${TAG}"
+BUILD_PATH="${WORKSPACE}"
+
+# build a docker image
+docker build --rm -f ${WORKSPACE}/Dockerfile -t ${LFQI} ${BUILD_PATH}
+
+
+#
+# push the image
+#
+# io registry DOCKER_REPOSITORIES="nexus3.openecomp.org:10001 \
+# release registry nexus3.openecomp.org:10002 \
+# snapshot registry nexus3.openecomp.org:10003"
+REPO="nexus3.openecomp.org:10002"
+RFQI="${REPO}/${LFQI}"
+docker tag ${LFQI} ${RFQI}
+docker push ${RFQI}
+
--- /dev/null
+#!/bin/bash
+# Create a debian package and push to remote repo
+#
+#
+# build the docker image. tag and then push to the remote repo
+#
+
+# !!! make sure the yaml file include docker-login as a builder before calling
+# this script
+
+IMAGE="dcae_dmaapbc"
+TAG="1.0.0"
+LFQI="${IMAGE}:${TAG}"
+BUILD_PATH="${WORKSPACE}"
+
+# build a docker image
+docker build --rm -f ${WORKSPACE}/Dockerfile -t ${LFQI} ${BUILD_PATH}
+
+