aai-common docker image jobs
Introduction of new jobs for automatic build of onap/aai-common
container image. Until now, this image was built manually
by AAI team and uploaded into private 'aaionap' docker hub repo.
Following 4 jobs were added:
* aai-aai-common-master-alpine-verify-docker
* aai-aai-common-master-ubuntu-verify-docker
* aai-aai-common-master-alpine-merge-docker
* aai-aai-common-master-ubuntu-merge-docker
New jobs will create two versions of aai-common image:
* aai-common-alpine - based on Alpine Linux
* aai-common-ubuntu - based on Ubuntu Linux
These images will be pushed into standard ONAP docker
repository (currently nexus3).
NOTE: aai-common container image doesn't contain any AAI
specific code. It just installs necessary OS packages
and tools required by other AAI containers, which
are based on aai-common.
Change-Id: Icad266602adeb066a88853820f216afaed714380
Signed-off-by: Martin Klozik <martin.klozik@tieto.com>
Issue-ID: INT-1023
diff --git a/jjb/aai/aai-aai-common.yaml b/jjb/aai/aai-aai-common.yaml
index 8327a83..74e1b60 100644
--- a/jjb/aai/aai-aai-common.yaml
+++ b/jjb/aai/aai-aai-common.yaml
@@ -62,3 +62,25 @@
- gerrit-info-yaml-verify
project: aai/aai-common
branch: master
+
+- project:
+ name: 'aai-aai-common-docker'
+ jobs:
+ - '{project-name}-{stream}-verify-docker'
+ - '{project-name}-{stream}-merge-docker'
+ project-name: 'aai-aai-common'
+ project: 'aai/aai-common'
+ stream:
+ - 'master-alpine':
+ branch: 'master'
+ distro: 'alpine'
+ - 'master-ubuntu':
+ branch: 'master'
+ distro: 'ubuntu'
+ docker_name: 'onap/aai-common-{distro}'
+ docker_build_args: '-f ./Dockerfile.{distro}'
+ docker_root: '$WORKSPACE/Dockerfiles/aai-common/'
+ mvn-settings: 'aai-aai-common-settings'
+ mvn-version: 'mvn35'
+ files: 'Dockerfiles/aai-common/**'
+ build-node: ubuntu1604-docker-8c-8g