summaryrefslogtreecommitdiffstats
path: root/build-dockers.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-08-08Fix the docker build image workflowv1.2.0Dileep Ranganathan1-11/+26
Fixed the Docker build image workflow. Added seperate tagging for SNAPSHOT-latest and STAGING-latest There are two docker jobs currently. One produces SNAPSHOT images and other produces STAGING images. SNAPSHOT images are build from nexus2 maven snapshots artifacts where as STAGING images are built from nexus2 maven releases artifacts. Removed libxml2-utils dependency from docker build image script. Since the dedicated docker node might be shared by multiple jobs, apt-get install inside the script might cause conflict and cause failure of the docker jenkins jobs. Moved the dependency to be part of the jenkins infrastructure node itself. Change-Id: I122974c984b1b0ece98bbd5a783d7923504abf3e Issue-ID: OPTFRA-301 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-07-30Added missing sudo privilegesDileep Ranganathan1-1/+1
Added the missing sudo privilieges required to install packages Change-Id: I998decc0f8a20cc6575564c12f7e0dcb278802a5 Issue-ID: OPTFRA-301 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-07-30Missing xmllint package for version scrapingDileep Ranganathan1-0/+1
Installed missing xmllint package for version scraping Change-Id: Ib83221e38e0987539bade32b1b83d33cf97dbc5d Issue-ID: OPTFRA-301 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-07-25Fix Docker image to use the nexus artifactsDileep Ranganathan1-19/+59
Fixed Docker image to use the nexus artifacts instead of building from source. Added proxy support. Updated the Docker image version for Casablanca. Change-Id: I42de44b5c09992822696b1e12344ac6fde51373d Issue-ID: OPTFRA-301 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
2018-03-16All compnents on Single docker imageIkram Ikramullah1-7/+35
Made changes to docker settings to make a single image instead of multiple. Also made changes to the run and build scripts to work on this single image. The data component requires certs, keys and ca bundles settings too. For this, made changes to the run script. Also, do to this, added the feature of picking the default values from the current directory if arguments are not provided to the run-docker.scripts. For example: sudo ./run-dockers.sh will run without providing any arguments to it IF the directory from where it is run has these files in it. 1. conductor.conf -- configuration file 2. log.conf -- log settings files 3. aai_cert.cer 4. aai_key.key 5. aai_ca_bunlde.pem (pem) file The first two from the above have been created and provided in the current directory (has/). However, since certs will be different from env to env, the last three needs to be provided either by copying in the current direcotry or as the arguments 3, 4 and 5. The script will give a detailed message on what may be missing and how an attempt was made to get the default files. Checkt it out by playing with run-docker.sh file. Finally, the build script also calls the push script now. Since there can be no testing of this in ONAP artifcats prod BEFORE being merged to master, we can only test the push part once merged to master. Issue-ID: OPTFRA-123 Change-Id: I83c54c97953b71aae18166b937dd89195e705f73 Signed-off-by: Ikram Ikramullah <ikram@research.att.com>
2018-03-13Corrected Nexus Package contentIkram Ikramullah (ikram@research.att.com)1-1/+1
Before dockerzation can proceed, contents of the package must be correct. Few folders/files were missing. Changed assembly.xml to include all but the ones that are not needed. Also, removed files from conductor/conductor folder that were thought to have contributed to the correction of the package initially. conductor/conductor/README.rst conductor/conductor/README.md conductor/conductor/setup.py conductor/conductor/setup.cfg These files are actually not needed in that level of folder (conductor/condcutor) - They should exist only on the main conductor/ folder. Issue-ID: OPTFRA-123 Change-Id: I006694ddc8e7e5de21ad17fb0d4720c5b19dc960 Signed-off-by: Ikram Ikramullah (ikram@research.att.com) <ikram@research.att.com>
2018-03-12Moved all docker files moved to main folderIkram Ikramullah (ikram@research.att.com)1-0/+8
Issue-ID: OPTFRA-123 Change-Id: I9334bda9ef05ed18c4e1fe35616b53e9ba128dc1 Signed-off-by: Ikram Ikramullah (ikram@research.att.com) <ikram@research.att.com>