Multiplatform support for policy 53/93953/27
authorPaul Vaduva <Paul.Vaduva@enea.com>
Thu, 27 Jun 2019 16:00:57 +0000 (18:00 +0200)
committerCristina Pauna <cristina.pauna@enea.com>
Thu, 5 Sep 2019 19:14:56 +0000 (22:14 +0300)
commit4da9d4476fe968d3b915f7ca28b22bb322899614
tree4db52be328d455f2244395f76f387f183c4ffc39
parent1f89af3b9916cd2b0198aa3a9491946f33c3f7cc
Multiplatform support for policy

Add multiplatfrom support for policy-base
and policy-common docker images:
   - the pom.xml files are modified to push and pull from dockerhub instead
     of nexus repository (as nexus lacks support for manifest list)
   - for each image that is built with maven, an arch suffix is added to the
     tag. The currently supported architectures are amd64 and arm64.
   - the creation of the timestamped tag is moved from the pom.xml files to
     the docker_push_manifest.sh script
   - for each image built via the Jenkins CI jobs, the docker_push_manifest.sh
     is called. The script pushes a manifest list for each tag, plus it
     creates the timestamp tags for SNAPSHOT or STAGING images,
     depending on what job called the script (merge job, or stag job)

For using the images, the name of the manifest list is to be used (which
is the same as the current images in nexus)

Issue-ID: POLICY-1997
Change-Id: If54e7ee6ac432a999844d3584e146a90e2247323
Signed-off-by: Paul Vaduva <Paul.Vaduva@enea.com>
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
.gitignore
docker_push_manifest.sh [new file with mode: 0755]
policy-base/alpine/pom.xml
policy-base/pom.xml
policy-common/alpine/pom.xml
policy-common/alpine/src/main/docker/Dockerfile
policy-common/pom.xml
pom.xml
version.properties