diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build/build_nexus_blob.sh | 307 | ||||
-rwxr-xr-x | build/creating_data/download-bin-tools.sh | 41 | ||||
-rwxr-xr-x | build/creating_data/download-git-repos.sh | 42 | ||||
-rwxr-xr-x | build/creating_data/download-oom.sh | 37 | ||||
-rw-r--r-- | build/data_list/docker_image_list.txt | 163 | ||||
-rw-r--r-- | build/data_list/docker_manual_image_list.txt | 1 | ||||
-rw-r--r-- | build/data_list/git_manual_list | 6 | ||||
-rw-r--r-- | build/data_list/git_repos_list | 4 | ||||
-rw-r--r-- | build/data_list/pip_list.txt | 14 | ||||
-rw-r--r-- | build/data_lists/deb_packages.list (renamed from build/data_list/pkg_list.txt) | 9 | ||||
-rw-r--r-- | build/data_lists/http_files.list (renamed from build/data_list/http_manual_list.txt) | 0 | ||||
-rw-r--r-- | build/data_lists/onap_3.0.0-docker_images.list | 218 | ||||
-rw-r--r-- | build/data_lists/onap_3.0.0-git_repos.list | 9 | ||||
-rw-r--r-- | build/data_lists/onap_3.0.0-npm.list (renamed from build/data_list/npm_list.txt) | 207 | ||||
-rw-r--r-- | build/data_lists/onap_3.0.0-pip_packages.list | 18 | ||||
-rwxr-xr-x | build/download_offline_data_by_lists.sh | 39 | ||||
-rw-r--r-- | build/package.conf | 71 | ||||
-rwxr-xr-x | build/package.sh | 228 |
18 files changed, 1080 insertions, 334 deletions
diff --git a/build/build_nexus_blob.sh b/build/build_nexus_blob.sh new file mode 100755 index 00000000..e57658c2 --- /dev/null +++ b/build/build_nexus_blob.sh @@ -0,0 +1,307 @@ +#! /usr/bin/env bash + +# COPYRIGHT NOTICE STARTS HERE +# +# Copyright 2018 © Samsung Electronics Co., Ltd. +# +# 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. +# +# COPYRIGHT NOTICE ENDS HERE + + +### This script prepares Nexus repositories data blobs for ONAP + +# Mandatory variables need to be set in configuration file: +# NXS_SRC_DOCKER_IMG_DIR - resource directory of docker images +# NXS_SRC_NPM_DIR - resource directory of npm packages +# NXS_DOCKER_IMG_LIST - list of docker images to be pushed to Nexus repository +# NXS_DOCKER_WO_LIST - list of docker images which uses default repository +# NXS_NPM_LIST - list of npm packages to be published to Nexus repository +# NEXUS_DATA_TAR - target tarball of Nexus data path/name +# NEXUS_DATA_DIR - directory used for the Nexus blob build +# NEXUS_IMAGE - Sonatype/Nexus3 docker image which will be used for data blob creation + +# Fail fast settings +set -e + +# Nexus repository location +NEXUS_DOMAIN="nexus" +NPM_REGISTRY="http://${NEXUS_DOMAIN}:8081/repository/npm-private/" +DOCKER_REGISTRY="${NEXUS_DOMAIN}:8082" + +# Nexus repository credentials +NEXUS_USERNAME=admin +NEXUS_PASSWORD=admin123 +NEXUS_EMAIL=admin@example.org + +# Setup simulated domain names to be able to push all in private Nexus repository +SIMUL_HOSTS="docker.elastic.co gcr.io hub.docker.com nexus3.onap.org nexus.onap.org registry.hub.docker.com ${NEXUS_DOMAIN}" + +# Nexus repository configuration setup +NEXUS_CONFIG_GROOVY='import org.sonatype.nexus.security.realm.RealmManager +import org.sonatype.nexus.repository.attributes.AttributesFacet +import org.sonatype.nexus.security.user.UserManager +import org.sonatype.nexus.repository.manager.RepositoryManager +import org.sonatype.nexus.security.user.UserNotFoundException +/* Use the container to look up some services. */ +realmManager = container.lookup(RealmManager.class) +userManager = container.lookup(UserManager.class, "default") //default user manager +repositoryManager = container.lookup(RepositoryManager.class) +/* Managers are used when scripting api cannot. Note that scripting api can only create mostly, and that creation methods return objects of created entities. */ +/* Perform cleanup by removing all repos and users. Realms do not need to be re-disabled, admin and anonymous user will not be removed. */ +userManager.listUserIds().each({ id -> + if (id != "anonymous" && id != "admin") + userManager.deleteUser(id) +}) +repositoryManager.browse().each { + repositoryManager.delete(it.getName()) +} +/* Add bearer token realms at the end of realm lists... */ +realmManager.enableRealm("NpmToken") +realmManager.enableRealm("DockerToken") +/* Create the docker user. */ +security.addUser("docker", "docker", "docker", "docker@example.com", true, "docker", ["nx-anonymous"]) +/* Create docker and npm repositories. Their default configuration should be compliant with our requirements, except the docker registry creation. */ +repository.createNpmHosted("npm-private") +def r = repository.createDockerHosted("onap", 8082, 0) +/* force basic authentication true by default, must set to false for docker repo. */ +conf=r.getConfiguration() +conf.attributes("docker").set("forceBasicAuth", false) +repositoryManager.update(conf)' + +usage () { + echo " This script is preparing Nexus data blob from docker images and npm packages" + echo " Usage:" + echo " ./$(basename $0) <config_file> [<target>]" + echo " " + echo " config_file is a file with defined variables, which are mandatory for this script" + echo " target is optional parameter where you can specify full path/name of resulted package" + echo " which replaces the value specified in configuration file" + echo " " + echo " Example: ./$(basename $0) ./package.conf /root/nexus_data.tar" + echo " " + echo " Parameters need to be defined in configuration file:" + echo " " + echo " NXS_SRC_DOCKER_IMG_DIR - directory of resource docker images" + echo " NXS_SRC_NPM_DIR - directory of resource npm packages" + echo " NXS_DOCKER_IMG_LIST - list of docker images to be pushed to Nexus repository" + echo " NXS_DOCKER_WO_LIST - list of docker images which uses default repository" + echo " NXS_NPM_LIST - list of npm packages to be published to Nexus repository" + echo " NEXUS_DATA_TAR - target tarball of Nexus data path/name" + echo " NEXUS_DATA_DIR - directory used for the Nexus blob build" + echo " NEXUS_IMAGE - Sonatype/Nexus3 docker image which will be used for data blob creation" + exit 1 +} + + +################################# +# Prepare the local environment # +################################# + +# Load the config file +if [ "${1}" == "-h" ] || [ -z "${1}" ]; then + usage +elif [ -f ${1} ]; then + . ${1} +else + echo "Missing mandatory configuration file!" + usage + exit 1 +fi + +if [ -n "${2}" ]; then + NEXUS_DATA_TAR="${2}" +fi + +for VAR in NXS_SRC_DOCKER_IMG_DIR NXS_SRC_NPM_DIR NXS_DOCKER_IMG_LIST NXS_DOCKER_WO_LIST NXS_NPM_LIST NEXUS_DATA_TAR NEXUS_DATA_DIR NEXUS_IMAGE; do + if [ -n "${!VAR}" ] ; then + echo "${VAR} is set to ${!VAR}" + else + echo "${VAR} is not set and it is mandatory" + FAIL="1" + fi +done + +if [ "${FAIL}" == "1" ]; then + echo "One or more mandatory variables are not set" + exit 1 +fi + +# Check the dependencies in the beginning + +# Install jq +if yum list installed "jq" >/dev/null 2>&1; then + echo "jq is already installed" +else + yum install -y --setopt=skip_missing_names_on_install=False http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/j/jq-1.5-1.el7.x86_64.rpm +fi + +# Install curl if necessary +if yum list installed "curl" >/dev/null 2>&1; then + echo "curl is already installed" +else + yum install -y --setopt=skip_missing_names_on_install=False curl +fi + +# Install expect if necessary +if yum list installed "expect" >/dev/null 2>&1; then + echo "expect is already installed" +else + yum install -y --setopt=skip_missing_names_on_install=False expect +fi + +# Install Docker (docker-ce in version 17.03 for RHEL) from online repositories if no version installed +if yum list installed "docker-ce" >/dev/null 2>&1 || which docker>/dev/null 2>&1; then + echo "Docker is already installed" +else + curl https://releases.rancher.com/install-docker/17.03.sh | sh +fi + +# Prepare the Nexus configuration +NEXUS_CONFIG=$(echo "${NEXUS_CONFIG_GROOVY}" | jq -Rsc '{"name":"configure", "type":"groovy", "content":.}') + +# Add simulated domain names to /etc/hosts +cp /etc/hosts /etc/$(date +"%Y-%m-%d_%H-%M-%S")_hosts.bk +for DNS in ${SIMUL_HOSTS}; do + echo "127.0.0.1 ${DNS}" >> /etc/hosts +done + +# Backup the current docker registry settings +if [ -f /root/.docker/config.json ]; then + mv /root/.docker/config.json /root/.docker/$(date +"%Y-%m-%d_%H-%M-%S")config.json.bk +fi + +################################# +# Docker repository preparation # +################################# + +# Load all necessary images +for ARCHIVE in $(sed $'s/\r// ; s/\:/\_/g ; s/\//\_/g ; s/$/\.tar/g' ${NXS_DOCKER_IMG_LIST} | awk '{ print $1 }'); do + docker load -i ${NXS_SRC_DOCKER_IMG_DIR}/${ARCHIVE} +done + +for ARCHIVE in $(sed $'s/\r// ; s/\:/\_/g ; s/\//\_/g ; s/$/\.tar/g' ${NXS_DOCKER_WO_LIST} | awk '{ print $1 }'); do + docker load -i ${NXS_SRC_DOCKER_IMG_DIR}/${ARCHIVE} +done + +# Tag docker images from default repository to simulated repository to be able to upload it to our private registry +for IMAGE in $(sed $'s/\r//' ${NXS_DOCKER_WO_LIST} | awk '{ print $1 }'); do + docker tag ${IMAGE} ${DOCKER_REGISTRY}/${IMAGE} +done + + +################################ +# Nexus repository preparation # +################################ + +# Load predefined Nexus image +docker load -i ${NEXUS_IMAGE} + +# Prepare nexus-data directory +if [ -d ${NEXUS_DATA_DIR} ]; then + if [ "$(docker ps -q -f name=nexus)" ]; then + docker rm -f $(docker ps -aq -f name=nexus) + fi + cd ${NEXUS_DATA_DIR}/.. + mv ${NEXUS_DATA_DIR} $(date +"%Y-%m-%d_%H-%M-%S")_$(basename ${NEXUS_DATA_DIR})_bk +fi + +mkdir -p ${NEXUS_DATA_DIR} +chown 200:200 ${NEXUS_DATA_DIR} +chmod 777 ${NEXUS_DATA_DIR} + +# Save Nexus version to prevent/catch data incompatibility +docker images --no-trunc | grep sonatype/nexus3 | awk '{ print $1":"$2" "$3}' > ${NEXUS_DATA_DIR}/nexus.ver + +# Start the Nexus +NEXUS_CONT_ID=$(docker run -d --rm -v ${NEXUS_DATA_DIR}:/nexus-data:rw --name nexus -p 8081:8081 -p 8082:8082 -p 80:8082 -p 10001:8082 sonatype/nexus3) +echo "Waiting for Nexus to fully start" +until curl -su admin:admin123 http://${NEXUS_DOMAIN}:8081/service/metrics/healthcheck | grep '"healthy":true' > /dev/null ; do + printf "." + sleep 3 +done +echo -e "\nNexus started" + +# Configure the nexus repository +curl -X POST --header 'Content-Type: application/json' --data-binary "${NEXUS_CONFIG}" http://admin:admin123@${NEXUS_DOMAIN}:8081/service/rest/v1/script +curl -X POST --header "Content-Type: text/plain" http://admin:admin123@${NEXUS_DOMAIN}:8081/service/rest/v1/script/configure/run + +########################### +# Populate NPM repository # +########################### + +# Configure NPM registry to our Nexus repository +npm config set registry ${NPM_REGISTRY} + +# Login to NPM registry +/usr/bin/expect <<EOF +spawn npm login +expect "Username:" +send "${NEXUS_USERNAME}\n" +expect "Password:" +send "${NEXUS_PASSWORD}\n" +expect Email: +send "${NEXUS_EMAIL}\n" +expect eof +EOF + +# Patch problematic package +cd ${NXS_SRC_NPM_DIR} +tar xvzf tsscmp-1.0.5.tgz +rm -f tsscmp-1.0.5.tgz +sed -i "s|https://registry.npmjs.org|http://${NEXUS_DOMAIN}:8081|g" package/package.json +sed -i "s|https://nexus.onap-me.novalocal|http://${NEXUS_DOMAIN}:8081|g" package/package.json +tar -zcvf tsscmp-1.0.5.tgz package +rm -rf package + +# Push NPM packages to Nexus repository +for ARCHIVE in $(sed $'s/\r// ; s/\\@/\-/g ; s/$/\.tgz/g' ${NXS_NPM_LIST} | awk '{ print $1 }'); do + npm publish --access public ${ARCHIVE} +done + +############################## +# Populate Docker repository # +############################## + +for REGISTRY in $(sed 's/\/.*//' ${NXS_DOCKER_IMG_LIST} | uniq) ${NEXUS_DOMAIN}:8082; do + docker login -u "${NEXUS_USERNAME}" -p "${NEXUS_PASSWORD}" ${REGISTRY} > /dev/null +done + +for IMAGE in $(sed $'s/\r//' ${NXS_DOCKER_WO_LIST} | awk '{ print $1 }'); do + docker push ${DOCKER_REGISTRY}/${IMAGE} +done + +for IMAGE in $(sed $'s/\r//' ${NXS_DOCKER_IMG_LIST} | awk '{ print $1 }'); do + docker push ${IMAGE} +done + +############################## +# Stop the Nexus and cleanup # +############################## + +# Stop the Nexus +docker stop ${NEXUS_CONT_ID} + +# Create the nexus-data package +cd ${NEXUS_DATA_DIR}/.. +echo "Packing the ${NEXUS_DATA_DIR} dir" +until tar -cf ${NEXUS_DATA_TAR} $(basename ${NEXUS_DATA_DIR}); do + printf "." + sleep 5 +done +echo "${NEXUS_DATA_TAR} has been created" + +# Return the previous version of /etc/hosts back to its place +mv -f $(ls -tr /etc/*hosts.bk | tail -1) /etc/hosts + +exit 0 diff --git a/build/creating_data/download-bin-tools.sh b/build/creating_data/download-bin-tools.sh index a0087517..3213ea56 100755 --- a/build/creating_data/download-bin-tools.sh +++ b/build/creating_data/download-bin-tools.sh @@ -16,15 +16,31 @@ # # COPYRIGHT NOTICE ENDS HERE -outdir="$1" -if [[ -z "$outdir" ]]; then - echo "Missing arg outdir" +usage () { + echo "Usage:" + echo -e "./$(basename $0) <project version> [destination directory]\n" + echo "Examples:" + echo " ./$(basename $0) onap_2.0.0 ./git-repo" +} + +if [ "${1}" == "-h" ] || [ -z "${1}" ] || [ -z "${2}"]; then + usage exit 1 +else + TAG="${1}" + OUTDIR="${2}" fi +if [ "${TAG}" == onap_2.0.0 ]; then + KUBECTL_VERSION=1.8.10 + HELM_VERSION=2.8.2 +elif [ "${TAG}" == onap_3.0.0 ]; then + KUBECTL_VERSION=1.11.2 + HELM_VERSION=2.9.1 +fi -mkdir -p "$outdir" -cd "$outdir" +mkdir -p "$OUTDIR" +cd "$OUTDIR" download() { url="$1" @@ -34,15 +50,12 @@ download() { curl --retry 5 -y 10 -Y 10 --location "$url" -o "$file" } -download "https://storage.googleapis.com/kubernetes-release/release/v1.8.10/bin/linux/amd64/kubectl" - -download "https://storage.googleapis.com/kubernetes-helm/helm-v2.8.2-linux-amd64.tar.gz" -tar -xf ./helm-v2.8.2-linux-amd64.tar.gz linux-amd64/helm -O > helm -rm ./helm-v2.8.2-linux-amd64.tar.gz +download "https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl" -download "https://github.com/rancher/cli/releases/download/v0.6.7/rancher-linux-amd64-v0.6.7.tar.gz" -tar -xf ./rancher-linux-amd64-v0.6.7.tar.gz ./rancher-v0.6.7/rancher -O > rancher -rm ./rancher-linux-amd64-v0.6.7.tar.gz +download "https://storage.googleapis.com/kubernetes-helm/helm-v${HELM_VERSION}-linux-amd64.tar.gz" +tar -xf ./helm-v${HELM_VERSION}-linux-amd64.tar.gz linux-amd64/helm -O > helm +rm -f ./helm-v${HELM_VERSION}-linux-amd64.tar.gz +chmod a+x ./helm ./kubectl -chmod a+x ./helm ./kubectl ./rancher +exit 0 diff --git a/build/creating_data/download-git-repos.sh b/build/creating_data/download-git-repos.sh index 9d651d93..bb4a79f1 100755 --- a/build/creating_data/download-git-repos.sh +++ b/build/creating_data/download-git-repos.sh @@ -1,3 +1,4 @@ +#! /usr/bin/env bash # COPYRIGHT NOTICE STARTS HERE # # Copyright 2018 © Samsung Electronics Co., Ltd. @@ -16,21 +17,40 @@ # # COPYRIGHT NOTICE ENDS HERE -lists_dir="$1" +# fail fast +set -e -if [[ -z "$lists_dir" ]]; then - echo "Missing argument for lists_dir" +usage () { + echo "Usage:" + echo -e "./$(basename $0) <repository list> [destination directory]\n" + echo "Examples:" + echo " ./$(basename $0) onap_3.0.0 ./git-repo" +} + +LIST="${1}" + +if [[ -z "${LIST}" ]]; then + echo "Missing argument for repository list" exit 1 fi -outdir="$2" -if [[ -z "$outdir" ]]; then - outdir="./git-repo" +OUTDIR="${2}" +if [[ -z "${OUTDIR}" ]]; then + OUTDIR="./git-repo" fi -mkdir -p "$outdir" -cd "$outdir" -# NOTE: will be better to use sh extension? -sh $lists_dir/git_manual_list -sh $lists_dir/git_repos_list +mkdir -p "${OUTDIR}" +cd "${OUTDIR}" + + +while IFS=" " read -r REPO BRANCH remainder +do + if [[ -z "${BRANCH}" ]]; then + git clone https://${REPO} --bare ${REPO} + else + git clone -b ${BRANCH} --single-branch https://${REPO} --bare ${REPO} + fi +done < <(awk '$1 ~ /^[^;#]/' ${LIST}) + +exit 0 diff --git a/build/creating_data/download-oom.sh b/build/creating_data/download-oom.sh deleted file mode 100755 index 010eeec1..00000000 --- a/build/creating_data/download-oom.sh +++ /dev/null @@ -1,37 +0,0 @@ -# COPYRIGHT NOTICE STARTS HERE -# -# Copyright 2018 © Samsung Electronics Co., Ltd. -# -# 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. -# -# COPYRIGHT NOTICE ENDS HERE - -outdir="$1" -if [[ -z "$outdir" ]]; then - echo "Missing output dir" - exit 1 -fi -patch_file="$2" -if [[ -z "$patch_file" ]]; then - echo "Missing patch file" - exit 1 -fi - -cd "$outdir" -git clone https://github.com/onap/oom.git -cd oom -echo "Checkout base commit which will be patched" -git checkout -b patched_beijing bf47d706fc8b94fd1232960e90329a9a532c6a7b - -patch -p1 < "$patch_file" - diff --git a/build/data_list/docker_image_list.txt b/build/data_list/docker_image_list.txt deleted file mode 100644 index 2a039bc1..00000000 --- a/build/data_list/docker_image_list.txt +++ /dev/null @@ -1,163 +0,0 @@ -aaionap/haproxy:1.2.4 sha256:002d2cc8519fdeb082943f9bd5cf5c4bd4f489199e6c3e9697fda46259522d3e -aaionap/hbase:1.2.0 sha256:7989e2d444c5a455460fa3a5047e038fe5017137be6eb5994f1470d8a8aaed79 -busybox:latest sha256:cb2a60d87291fdbe571dd7cee1164271e405989a689c7273de107e5ff23708cc -cassandra:2.1 sha256:99d8c7819fc12e77e5808f4bcd48a6b26424c4235ea4bbdba544bfd318bd618f -consul:1.0.6 sha256:5c1890d4cd7f38f9e233cd0575c0d08b5a07151544aecb764c3d5939e8e59dc3 -crunchydata/crunchy-postgres:centos7-10.3-1.8.2 sha256:7ea9b46a77e9192c78c49e50628bf506f45c3421f0c04b23a3e9e195894f9f5b -docker.elastic.co/beats/filebeat:5.5.0 sha256:fe7602b641ed8ee288f067f7b31ebde14644c4722d9f7960f176d621097a5942 -docker.elastic.co/elasticsearch/elasticsearch:5.5.0 sha256:80722d5c10da8bd33e9f32cb27cf5a3f23a96fbbb0adeb89e6cb724bbab9d217 -docker.elastic.co/elasticsearch/elasticsearch:5.6.9 sha256:7be55214d31fc1788ef68246d4eeec6a5cc687d2f7d0c5e9190cf91dd7ba6b81 -docker.elastic.co/kibana/kibana:5.5.0 sha256:ad076204edd4834ab78b219414e694cc4ca1bd9956dcfe21c73deee7d727da2e -docker.elastic.co/kibana/kibana:5.6.9 sha256:20bcf4041b85284eb096f9fc4b031d39fab420f736b7865ee9edd58927986367 -docker.elastic.co/logstash/logstash:5.4.3 sha256:d1f29a0cc84973f71f77fb732145ec24235f946b23ab3073ac68aa1e5a71005b -docker.elastic.co/logstash/logstash:5.6.9 sha256:02e70d1c5ad589c477f519001df9ad9d642cd9e95d172cf3317817b478258e44 -elasticsearch:2.4.1 sha256:6c0f5ad281130a4aa5738c2d48bdb4762dd119fb84d40317dd9d30afbf0e0d07 -gcr.io/google_containers/heapster-amd64:v1.4.0 sha256:ad344a0c27c67ee2977adfbdae3398d5744bbcd851d7f04fd6c0bee2f8f79241 -gcr.io/google_containers/heapster-grafana-amd64:v4.4.3 sha256:d663759b3de86cf62e64a43b021f133c383e8f7b0dc2bdd78115bc95db371c9a -gcr.io/google_containers/heapster-influxdb-amd64:v1.3.3 sha256:0f43101b50a7150ccdee6236531461bed0e3c5398489bc92ee99399b3cb00341 -gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.5 sha256:6ceb8eb35964d47e6abb47eddf1bf16c0c58269ce691a6bd45ed898a92987c10 -gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.5 sha256:5ec3ad356daf135c0a4d327c80abc6791131e3a64e3903b70cc5cf7c03270fe8 -gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.5 sha256:ea5e1ba98506a3390241ce28f50fe83c89a37075b813e58e6025dca34b3fe2be -gcr.io/google_containers/kubernetes-dashboard-amd64:v1.8.0 sha256:9baf69c925d40f359d07d4128a22cf124cf76d1a418c59a9b5b1fc5c6ae85ca9 -gcr.io/google_containers/pause-amd64:3.0 sha256:7b23a11e164b0cfa08188d9f976da9f890464cdeb81c1f7c8ef008f03df3681e -gcr.io/google-samples/xtrabackup:1.0 sha256:92ef9832ee300642529677b4c6f6707fc292e7c6a9a9a1940f346f753ac0fdeb -gcr.io/kubernetes-helm/tiller:v2.8.2 sha256:baf2b11aafa281417cd080b0134bdc0586b8e38739c58759a3052bd1b9efe135 -mariadb:10 sha256:9d619bcf2b1ceb629e31409faa0c8533281871b516cf871214bb24011b6a6b13 -nexus3.onap.org:10001/adfinissygroup/k8s-mariadb-galera-centos:v002 sha256:ca7eddb794995707c2abf664855d14dd9bc4f637110d44c57c6b0dcc66a6f885 -nexus3.onap.org:10001/library/cassandra:3.11 sha256:acd19a639957a44a32439a37a90d405e7504c9ad5e45843fc91f021669ec0812 -nexus3.onap.org:10001/library/consul:1.0.6 sha256:5c1890d4cd7f38f9e233cd0575c0d08b5a07151544aecb764c3d5939e8e59dc3 -nexus3.onap.org:10001/library/tomcat:8.5 sha256:d8f307e79cfaf9a1b8f20ffff980abdd703ef4b0ec54b4ec217ee6b8506c7de6 -nexus3.onap.org:10001/library/vault:0.10.0 sha256:a816552d482e2be5f8c0e081d67617178def3138a9d576eccee575c2ce2f5f85 -nexus3.onap.org:10001/mariadb:10.1.11 sha256:564e3f9da1df000a8648038c79f061daac357eacd54c7bd7b1fd1fc6e8e27953 -nexus3.onap.org:10001/mariadb:10.2.14 sha256:ee5816eb36d27cb5668da02222ca0e45dc248002702057d2b860362b356ad0e4 -nexus3.onap.org:10001/onap/aaf/aaf_cm:2.1.1 sha256:cf45bb36e8af3ccb123918404814856f4eac0593fb51d22f29b3efddbf7cde08 -nexus3.onap.org:10001/onap/aaf/aaf_fs:2.1.1 sha256:5760b70347cc59454239e48b4273f766ab899e1017b4cf9c212df31bdefcfb40 -nexus3.onap.org:10001/onap/aaf/aaf_gui:2.1.1 sha256:950d5ea08f19005c43a196aeb8cc32c6a852f61e91c57b0d3344463136596739 -nexus3.onap.org:10001/onap/aaf/aaf_hello:2.1.1 sha256:08927a2b23804a00a79b2f92300bee9f3273801274efe4112afde67a8d698910 -nexus3.onap.org:10001/onap/aaf/aaf_locate:2.1.1 sha256:5696aa19bda7bd9f0cf0d406bf43fbaea7eef783d5fd347e31c6cddbe9b30921 -nexus3.onap.org:10001/onap/aaf/aaf_oauth:2.1.1 sha256:ae9768a72dff49463ead1e5849fb327eb8ddd7f3fedbb102f439b68c92aba857 -nexus3.onap.org:10001/onap/aaf/aaf_service:2.1.1 sha256:81c52869e253975c317ee551bc185845e5c6a5a3a7ad60f34db2d7f36041990b -nexus3.onap.org:10001/onap/aaf/sms:2.0.0 sha256:1a3842f777dafcc9cada261ca660d195740680f5c2969e6541097bed4fba03d3 -nexus3.onap.org:10001/onap/aaf/smsquorumclient:2.0.0 sha256:169152316595e1f2669a99b359219974842806fa6a8c4fdedebec13b9246a35b -nexus3.onap.org:10001/onap/aai/esr-gui:1.1.0 sha256:0f1095d09e9fa90c6a836c8f34f8699edfa3dd74e8c422fe4942fd06ae863805 -nexus3.onap.org:10001/onap/aai/esr-server:1.1.0 sha256:7a7c36bb2ab27a2dcf068acd6c42a2e2d9e3320448b5ffe2be67d2bc52c93035 -nexus3.onap.org:10001/onap/aai-resources:1.2.2 sha256:77862ca4990ad3cd23dd13a2e0c97c19ebaec94d214c879f947ca616c58ea856 -nexus3.onap.org:10001/onap/aai-traversal:1.2.2 sha256:833417d5c36d6e2e817ffbe0681c871221497f3d583c1babe13a398beab2d935 -nexus3.onap.org:10001/onap/admportal-sdnc-image:1.3.4 sha256:ff228629acf80ea85b8cd7ae35f63a0c22ae0148fc246d8ac2e91c675db1301a -nexus3.onap.org:10001/onap/appc-cdt-image:1.3.0 sha256:b4cd07d7fafee46e9d3cca646b68db6a36068ef076cf42bdb4b03ad48b138efe -nexus3.onap.org:10001/onap/appc-image:1.3.0 sha256:223be77026d33be85c08347e56d1f06d28caee55ab7cd6bf6350f0968825ec67 -nexus3.onap.org:10001/onap/babel:1.2.0 sha256:e192ad841ae1ea52847609728dc2965d058500fbb9818438b29f9f4b7ef1629e -nexus3.onap.org:10001/onap/ccsdk-dgbuilder-image:0.2.4 sha256:58870eb3d014d6f7564eef755020f9d56096b320895d87078003d114ea9fafb8 -nexus3.onap.org:10001/onap/champ:1.2.3 sha256:2a4a7d907b13bfc8255e3b41931ae56f7ad6d7fdf5162502eda7509c1c006e04 -nexus3.onap.org:10001/onap/clamp:2.0.2 sha256:93e630f365251f58c47b17d8e3cce4cb258f591555ed6167d804b652ecf2ea97 -nexus3.onap.org:10001/onap/cli:2.0.2 sha256:909414d454c980f49fc85a7514641843b399894bdfa2c9bd52cc6599e096178f -nexus3.onap.org:10001/onap/data-router:1.2.2 sha256:705d4b7154d12a1b58f716df5066b79de8f683166ba4864d033ff21150dbde45 -nexus3.onap.org:10001/onap/dmaap/buscontroller:1.0.12 sha256:a328a7266ce91e708a3a560fc5ea72bb05b04ecdcd4c2a51531b3beb922dd0bb -nexus3.onap.org:10001/onap/dmaap/dmaap-mr:1.1.4 sha256:3e4742c216e2eb01e38e69b6004f816b70aedce8ac158dd4142dfc3f1a3af32f -nexus3.onap.org:10001/onap/externalapi/nbi:2.0.0 sha256:5c26b496c5f065983d0c45cac6c5c9a1dcfa99bdef6bd684503cfe6012020d18 -nexus3.onap.org:10001/onap/gizmo:1.2.1 sha256:6b43525d7bbe32dea1828e569cdfcb7ce7906327e21fce9b05a660e7852d1594 -nexus3.onap.org:10001/onap/holmes/engine-management:1.1.0 sha256:682c25892123354f14bb0f186c5e299dd65a7ee96371b55b22e3a38a8cb69a9d -nexus3.onap.org:10001/onap/holmes/rule-management:1.1.0 sha256:d6bb419e5776eeb49533086fc07263d29dcf7b0256431d62ade4d6589f06a3e9 -nexus3.onap.org:10001/onap/model-loader:1.2.1 sha256:de4e31d2a08ad9e866eb6ecf69bafd2c62731ec1492f31fabb236d7e949c6bdd -nexus3.onap.org:10001/onap/msb/msb_apigateway:1.1.0 sha256:6824efc472d6692580c4d22bdbb8b0bd5f754ac5df5f335c2a7ac362b3a07149 -nexus3.onap.org:10001/onap/msb/msb_discovery:1.1.0 sha256:8c10bb41893a341a0e8de027ac8dfd545fda933472694839ef1f9f00e26b5e76 -nexus3.onap.org:10001/onap/multicloud/framework:1.1.2 sha256:2d83a087b6bf1449734902bfc6a78faf976f7dc53496fadbca2271867099d700 -nexus3.onap.org:10001/onap/multicloud/openstack-ocata:1.1.2 sha256:85db27a00e50c24ca628a0e03db3c5ce0bc210e3c3188b93c2aff52c0b877cf9 -nexus3.onap.org:10001/onap/multicloud/openstack-windriver:1.1.2 sha256:1280db28df815349d3f4a93c61cd9006304015d060237a5ce09fdb3569070170 -nexus3.onap.org:10001/onap/multicloud/vio:1.1.2 sha256:0ed8ba94d7cb17947715ae68e7b5bbc8bef10f3e9b20949f5ed0d44027ee5cb8 -nexus3.onap.org:10001/onap/music/cassandra_music:3.0.0 sha256:d751a70eef7a5da84ebc2f53608ff7fab77ab06d9202d10b9722ff7bd43c29fd -nexus3.onap.org:10001/onap/music/music:2.5.3 sha256:1a9aa6e464ced5ea3ac29a42daa2ca0de1f231893cd9a41ae324bb03077e18be -nexus3.onap.org:10001/onap/oom/kube2msb:1.1.0 sha256:d3d2138b2be4805441db127b5e56f130b98f0bcf30414f5b2711db60891393cf -nexus3.onap.org:10001/onap/optf-has:1.1.1 sha256:31d409997e260ad7ede1f5f8e5d93ac83d350ddffcb93732ffdb811252afcf39 -nexus3.onap.org:10001/onap/optf-osdf:1.1.1 sha256:62b972f8a65d7a27f4d02959e9ca89b34cc633db27586917d347286db317d8b4 -nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.2.0 sha256:353cfa62d1f332defddfc80cf51220b4f4f24ecf49196de23ee1a5c381309766 -nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.cm-container:1.3.0 sha256:85477a5586c9c5a80bad4b6c54a9bc2a12fc8e77ea916d126cff8a8b2e572951 -nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.healthcheck-container:1.1.0 sha256:2c7bb12ec857a9dc5221d4af8b3e6a95d20f9eaeca364b405e3b64913247c782 -nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.k8s-bootstrap-container:1.1.11 sha256:32ea5af5d88d3ee9d10c658ab52c1864df95d037899c789a2a37f7af202625c7 -nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.redis-cluster-container:1.0.0 sha256:6892b14d453378bd08dfd97ddd8ac3a2656c7b893334c61a7022d50212a6a237 -nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tca-cdap-container:1.1.0 sha256:dab8f29f8e9fef8b9732aac8e34f2f9f56c7a5660e18da69dcf6790e9a7249c0 -nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding:2.1.5 sha256:6b916f3882174246dcc40d4dfc2052e25858a1cf603d394645f094acbe1d3ed9 -nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.deployment-handler:2.1.5 sha256:a9d842f92887dd078d9fab3998e56cc16a45d558edbacd04bf065a5ab3daf574 -nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.inventory-api:3.0.1 sha256:b9916bc0c121a77f418210794b9eb5fca8dd308aebae6ed2562fe922e21df026 -nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.policy-handler:2.4.5 sha256:81f30de09a89b1ad871546ac5c3a69be78911b84b6b4488377d43c94faadd717 -nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.servicechange-handler:1.1.4 sha256:90efe166d560e9febd69056fcf46f464b7ec9c48b9b10bf2fc2c99a0fe6a4130 -nexus3.onap.org:10001/onap/policy-drools:1.2.3 sha256:cea4c0e74ef8210db0805b285063d027d85d4ec10ec1f3a34efd961493627b16 -nexus3.onap.org:10001/onap/policy-pe:1.2.3 sha256:e3143851ee081e81f5c81d0edd2ab6c8c60f3015e5eedefd6ad53701818bd628 -nexus3.onap.org:10001/onap/portal-app:2.2.0 sha256:bcab686bd8867701789818c2be5bd6b0b462492ac2efc7c79d170a7f33cfc092 -nexus3.onap.org:10001/onap/portal-db:2.2.0 sha256:ba1f57cd9d248fe26ae6c7394e9feb177a90a8521c30a048166035993ecf3e49 -nexus3.onap.org:10001/onap/portal-sdk:2.2.0 sha256:d437428753fcb4defec0ee9907cada9d2f6e20ebdb4820be22b12f78fb4fb4b1 -nexus3.onap.org:10001/onap/portal-wms:2.2.0 sha256:8d430124d74c1998d2913a7350636ede52cfc4601d4e80127e21c874bead8736 -nexus3.onap.org:10001/onap/sdc-backend:1.2.0 sha256:ff4c8575d7dbaa180e24bce925c826104fdf60d39632e46a893b0efd8c1f5bdb -nexus3.onap.org:10001/onap/sdc-backend-init:1.2.0 sha256:b3954d0ac2f5a9e71706ded7c4d4974f74310b4da0936bb0fd365f096bc5d992 -nexus3.onap.org:10001/onap/sdc-cassandra:1.2.0 sha256:85a251cf25d331fc6ddf0abad2216927f82b07b62af4b0632b46e454204164a6 -nexus3.onap.org:10001/onap/sdc-cassandra-init:1.2.0 sha256:97dde9a298a6199c4c7efdb955f82aa69ca86a537753ff03e75bfd50bfc6f295 -nexus3.onap.org:10001/onap/sdc-elasticsearch:1.2.0 sha256:bbecee04126c83b9e965bbdfbf71f5326f5ea0f3ef2e182990b7d95db54a0d43 -nexus3.onap.org:10001/onap/sdc-frontend:1.2.0 sha256:3fd59dbcca6052579b61642e04d95a5c4ff754bf57a95e7ba7361559bb17efc3 -nexus3.onap.org:10001/onap/sdc-init-elasticsearch:1.2.0 sha256:e9663c4fddd9e73807f5755d03bbf363b30a034229d30dfd2fe9fa5dc7453700 -nexus3.onap.org:10001/onap/sdc-kibana:1.2.0 sha256:d873dee432deeb0848c464f05ea9ed5ee3eb81f76cb1926b60f9adc3cf86c5f9 -nexus3.onap.org:10001/onap/sdc-onboard-backend:1.2.0 sha256:4eb152f7603897614f2ad3075b22a15a76f3e0a8aa58002894ac422fb3927661 -nexus3.onap.org:10001/onap/sdc-onboard-cassandra-init:1.2.0 sha256:16e44f36195f7d403d43b96e6d3056964f4224d22f5cb570d4f4c64d0eb1c128 -nexus3.onap.org:10001/onap/sdc/sdc-workflow-designer:1.1.0 sha256:e46a2d0d17817f3c4f0afee89d409a90336b95f67de533218d621e3d8434fc35 -nexus3.onap.org:10001/onap/sdnc-ansible-server-image:1.3.4 sha256:6b090b12dca0a7be021550357981d7af8c5c942a28acca627642b3cfed374e10 -nexus3.onap.org:10001/onap/sdnc-dmaap-listener-image:1.3.4 sha256:d8305841323414527d3c5db38a37a3f8cded387a34ce203c8b07f9284efefa3f -nexus3.onap.org:10001/onap/sdnc-image:1.3.4 sha256:420806af71966dd3fb6873126346ef90b7e3f5a7a559b23f89cf3e5934b9e00e -nexus3.onap.org:10001/onap/sdnc-ueb-listener-image:1.3.4 sha256:884793d6cbfd8bdeb9c2acca48b16a401c166c47f3401cd711dcc83f9870058f -nexus3.onap.org:10001/onap/search-data-service:1.2.1 sha256:22f3bd10d5687e57e8296e4babe0dfcb2c9fa0257c01a50bd7ca43140626dbe9 -nexus3.onap.org:10001/onap/sniroemulator:1.0.0 sha256:61a7740c19f7c468355d92ed86f3b018dc9a9ed391551e4cd4e01c8cec221d89 -nexus3.onap.org:10001/onap/sparky-be:1.2.1 sha256:648dbe32f574808f201e3fdeee6790e956e5f541538c0d27b1100861cd5b0147 -nexus3.onap.org:10001/onap/testsuite:1.2.1 sha256:368a421045c584280e4262aa36aef819ddb43003617361ddb68574139687dde2 -nexus3.onap.org:10001/onap/usecase-ui:1.1.1 sha256:30f8aacb43e2722116d0193d284170e70cf07cf8681732e36e6620b8c4befe1c -nexus3.onap.org:10001/onap/usecase-ui/usecase-ui-server:1.1.1 sha256:aa9f10d02a3566e8338ae5516bee2fdcee6e9d53e1d48d7d3745b21edf8cc6e4 -nexus3.onap.org:10001/onap/vfc/catalog:1.1.0 sha256:b6c8d6d642137071ec320793fda23a740b75dfc48fe5aca783e0b4b9dafa76b8 -nexus3.onap.org:10001/onap/vfc/emsdriver:1.1.0 sha256:d9a4a680bd00fc4a4fa4b918cf1d6e2301c4ac0c6738e66dd1c318c1b00e7959 -nexus3.onap.org:10001/onap/vfc/gvnfmdriver:1.1.0 sha256:ba1d2160b68d8156ece6ebb9b8d194e5911c527bc0bf52391e6c844acb2b743d -nexus3.onap.org:10001/onap/vfc/jujudriver:1.1.0 sha256:3f3e08e87c454c449941181704e8f69b301de499d40d2fc20f0a4e7233053f43 -nexus3.onap.org:10001/onap/vfc/multivimproxy:1.0.0 sha256:2db7529cf032699cb669ef078b78ee7ce696b25707c4658c37c1d8546f9daefc -nexus3.onap.org:10001/onap/vfc/nfvo/svnfm/huawei:1.1.0 sha256:03efd6a3f7e112b01d527a8b7f159384955a862451c5202406bab4a96c429b83 -nexus3.onap.org:10001/onap/vfc/nfvo/svnfm/nokia:1.1.0 sha256:4addb967a20cb6dc134635f54c281c7cfe4e8e563ae4d0d1ed4d0e03695aa74b -nexus3.onap.org:10001/onap/vfc/nfvo/svnfm/nokiav2:1.1.0 sha256:ce2e7d0f98c6e751223ae0388c330e688df7f32a164dae9616afb5c01c4a6223 -nexus3.onap.org:10001/onap/vfc/nslcm:1.1.0 sha256:d4e5f60a7fc54c791f3cc1af0dc6a34d46b231198068d560a6af9da41e07b914 -nexus3.onap.org:10001/onap/vfc/resmanagement:1.1.0 sha256:a7c79a967b5cde545111b002a51ca21da90797689d5afa16e433787854150d49 -nexus3.onap.org:10001/onap/vfc/vnflcm:1.1.0 sha256:72e156de58296e54a1d1e12511cb98b2565a9faaf20cc239dd5ecb264428f4e1 -nexus3.onap.org:10001/onap/vfc/vnfmgr:1.1.0 sha256:5e6dd4a94b188f0a42bf5ec1c2c412713e29b142524d034cf9c03cf11a00157f -nexus3.onap.org:10001/onap/vfc/vnfres:1.1.0 sha256:13759fa9c704068089d85f6fd5cdd671991a225322789852a02c9ad39f94d516 -nexus3.onap.org:10001/onap/vfc/wfengine-activiti:1.1.0 sha256:351a17e1bb02aa85d0a9bc3dd4a2f20759dbc6d502b3df2c17acd927951769db -nexus3.onap.org:10001/onap/vfc/wfengine-mgrservice:1.1.0 sha256:ebc4f01a88288946355ddca140ebebb641d8ad0d6bdafebdf75d79fce380c8c6 -nexus3.onap.org:10001/onap/vfc/ztesdncdriver:1.1.0 sha256:f762aa72cf62abe6e8cdfba4faba85edc44c1554139cd7c7d9b4d3e523abb842 -nexus3.onap.org:10001/onap/vfc/ztevnfmdriver:1.1.0 sha256:c96ef85687f37efaf4bd946d95559dc4b2b4bb767d1809406224e47dc270618c -nexus3.onap.org:10001/onap/vid:2.0.0 sha256:c0f83a983234f1c9bcaebd2a751a6ddcbdeba09f29eadb214951deddbe10b48c -nexus3.onap.org:10001/onap/vnfsdk/refrepo:1.1.1 sha256:c67068b359c8b902601aafcfebb7289228d7d4474aadeed0813736b93756c198 -nexus3.onap.org:10001/onap/vnfsdk/refrepo/postgres:1.1.1 sha256:310e7128f6ab832f997ad4545a4231bf1a8d5a1c6ae412944c2e4755c1907345 -nexus3.onap.org:10001/openecomp/mso:1.2.2 sha256:09f650b263ee1a734124f018a37413dfad9bb888d4ea30788b93cd538b82b5dd -nexus3.onap.org:10001/sonatype/nexus:2.14.8-01 sha256:e3f22eb9b5b5f1ad12757b023bacb2b6173d0b2632c6244e2fec552c5ca5c992 -nexus3.onap.org:10001/zookeeper:3.4 sha256:b400464e9dee71f9b4d77ff8a28c7a49814d0c8efabd882a13be68738588e66b -oomk8s/consul:1.0.0 sha256:a8f31e5cca3f51830bad5ccd56c1cd0226657e86ca376482f80f35c967c0e879 -oomk8s/mariadb-client-init:2.0.0 sha256:7aaefb61910ce7402e0ca60867beb3a0b87f676952f5265686b0bdd7711559be -oomk8s/readiness-check:1.0.0 sha256:ab8a4a13e39535d67f110a618312bb2971b9a291c99392ef91415743b6a25ecb -oomk8s/readiness-check:2.0.0 sha256:086ad03bf3f15432a9ee605344a4d120326919b160e188eaefb521eeafb7436e -oomk8s/ubuntu-init:1.0.0 sha256:3adf3d21ad3b402690f2dda268e97999fe1822d07b27e1bd2b8acc3d1a771d95 -postgres:9.5.2 sha256:0a0f98d52840566105c91bb220308fd69911743fd1d54b5d68c38a17c6e2cda2 -rancher/agent:v1.2.9 sha256:b5bcd6a00147ead428098494cdb8345f0efab7b02db1f130c9a2512e698e3111 -rancher/dns:v0.15.3 sha256:cf73aea2808dbe7d0ef82b2d31e9479c4084c02be9576a37a9fb91fc5d0480ca -rancher/etcd:v2.3.7-13 sha256:bbeb48def2abd30862101929074f9eb775a7f934d52a1941e3684b65ac907190 -rancher/etc-host-updater:v0.0.3 sha256:bc156a5ae480d6d6d536aa454a9cc2a88385988617a388808b271e06dc309ce8 -rancher/healthcheck:v0.3.3 sha256:bd165a1998b005c8d9e70bb86effecb79128b69ae768deb67c50c5fab184b28f -rancher/k8s:v1.8.10-rancher1-1 sha256:58138ca90435c7fbc1f96ed4fa8c374d2f1ae322d776ceb603caa4dabd53c31a -rancher/kubectld:v0.8.5 sha256:f6abdeefdebd23d4a75d1414d3bae58e69e9196ca4ae6d749cc98793014bbedb -rancher/kubernetes-agent:v0.6.6 sha256:9f9194978c6e538e9130118601481f4f9a1998767bf1da88b4dd06934f48c64a -rancher/kubernetes-auth:v0.0.8 sha256:d82b0fc1d0bdeeac156ae2e88b9557bfaaabacc5ffc00a4e8a569f6f505e6a65 -rancher/lb-service-haproxy:v0.7.15 sha256:217d513b3054236b9ce35d7417228cce8cb9520373a2d81988ed65f71f2a02be -rancher/lb-service-rancher:v0.7.17 sha256:00602a567f6027c886fe755baab3e1dcf2e71e75d8d5b12e4d16cc88fa81a366 -rancher/metadata:v0.9.5 sha256:32a783e93288c2887533bd6572b77a8d9262609e8883d7ba967fef9a511ee384 -rancher/net:holder sha256:f04d6e8d4c7059fea8a3f488d096db159bffe0c81d6d5d9506f1fc8218c24207 -rancher/net:v0.13.7 sha256:e98d1b11599cb26380be5429dd5f37cedc0b3563e6f4c27d87e7be295f01ca6e -rancher/network-manager:v0.7.19 sha256:2a02a221ff8fa6d937f21f9ec29fd8f4f5e3764302d0b100512cc740e73af5de -rancher/server:v1.6.14 sha256:d22b51c33a8500829c43a9c421d4ed5af9e14e633fe643fca9fd990dfd1e6cf3 -registry.hub.docker.com/library/busybox:latest sha256:cb2a60d87291fdbe571dd7cee1164271e405989a689c7273de107e5ff23708cc -registry.hub.docker.com/library/consul:0.9.3 sha256:2167fb94a6f73b9d2c67e6a01a4ecc97eb0c145f0bda15d7757506a9e7c83fb9 -registry.hub.docker.com/library/mongo:3 sha256:e20e5609a54e84d70d2dd22c0e310076913fdf1c9cb99daa66b245f1682d80c1 -registry.hub.docker.com/library/mysql:5.7 sha256:49f6cb7658627d9e8cd3ef2952579e230be85e05b4b7911119a4d8eb5eb7a2d8 -registry.hub.docker.com/oomk8s/ubuntu-init:2.0.0 sha256:bde840645eb1ae3d4397939ae916963bec0193e3be641f4579595fd24745868e -taskrabbit/elasticsearch-dump:latest sha256:93f16d8ef89ab05d928700432b0273138fabf365bb4a1e46ba0a493598a66d9f -wurstmeister/kafka:1.1.0 sha256:5778f4c22f2f3facc273afcf0599d3d6c6f6daa546039f669c275d9d0aa6a261 -wurstmeister/zookeeper:latest sha256:1c11ca7e20385bf42e3aa58e7d1eb81a273a3ec650847ede225631e7d80e03e3 diff --git a/build/data_list/docker_manual_image_list.txt b/build/data_list/docker_manual_image_list.txt deleted file mode 100644 index c4873487..00000000 --- a/build/data_list/docker_manual_image_list.txt +++ /dev/null @@ -1 +0,0 @@ -sonatype/nexus3 diff --git a/build/data_list/git_manual_list b/build/data_list/git_manual_list deleted file mode 100644 index 43273678..00000000 --- a/build/data_list/git_manual_list +++ /dev/null @@ -1,6 +0,0 @@ -git clone https://github.com/rancher/community-catalog.git --bare github.com/rancher/community-catalog.git -git clone https://git.rancher.io/rancher-catalog.git --bare git.rancher.io/rancher-catalog.git -# oom/kubernetes/robot/resources/config/eteshare/config/vm_properties.py -git clone -b 2.0.0-ONAP --single-branch http://gerrit.onap.org/r/testsuite/properties.git --bare gerrit.onap.org/r/testsuite/properties.git -# oom/kubernetes/portal/docker/init/mariadb-client/Dockerfile -git clone -b 2.0.0-ONAP --single-branch http://gerrit.onap.org/r/portal.git --bare gerrit.onap.org/r/portal.git diff --git a/build/data_list/git_repos_list b/build/data_list/git_repos_list deleted file mode 100644 index fbfeaaf5..00000000 --- a/build/data_list/git_repos_list +++ /dev/null @@ -1,4 +0,0 @@ -git clone -b 2.0.0-ONAP --single-branch http://gerrit.onap.org/r/aaf/authz.git --bare gerrit.onap.org/r/aaf/authz.git -git clone -b 2.0.0-ONAP --single-branch http://gerrit.onap.org/r/demo.git --bare gerrit.onap.org/r/demo.git -git clone -b 2.0.0-ONAP --single-branch http://gerrit.onap.org/r/dmaap/messagerouter/messageservice.git --bare gerrit.onap.org/r/dmaap/messagerouter/messageservice.git -git clone -b 2.0.0-ONAP --single-branch http://gerrit.onap.org/r/so/docker-config.git --bare gerrit.onap.org/r/so/docker-config.git diff --git a/build/data_list/pip_list.txt b/build/data_list/pip_list.txt deleted file mode 100644 index a4b09092..00000000 --- a/build/data_list/pip_list.txt +++ /dev/null @@ -1,14 +0,0 @@ -backports.functools_lru_cache -certifi -chardet -cheroot -CherryPy -idna -more_itertools -portend -PyMySQL -pytz -requests -six -tempora -urllib3 diff --git a/build/data_list/pkg_list.txt b/build/data_lists/deb_packages.list index 43f5aac5..67ce4f9c 100644 --- a/build/data_list/pkg_list.txt +++ b/build/data_lists/deb_packages.list @@ -11,3 +11,12 @@ archive.ubuntu.com/ubuntu/pool/main/p/paramiko/python-paramiko_1.16.0-1ubuntu0.1 ftp.ubuntu.com/ubuntu/pool/universe/libs/libselinux/python-selinux_2.2.2-1_amd64.deb archive.ubuntu.com/ubuntu/pool/main/s/six/python-six_1.10.0-3_all.deb archive.ubuntu.com/ubuntu/pool/main/p/pyyaml/python-yaml_3.11-3build1_amd64.deb +security.ubuntu.com/ubuntu/pool/main/a/apt/apt-utils_1.2.29ubuntu0.1_amd64.deb +security.ubuntu.com/ubuntu/pool/main/c/cron/cron_3.0pl1-128ubuntu2_amd64.deb +archive.ubuntu.com/ubuntu/pool/main/g/gobject-introspection/libgirepository-1.0-1_1.46.0-3ubuntu1_amd64.deb +archive.ubuntu.com/ubuntu/pool/main/d/dbus-glib/libdbus-glib-1-2_0.106-1_amd64.deb +security.ubuntu.com/ubuntu/pool/main/a/apt/libapt-inst2.0_1.2.29ubuntu0.1_amd64.deb +archive.ubuntu.com/ubuntu/pool/main/i/iso-codes/iso-codes_3.65-1_all.deb +security.ubuntu.com/ubuntu/pool/main/d/dh-python/dh-python_2.20151103ubuntu1_all.deb +security.ubuntu.com/ubuntu/pool/main/d/distro-info-data/distro-info-data_0.28ubuntu0.9_all.deb +archive.ubuntu.com/ubuntu/pool/main/g/gobject-introspection/gir1.2-glib-2.0_1.46.0-3ubuntu1_amd64.deb
\ No newline at end of file diff --git a/build/data_list/http_manual_list.txt b/build/data_lists/http_files.list index c7486b7f..c7486b7f 100644 --- a/build/data_list/http_manual_list.txt +++ b/build/data_lists/http_files.list diff --git a/build/data_lists/onap_3.0.0-docker_images.list b/build/data_lists/onap_3.0.0-docker_images.list new file mode 100644 index 00000000..9a8a2300 --- /dev/null +++ b/build/data_lists/onap_3.0.0-docker_images.list @@ -0,0 +1,218 @@ +aaionap/haproxy:1.2.4 +alpine:3.6 +busybox:latest +cassandra:2.1 +consol/centos-icewm-vnc:latest +consul:1.0.6 +crunchydata/crunchy-pgpool:centos7-10.4-2.0.0 +crunchydata/crunchy-postgres:centos7-10.3-1.8.2 +crunchydata/crunchy-postgres:centos7-10.4-2.0.0 +docker.elastic.co/beats/filebeat:5.5.0 +docker.elastic.co/elasticsearch/elasticsearch-oss:6.1.3 +docker.elastic.co/elasticsearch/elasticsearch:5.5.0 +docker.elastic.co/elasticsearch/elasticsearch:6.1.2 +docker.elastic.co/elasticsearch/elasticsearch:6.3.1 +docker.elastic.co/kibana/kibana:5.5.0 +docker.elastic.co/kibana/kibana:6.3.1 +docker.elastic.co/logstash/logstash:5.4.3 +gcr.io/google-samples/xtrabackup:1.0 +gcr.io/google_samples/k8szk:v3 +gcr.io/kubernetes-helm/tiller:v2.9.1 +mariadb:10 +nexus3.onap.org:10001/adfinissygroup/k8s-mariadb-galera-centos:v002 +nexus3.onap.org:10001/busybox:latest +nexus3.onap.org:10001/library/consul:1.0.6 +nexus3.onap.org:10001/library/tomcat:8.5 +nexus3.onap.org:10001/library/vault:0.10.0 +nexus3.onap.org:10001/mariadb:10.1.11 +nexus3.onap.org:10001/mariadb:10.2.14 +nexus3.onap.org:10001/onap/aaf/aaf_cass:2.1.8 +nexus3.onap.org:10001/onap/aaf/aaf_cm:2.1.8 +nexus3.onap.org:10001/onap/aaf/aaf_config:2.1.8 +nexus3.onap.org:10001/onap/aaf/aaf_fs:2.1.8 +nexus3.onap.org:10001/onap/aaf/aaf_gui:2.1.8 +nexus3.onap.org:10001/onap/aaf/aaf_hello:2.1.8 +nexus3.onap.org:10001/onap/aaf/aaf_locate:2.1.8 +nexus3.onap.org:10001/onap/aaf/aaf_oauth:2.1.8 +nexus3.onap.org:10001/onap/aaf/aaf_service:2.1.8 +nexus3.onap.org:10001/onap/aaf/distcenter:3.0.0 +nexus3.onap.org:10001/onap/aaf/sms:3.0.1 +nexus3.onap.org:10001/onap/aaf/smsquorumclient:3.0.1 +nexus3.onap.org:10001/onap/aaf/testcaservice:3.0.0 +nexus3.onap.org:10001/onap/aai-graphadmin:1.0.1 +nexus3.onap.org:10001/onap/aai-resources:1.3.4 +nexus3.onap.org:10001/onap/aai-traversal:1.3.3 +nexus3.onap.org:10001/onap/aai/esr-gui:1.2.1 +nexus3.onap.org:10001/onap/aai/esr-server:1.2.1 +nexus3.onap.org:10001/onap/admportal-sdnc-image:1.4.3 +nexus3.onap.org:10001/onap/appc-cdt-image:1.4.3 +nexus3.onap.org:10001/onap/appc-image:1.4.3 +nexus3.onap.org:10001/onap/babel:1.3.2 +nexus3.onap.org:10001/onap/ccsdk-ansible-server-image:0.3.2 +nexus3.onap.org:10001/onap/ccsdk-apps-ms-neng:0.3.2 +nexus3.onap.org:10001/onap/ccsdk-controllerblueprints:0.3.2 +nexus3.onap.org:10001/onap/ccsdk-dgbuilder-image:0.3.2 +nexus3.onap.org:10001/onap/champ:1.3.0 +nexus3.onap.org:10001/onap/clamp-dashboard-kibana:3.0.3 +nexus3.onap.org:10001/onap/clamp-dashboard-logstash:3.0.3 +nexus3.onap.org:10001/onap/clamp:3.0.3 +nexus3.onap.org:10001/onap/cli:2.0.4 +nexus3.onap.org:10001/onap/data-router:1.3.1 +nexus3.onap.org:10001/onap/dcae-be:1.3.0 +nexus3.onap.org:10001/onap/dcae-dt:1.2.0 +nexus3.onap.org:10001/onap/dcae-fe:1.3.0 +nexus3.onap.org:10001/onap/dcae-tools:1.3.0 +nexus3.onap.org:10001/onap/dcae-tosca-app:1.3.0 +nexus3.onap.org:10001/onap/dmaap/buscontroller:1.0.23 +nexus3.onap.org:10001/onap/dmaap/datarouter-node:1.0.3 +nexus3.onap.org:10001/onap/dmaap/datarouter-prov:1.0.3 +nexus3.onap.org:10001/onap/dmaap/dmaap-mr:1.1.8 +nexus3.onap.org:10001/onap/dmaap/kafka01101:0.0.1 +nexus3.onap.org:10001/onap/externalapi/nbi:3.0.1 +nexus3.onap.org:10001/onap/gizmo:1.3.0 +nexus3.onap.org:10001/onap/holmes/engine-management:1.2.2 +nexus3.onap.org:10001/onap/holmes/rule-management:1.2.3 +nexus3.onap.org:10001/onap/model-loader:1.3.1 +nexus3.onap.org:10001/onap/msb/msb_apigateway:1.2.1 +nexus3.onap.org:10001/onap/msb/msb_discovery:1.2.1 +nexus3.onap.org:10001/onap/multicloud/azure:1.2.1 +nexus3.onap.org:10001/onap/multicloud/framework:1.2.1 +nexus3.onap.org:10001/onap/multicloud/openstack-ocata:1.2.1 +nexus3.onap.org:10001/onap/multicloud/openstack-pike:1.2.1 +nexus3.onap.org:10001/onap/multicloud/openstack-windriver:1.2.1 +nexus3.onap.org:10001/onap/multicloud/vio:1.2.1 +nexus3.onap.org:10001/onap/music/cassandra_3_11:3.0.24 +nexus3.onap.org:10001/onap/music/cassandra_job:3.0.24 +nexus3.onap.org:10001/onap/music/cassandra_music:3.0.0 +nexus3.onap.org:10001/onap/music/music:3.0.24 +nexus3.onap.org:10001/onap/network-discovery:1.4.2 +nexus3.onap.org:10001/onap/oom/kube2msb:1.1.0 +nexus3.onap.org:10001/onap/optf-cmso-dbinit:1.0.1 +nexus3.onap.org:10001/onap/optf-cmso-service:1.0.1 +nexus3.onap.org:10001/onap/optf-has:1.2.4 +nexus3.onap.org:10001/onap/optf-osdf:1.2.4 +nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:1.0.4 +nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.0.0 +nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.snmptrap:1.4.0 +nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.3.1 +nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.cm-container:1.4.2 +nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.healthcheck-container:1.1.2 +nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.k8s-bootstrap-container:1.4.5 +nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.redis-cluster-container:1.0.0 +nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tca-cdap-container:1.1.0 +nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:2.2.3 +nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.deployment-handler:3.0.3 +nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.inventory-api:3.0.4 +nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.policy-handler:4.4.0 +nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.servicechange-handler:1.1.5 +nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.prh.prh-app-server:1.1.1 +nexus3.onap.org:10001/onap/policy-apex-pdp:2.0.3 +nexus3.onap.org:10001/onap/policy-distribution:2.0.3 +nexus3.onap.org:10001/onap/policy-drools:1.3.4 +nexus3.onap.org:10001/onap/policy-pe:1.3.4 +nexus3.onap.org:10001/onap/pomba-aai-context-builder:1.3.2 +nexus3.onap.org:10001/onap/pomba-context-aggregator:1.3.4 +nexus3.onap.org:10001/onap/pomba-network-discovery-context-builder:1.3.1 +nexus3.onap.org:10001/onap/pomba-sdc-context-builder:1.3.2 +nexus3.onap.org:10001/onap/portal-app:2.3.1 +nexus3.onap.org:10001/onap/portal-db:2.3.1 +nexus3.onap.org:10001/onap/portal-sdk:2.3.1 +nexus3.onap.org:10001/onap/portal-wms:2.3.1 +nexus3.onap.org:10001/onap/sdc-backend-init:1.3.5 +nexus3.onap.org:10001/onap/sdc-backend:1.3.5 +nexus3.onap.org:10001/onap/sdc-cassandra-init:1.3.5 +nexus3.onap.org:10001/onap/sdc-cassandra:1.3.5 +nexus3.onap.org:10001/onap/sdc-elasticsearch:1.3.5 +nexus3.onap.org:10001/onap/sdc-frontend:1.3.5 +nexus3.onap.org:10001/onap/sdc-init-elasticsearch:1.3.5 +nexus3.onap.org:10001/onap/sdc-kibana:1.3.5 +nexus3.onap.org:10001/onap/sdc-onboard-backend:1.3.5 +nexus3.onap.org:10001/onap/sdc-onboard-cassandra-init:1.3.5 +nexus3.onap.org:10001/onap/sdnc-ansible-server-image:1.4.3 +nexus3.onap.org:10001/onap/sdnc-dmaap-listener-image:1.4.3 +nexus3.onap.org:10001/onap/sdnc-image:1.4.3 +nexus3.onap.org:10001/onap/sdnc-ueb-listener-image:1.4.3 +nexus3.onap.org:10001/onap/search-data-service:1.3.1 +nexus3.onap.org:10001/onap/service-decomposition:1.4.2 +nexus3.onap.org:10001/onap/sniroemulator:1.0.0 +nexus3.onap.org:10001/onap/so/api-handler-infra:1.3.3 +nexus3.onap.org:10001/onap/so/bpmn-infra:1.3.3 +nexus3.onap.org:10001/onap/so/catalog-db-adapter:1.3.3 +nexus3.onap.org:10001/onap/so/openstack-adapter:1.3.3 +nexus3.onap.org:10001/onap/so/request-db-adapter:1.3.3 +nexus3.onap.org:10001/onap/so/sdc-controller:1.3.3 +nexus3.onap.org:10001/onap/so/sdnc-adapter:1.3.3 +nexus3.onap.org:10001/onap/so/so-monitoring:1.3.3 +nexus3.onap.org:10001/onap/so/vfc-adapter:1.3.3 +nexus3.onap.org:10001/onap/sparky-be:1.3.0 +nexus3.onap.org:10001/onap/spike:1.3.1 +nexus3.onap.org:10001/onap/testsuite:1.3.2 +nexus3.onap.org:10001/onap/usecase-ui-server:1.2.1 +nexus3.onap.org:10001/onap/usecase-ui:1.2.2 +nexus3.onap.org:10001/onap/validation:1.3.1 +nexus3.onap.org:10001/onap/vfc/catalog:1.2.1 +nexus3.onap.org:10001/onap/vfc/db:1.2.1 +nexus3.onap.org:10001/onap/vfc/emsdriver:1.2.1 +nexus3.onap.org:10001/onap/vfc/gvnfmdriver:1.2.1 +nexus3.onap.org:10001/onap/vfc/jujudriver:1.2.1 +nexus3.onap.org:10001/onap/vfc/multivimproxy:1.2.1 +nexus3.onap.org:10001/onap/vfc/nfvo/svnfm/huawei:1.2.1 +nexus3.onap.org:10001/onap/vfc/nfvo/svnfm/nokia:1.1.0 +nexus3.onap.org:10001/onap/vfc/nfvo/svnfm/nokiav2:1.3.0 +nexus3.onap.org:10001/onap/vfc/nslcm:1.2.1 +nexus3.onap.org:10001/onap/vfc/resmanagement:1.2.1 +nexus3.onap.org:10001/onap/vfc/vnflcm:1.2.1 +nexus3.onap.org:10001/onap/vfc/vnfmgr:1.2.1 +nexus3.onap.org:10001/onap/vfc/vnfres:1.2.1 +nexus3.onap.org:10001/onap/vfc/wfengine-activiti:1.2.0 +nexus3.onap.org:10001/onap/vfc/wfengine-mgrservice:1.2.0 +nexus3.onap.org:10001/onap/vfc/ztesdncdriver:1.2.0 +nexus3.onap.org:10001/onap/vfc/ztevnfmdriver:1.2.1 +nexus3.onap.org:10001/onap/vid:3.2.2 +nexus3.onap.org:10001/onap/vnfsdk/refrepo:1.2.0 +nexus3.onap.org:10001/onap/workflow-backend:1.3.2 +nexus3.onap.org:10001/onap/workflow-frontend:1.3.2 +nexus3.onap.org:10001/onap/workflow-init:1.3.2 +nexus3.onap.org:10001/sonatype/nexus:2.14.8-01 +nexus3.onap.org:10001/zookeeper:3.4 +nginx:1.13-alpine +ninech/netbox:v2.3.5 +oomk8s/consul:1.0.0 +oomk8s/mariadb-client-init:3.0.0 +oomk8s/readiness-check:2.0.0 +oomk8s/readiness-check:2.0.1 +oomk8s/ubuntu-init:1.0.0 +postgres:10.2-alpine +postgres:9.5.2 +rancher/agent:v1.2.11 +rancher/dns:v0.17.4 +rancher/etc-host-updater:v0.0.3 +rancher/etcd:v2.3.7-17 +rancher/healthcheck:v0.3.8 +rancher/heapster-amd64:v1.5.2 +rancher/heapster-grafana-amd64:v4.4.3 +rancher/heapster-influxdb-amd64:v1.3.3 +rancher/k8s-dns-dnsmasq-nanny-amd64:1.14.10 +rancher/k8s-dns-kube-dns-amd64:1.14.10 +rancher/k8s-dns-sidecar-amd64:1.14.10 +rancher/k8s:v1.11.5-rancher1-1 +rancher/kubectld:v0.8.8 +rancher/kubernetes-agent:v0.6.9 +rancher/kubernetes-auth:v0.0.8 +rancher/kubernetes-dashboard-amd64:v1.8.3 +rancher/lb-service-haproxy:v0.9.6 +rancher/lb-service-rancher:v0.9.6 +rancher/metadata:v0.10.4 +rancher/net:holder +rancher/net:v0.13.17 +rancher/network-manager:v0.7.22 +rancher/pause-amd64:3.0 +rancher/server:v1.6.22 +rancher/tiller:v2.9.1 +registry.hub.docker.com/library/busybox:latest +registry.hub.docker.com/library/consul:0.9.3 +registry.hub.docker.com/library/mongo:3 +registry.hub.docker.com/library/mysql:5.7 +registry.hub.docker.com/oomk8s/ubuntu-init:2.0.0 +taskrabbit/elasticsearch-dump:latest +wurstmeister/zookeeper:latest diff --git a/build/data_lists/onap_3.0.0-git_repos.list b/build/data_lists/onap_3.0.0-git_repos.list new file mode 100644 index 00000000..a1006b86 --- /dev/null +++ b/build/data_lists/onap_3.0.0-git_repos.list @@ -0,0 +1,9 @@ +#repo branch +gerrit.onap.org/r/aaf/authz.git 3.0.0-ONAP +gerrit.onap.org/r/demo.git 3.0.0-ONAP +gerrit.onap.org/r/dmaap/messagerouter/messageservice.git 3.0.0-ONAP +gerrit.onap.org/r/so/docker-config.git 3.0.0-ONAP +github.com/rancher/community-catalog.git +git.rancher.io/rancher-catalog.git +gerrit.onap.org/r/testsuite/properties.git 3.0.0-ONAP +gerrit.onap.org/r/portal.git 3.0.0-ONAP
\ No newline at end of file diff --git a/build/data_list/npm_list.txt b/build/data_lists/onap_3.0.0-npm.list index 84528569..14c68612 100644 --- a/build/data_list/npm_list.txt +++ b/build/data_lists/onap_3.0.0-npm.list @@ -7,7 +7,6 @@ accepts@1.3.5 active-x-obfuscator@0.0.1 addressparser@0.3.2 adm-zip@0.4.7 -align-text@0.1.4 amdefine@1.0.1 ansi-color@0.2.1 ansi-regex@2.1.1 @@ -15,28 +14,36 @@ ansi-styles@2.2.1 anymatch@1.3.2 any-promise@1.3.0 append-field@0.1.0 +append-field@1.0.0 argparse@0.1.16 argparse@1.0.10 array-find-index@1.0.2 array-flatten@1.1.1 array-unique@0.2.1 +array-unique@0.3.2 arr-diff@2.0.0 +arr-diff@4.0.0 arr-flatten@1.1.0 +arr-union@3.1.0 asn1@0.1.11 -asn1@0.2.3 +asn1@0.2.4 assert-plus@0.1.5 assert-plus@0.2.0 assert-plus@1.0.0 +assign-symbols@1.0.0 async@0.1.22 async@0.2.10 +async@0.9.2 async@1.5.2 async@2.6.1 async-each@1.0.1 asynckit@0.4.0 -aws4@1.7.0 +atob@2.1.2 +aws4@1.8.0 aws-sign2@0.5.0 aws-sign2@0.6.0 balanced-match@1.0.0 +base@0.11.2 base64id@0.1.0 base64-url@1.2.1 basic-auth@1.0.0 @@ -44,10 +51,10 @@ basic-auth@1.0.4 basic-auth-connect@1.0.0 batch@0.5.1 batch@0.5.3 -bcrypt-pbkdf@1.0.1 +bcrypt-pbkdf@1.0.2 bignumber.js@2.0.7 -bignumber.js@4.0.4 -binary-extensions@1.11.0 +bignumber.js@4.1.0 +binary-extensions@1.12.0 bl@0.9.5 body-parser@1.13.3 body-parser@1.18.2 @@ -55,12 +62,13 @@ body-parser@1.18.3 body-parser@1.8.4 boom@0.4.2 boom@2.10.1 -bootstrap@3.3.7 +bootstrap@3.4.0 bootstrap-submenu@2.0.4 -bootstrap-table@1.12.1 +bootstrap-table@1.13.1 brace-expansion@1.1.11 braces@1.8.5 -buffer-from@1.1.0 +braces@2.3.2 +buffer-from@1.1.1 buildmail@1.3.0 builtin-modules@1.1.1 busboy@0.2.14 @@ -68,33 +76,34 @@ bytes@1.0.0 bytes@2.1.0 bytes@2.4.0 bytes@3.0.0 -camelcase@1.2.1 +cache-base@1.0.1 camelcase@2.1.1 camelcase-keys@2.1.0 -capture-stack-trace@1.0.0 +capture-stack-trace@1.0.1 caseless@0.11.0 caseless@0.6.0 -center-align@0.1.3 chalk@1.1.3 cheerio@0.17.0 chokidar@1.7.0 +class-utils@0.3.6 cli@0.6.6 -cliui@2.1.0 clone@0.1.18 coffee-script@1.3.3 coffee-script@1.8.0 +collection-visit@1.0.0 colors@0.6.2 -colors@1.2.5 +colors@1.3.2 combined-stream@0.0.7 -combined-stream@1.0.6 +combined-stream@1.0.7 commander@0.6.1 commander@1.3.2 commander@2.0.0 commander@2.1.0 -commander@2.15.1 +commander@2.17.1 +commander@2.19.0 component-emitter@1.1.2 -compressible@2.0.13 -compressible@2.0.14 +component-emitter@1.2.1 +compressible@2.0.15 compression@1.1.2 compression@1.5.2 concat-map@0.0.1 @@ -114,6 +123,7 @@ cookiejar@1.3.2 cookie-parser@1.3.5 cookie-signature@1.0.5 cookie-signature@1.0.6 +copy-descriptor@0.1.1 core-util-is@1.0.2 cors@2.4.2 crc@3.0.0 @@ -146,10 +156,14 @@ debug@2.0.0 debug@2.2.0 debug@2.6.9 decamelize@1.2.0 +decode-uri-component@0.2.0 deep-equal@1.0.1 -deep-extend@0.5.1 +deep-extend@0.6.0 deep-is@0.1.3 deffy@2.2.2 +define-property@0.2.5 +define-property@1.0.0 +define-property@2.0.2 delayed-stream@0.0.5 delayed-stream@1.0.0 depd@0.4.5 @@ -163,6 +177,7 @@ dicer@0.2.5 diff@1.0.7 dns-sync@0.1.3 domelementtype@1.1.3 +domelementtype@1.3.1 domhandler@2.2.1 domhandler@2.3.0 dom-serializer@0.0.1 @@ -171,15 +186,15 @@ domutils@1.5.1 duplexer@0.1.1 duplexer2@0.0.2 duplexer2@0.1.4 -ecc-jsbn@0.1.1 +ecc-jsbn@0.1.2 ee-first@1.0.5 ee-first@1.1.1 ejs@0.8.8 encodeurl@1.0.2 entities@1.0.0 -entities@1.1.1 +entities@1.1.2 err@1.1.1 -error-ex@1.3.1 +error-ex@1.3.2 errorhandler@1.2.4 errorhandler@1.4.3 es6-promise@4.0.5 @@ -191,7 +206,7 @@ escodegen@1.7.1 esprima@1.0.4 esprima@1.2.5 esprima@2.5.0 -esprima@4.0.0 +esprima@4.0.1 estraverse@1.8.0 estraverse@1.9.3 esutils@2.0.2 @@ -204,6 +219,7 @@ eventemitter2@0.4.14 exec-limiter@3.2.11 exit@0.1.2 expand-brackets@0.1.5 +expand-brackets@2.1.4 expand-range@1.8.2 express@3.17.2 express@4.16.3 @@ -212,8 +228,11 @@ express-session@1.11.3 express-session@1.15.6 express-session@1.8.2 extend@1.2.1 -extend@3.0.1 +extend@3.0.2 +extend-shallow@2.0.1 +extend-shallow@3.0.2 extglob@0.3.2 +extglob@2.0.4 extract-zip@1.5.0 extsprintf@1.3.0 fast-levenshtein@1.0.7 @@ -222,6 +241,7 @@ filename-regex@2.0.1 fileset@0.1.8 fileset@0.2.1 fill-range@2.2.4 +fill-range@4.0.0 finalhandler@0.2.0 finalhandler@0.4.0 finalhandler@1.1.1 @@ -234,10 +254,12 @@ forever-agent@0.6.1 for-in@1.0.2 formatio@1.0.2 form-data@0.1.2 +form-data@0.1.4 form-data@2.1.4 formidable@1.0.14 for-own@0.1.5 forwarded@0.1.2 +fragment-cache@0.2.1 fresh@0.2.4 fresh@0.3.0 fresh@0.5.2 @@ -246,12 +268,13 @@ fs-extra@0.6.4 fs-extra@1.0.0 fs.extra@1.3.2 fs.realpath@1.0.0 -function.name@1.0.10 -generate-function@2.0.0 +function.name@1.0.11 +generate-function@2.3.1 generate-object-property@1.2.0 getobject@0.1.0 getpass@0.1.7 get-stdin@4.0.1 +get-value@2.0.6 git-package-json@1.4.8 git-source@1.1.8 git-up@1.2.1 @@ -260,7 +283,7 @@ glob@3.1.21 glob@3.2.11 glob@3.2.3 glob@5.0.15 -glob@7.1.2 +glob@7.1.3 glob-base@0.3.0 glob-parent@2.0.0 got@5.7.1 @@ -268,6 +291,7 @@ graceful-fs@1.2.3 graceful-fs@2.0.3 graceful-fs@3.0.11 graceful-fs@4.1.11 +graceful-fs@4.1.15 growl@1.8.1 grunt@0.4.5 grunt-cli@0.1.13 @@ -277,17 +301,21 @@ grunt-legacy-log-utils@0.1.1 grunt-legacy-util@0.2.0 grunt-simple-mocha@0.4.0 gry@5.0.7 -handlebars@4.0.11 +handlebars@4.0.12 har-validator@2.0.6 has-ansi@2.0.0 has-flag@1.0.0 hasha@2.2.0 +has-value@0.3.1 +has-value@1.0.0 +has-values@0.1.4 +has-values@1.0.0 hawk@1.1.1 hawk@3.1.3 hoek@0.9.1 hoek@2.16.3 hooker@0.2.3 -hosted-git-info@2.6.0 +hosted-git-info@2.7.1 htmlparser2@3.7.3 htmlparser2@3.8.3 http-errors@1.2.8 @@ -306,6 +334,7 @@ iconv-lite@0.4.11 iconv-lite@0.4.13 iconv-lite@0.4.19 iconv-lite@0.4.23 +iconv-lite@0.4.24 iconv-lite@0.4.4 imap@0.8.13 indent-string@2.1.0 @@ -315,26 +344,36 @@ inherits@2.0.3 ini@1.3.5 ipaddr.js@0.1.2 ipaddr.js@1.0.5 -ipaddr.js@1.6.0 +ipaddr.js@1.8.0 irc@0.3.7 +is-accessor-descriptor@0.1.6 +is-accessor-descriptor@1.0.0 isarray@0.0.1 isarray@1.0.0 is-arrayish@0.2.1 is-binary-path@1.0.1 is-buffer@1.1.6 is-builtin-module@1.0.0 +is-data-descriptor@0.1.4 +is-data-descriptor@1.0.0 +is-descriptor@0.1.6 +is-descriptor@1.0.2 is-dotfile@1.0.3 is-equal-shallow@0.1.3 isexe@2.0.0 is-extendable@0.1.1 +is-extendable@1.0.1 is-extglob@1.0.0 is-finite@1.0.2 is-glob@2.0.1 is-my-ip-valid@1.0.0 -is-my-json-valid@2.17.2 +is-my-json-valid@2.19.0 is-number@2.1.0 +is-number@3.0.0 is-number@4.0.0 isobject@2.1.0 +isobject@3.0.1 +is-plain-object@2.0.4 is-posix-bracket@0.1.1 is-primitive@2.0.0 is-property@1.0.2 @@ -346,6 +385,7 @@ is-stream@1.1.0 istanbul@0.3.22 is-typedarray@1.0.0 is-utf8@0.2.1 +is-windows@1.0.2 iterate-object@1.3.2 jade@0.26.3 jsbn@0.1.1 @@ -357,7 +397,7 @@ json-schema@0.2.3 json-stringify-safe@5.0.1 jsprim@1.4.1 js-yaml@2.0.5 -js-yaml@3.11.0 +js-yaml@3.12.0 karma@0.12.37 karma-chrome-launcher@0.1.12 karma-coverage@0.2.7 @@ -368,9 +408,10 @@ karma-spec-reporter@0.0.23 kew@0.7.0 keypress@0.1.0 kind-of@3.2.2 +kind-of@4.0.0 +kind-of@5.1.0 kind-of@6.0.2 klaw@1.3.1 -lazy-cache@1.0.4 levn@0.2.5 libbase64@0.1.0 libmime@0.1.7 @@ -384,14 +425,15 @@ lodash@1.3.1 lodash@2.4.2 lodash@3.10.1 lodash@3.7.0 -lodash@4.17.10 +lodash@4.17.11 log4js@0.6.38 -longest@1.0.1 loud-rejection@1.6.0 lowercase-keys@1.0.1 lru-cache@2.7.3 lru-cache@4.1.3 +map-cache@0.2.2 map-obj@1.0.1 +map-visit@1.0.0 math-random@1.0.1 media-typer@0.3.0 meow@3.7.0 @@ -404,17 +446,19 @@ methods@1.0.0 methods@1.1.0 methods@1.1.2 micromatch@2.3.11 +micromatch@3.1.10 mime@1.2.11 mime@1.2.5 mime@1.3.4 mime@1.4.1 mime@1.6.0 mime-db@1.12.0 -mime-db@1.33.0 -mime-db@1.34.0 +mime-db@1.36.0 +mime-db@1.37.0 mime-types@1.0.2 mime-types@2.0.14 -mime-types@2.1.18 +mime-types@2.1.20 +mime-types@2.1.21 minimatch@0.2.14 minimatch@0.3.0 minimatch@0.4.0 @@ -423,12 +467,13 @@ minimatch@2.0.10 minimatch@3.0.4 minimist@0.0.8 minimist@1.2.0 +mixin-deep@1.3.1 mkdirp@0.3.0 mkdirp@0.3.5 mkdirp@0.5.0 mkdirp@0.5.1 mocha@1.21.4 -moment@2.22.2 +moment@2.23.0 morgan@1.3.2 morgan@1.6.1 mqtt@0.3.13 @@ -437,15 +482,16 @@ ms@0.7.1 ms@0.7.2 ms@2.0.0 multer@1.1.0 -multer@1.3.0 +multer@1.4.1 multiparty@3.3.2 mustache@0.8.2 -mysql@2.15.0 +mysql@2.16.0 mysql@2.7.0 mz@1.3.0 nan@1.0.0 +nanomatch@1.2.13 native-or-bluebird@1.1.2 -natives@1.1.3 +natives@1.1.6 ncp@0.4.2 ncp@0.6.0 needle@0.9.2 @@ -472,7 +518,10 @@ oauth-sign@0.8.2 obj-def@1.0.6 object-assign@3.0.0 object-assign@4.1.1 +object-copy@0.1.0 object.omit@2.0.1 +object.pick@1.3.0 +object-visit@1.0.1 once@1.4.0 one-by-one@3.2.6 on-finished@2.1.0 @@ -490,6 +539,7 @@ parse-glob@3.0.4 parse-json@2.2.0 parse-url@1.3.11 parseurl@1.3.2 +pascalcase@0.1.1 path@0.12.7 path-exists@2.1.0 path-is-absolute@1.0.1 @@ -505,6 +555,7 @@ pinkie@2.0.4 pinkie-promise@2.0.1 pkginfo@0.3.1 policyfile@0.0.4 +posix-character-classes@0.1.1 prelude-ls@1.1.2 prepend-http@1.0.4 preserve@0.2.0 @@ -517,10 +568,11 @@ properties-reader@0.0.9 protocols@1.4.6 proxy-addr@1.0.1 proxy-addr@1.0.10 -proxy-addr@2.0.3 +proxy-addr@2.0.4 pseudomap@1.0.2 -psl@1.1.28 +psl@1.1.31 punycode@1.4.1 +punycode@2.1.1 q@1.5.1 qs@0.6.6 qs@1.2.2 @@ -530,7 +582,7 @@ qs@4.0.0 qs@6.3.2 qs@6.5.1 qs@6.5.2 -randomatic@3.0.0 +randomatic@3.1.0 random-bytes@1.0.0 range-parser@1.0.3 range-parser@1.2.0 @@ -538,26 +590,26 @@ raw-body@1.3.0 raw-body@2.1.7 raw-body@2.3.2 raw-body@2.3.3 -rc@1.2.7 +rc@1.2.8 readable-stream@1.0.27-1 readable-stream@1.0.34 readable-stream@1.1.14 readable-stream@2.0.6 -readable-stream@2.3.3 readable-stream@2.3.6 read-all-stream@3.1.0 -readdirp@2.1.0 +readdirp@2.2.1 read-pkg@1.1.0 read-pkg-up@1.0.1 redent@1.0.0 redis@0.7.3 reduce-component@1.0.1 regex-cache@0.4.4 +regex-not@1.0.2 registry-auth-token@3.3.2 registry.npmjs.org@1.0.1 registry-url@3.1.0 remove-trailing-separator@1.1.0 -repeat-element@1.1.2 +repeat-element@1.1.3 repeating@2.0.1 repeat-string@1.6.1 request@2.42.0 @@ -566,11 +618,13 @@ request-progress@2.0.1 require-all@1.0.0 resolve@0.3.1 resolve@1.1.7 +resolve-url@0.2.1 response-time@2.0.1 response-time@2.3.2 -right-align@0.1.3 +ret@0.1.15 rimraf@2.2.8 rimraf@2.6.2 +rimraf@2.6.3 r-json@1.2.8 rndm@1.1.1 rndm@1.2.0 @@ -578,11 +632,12 @@ r-package-json@1.0.7 safe-buffer@5.1.1 safe-buffer@5.1.2 safer-buffer@2.1.2 +safe-regex@1.1.0 samsam@1.1.3 sax@0.6.1 scmp@1.0.0 semver@4.3.6 -semver@5.5.0 +semver@5.6.0 send@0.13.2 send@0.16.2 send@0.9.2 @@ -595,9 +650,10 @@ serve-index@1.7.3 serve-static@1.10.3 serve-static@1.13.2 serve-static@1.6.5 -set-immediate-shim@1.0.1 setprototypeof@1.0.3 setprototypeof@1.1.0 +set-value@0.4.3 +set-value@2.0.0 shelljs@0.3.0 shelljs@0.5.3 should@4.0.4 @@ -606,6 +662,9 @@ signal-exit@3.0.2 sinon@1.10.3 sliced@1.0.1 smtp-connection@1.3.8 +snapdragon@0.8.2 +snapdragon-node@2.1.1 +snapdragon-util@3.0.1 sntp@0.2.4 sntp@1.0.9 socket.io@0.9.16 @@ -614,13 +673,20 @@ source-map@0.1.34 source-map@0.2.0 source-map@0.4.4 source-map@0.5.7 -spdx-correct@3.0.0 -spdx-exceptions@2.1.0 +source-map@0.6.1 +source-map-resolve@0.5.2 +source-map-url@0.4.0 +spdx-correct@3.0.2 +spdx-correct@3.1.0 +spdx-exceptions@2.2.0 spdx-expression-parse@3.0.0 -spdx-license-ids@3.0.0 +spdx-license-ids@3.0.1 +spdx-license-ids@3.0.3 +split-string@3.1.0 sprintf-js@1.0.3 -sqlstring@2.3.0 -sshpk@1.14.1 +sqlstring@2.3.1 +sshpk@1.15.1 +static-extend@0.1.2 statuses@1.2.1 statuses@1.4.0 statuses@1.5.0 @@ -628,9 +694,7 @@ stream-counter@0.2.0 streamsearch@0.1.2 stream-transform@0.1.2 string_decoder@0.10.31 -string_decoder@1.0.3 string_decoder@1.1.1 -stringstream@0.0.5 stringstream@0.0.6 strip-ansi@3.0.1 strip-bom@2.0.0 @@ -641,7 +705,8 @@ superagent@0.18.0 supertest@0.13.0 supports-color@2.0.0 supports-color@3.2.3 -swagger-ui-express@3.0.9 +swagger-ui-dist@3.19.3 +swagger-ui-express@4.0.1 thenify@3.3.0 thenify-all@1.6.0 throttleit@1.0.0 @@ -650,8 +715,11 @@ through@2.2.7 timed-out@3.1.3 tinycolor@0.0.1 tmp@0.0.28 +to-object-path@0.3.0 +to-regex@3.0.2 +to-regex-range@2.1.1 tough-cookie@2.3.4 -tough-cookie@2.4.2 +tough-cookie@2.5.0 trim-newlines@1.0.0 tsscmp@1.0.5 tunnel-agent@0.4.3 @@ -664,7 +732,7 @@ type-is@1.6.16 typpy@2.3.10 uglify-js@1.2.5 uglify-js@2.4.15 -uglify-js@2.8.29 +uglify-js@3.4.9 uglify-to-browserify@1.0.2 uid-safe@1.0.1 uid-safe@1.1.0 @@ -678,39 +746,42 @@ underscore@1.9.1 underscore.string@2.2.1 underscore.string@2.3.3 underscore.string@2.4.0 +union-value@1.0.0 unpipe@1.0.0 +unset-value@1.0.0 unzip-response@1.0.2 +urix@0.1.0 url-parse-lax@1.0.0 +use@3.1.1 useragent@2.3.0 utf7@1.0.0 util@0.10.4 +util@0.11.1 util-deprecate@1.0.2 utile@0.2.1 utils-merge@1.0.0 utils-merge@1.0.1 -uuid@3.2.1 -validate-npm-package-license@3.0.3 +uuid@3.3.2 +validate-npm-package-license@3.0.4 vary@1.0.1 vary@1.1.2 verror@1.10.0 vhost@3.0.2 -walk@2.3.13 +walk@2.3.14 when@3.4.6 which@1.0.9 which@1.2.14 -window-size@0.1.0 -wordwrap@0.0.2 wordwrap@0.0.3 wordwrap@1.0.0 wrappy@1.0.2 ws@0.4.32 xml2js@0.4.19 xml2js@0.4.4 +xmlbuilder@10.1.1 xmlbuilder@9.0.7 xmlhttprequest@1.4.2 xtend@4.0.1 yallist@2.1.2 yamljs@0.3.0 -yargs@3.10.0 yauzl@2.4.1 zeparser@0.0.5 diff --git a/build/data_lists/onap_3.0.0-pip_packages.list b/build/data_lists/onap_3.0.0-pip_packages.list new file mode 100644 index 00000000..f67c7640 --- /dev/null +++ b/build/data_lists/onap_3.0.0-pip_packages.list @@ -0,0 +1,18 @@ +CherryPy==17.4.1 +PyMySQL==0.9.3 +backports.functools_lru_cache==1.5 +certifi==2018.11.29 +chardet==3.0.4 +cheroot==6.5.4 +contextlib2==0.5.5 +idna==2.8 +jaraco.functools==2.0 +more_itertools==5.0.0 +portend==2.3 +pytz==2018.9 +requests==2.21.0 +setuptools==40.7.1 +six==1.12.0 +tempora==1.14 +urllib3==1.24.1 +zc.lockfile==1.4 diff --git a/build/download_offline_data_by_lists.sh b/build/download_offline_data_by_lists.sh index ff519212..00146ce5 100755 --- a/build/download_offline_data_by_lists.sh +++ b/build/download_offline_data_by_lists.sh @@ -22,27 +22,37 @@ # fail fast set -e +usage () { + echo "Usage:" + echo -e "./$(basename $0) <project version>\n" + echo "Example:" + echo " ./$(basename $0) onap_3.0.0" +} + # boilerplate RELATIVE_PATH=./ # relative path from this script to 'common-functions.sh' if [ "$IS_COMMON_FUNCTIONS_SOURCED" != YES ] ; then SCRIPT_DIR=$(dirname "${0}") LOCAL_PATH=$(readlink -f "$SCRIPT_DIR") . "${LOCAL_PATH}"/"${RELATIVE_PATH}"/common-functions.sh + +if [ "${1}" == "-h" ] || [ -z "${1}" ]; then + usage + exit 0 +else + TAG="${1}" fi CTOOLS="${LOCAL_PATH}/creating_data" -LISTS_DIR="${LOCAL_PATH}/data_list" -DATA_DIR="${LOCAL_PATH}/../resources" -TOTAL=12 +LISTS_DIR="${LOCAL_PATH}/data_lists" +DATA_DIR="${LOCAL_PATH}/../../resources" +TOTAL=10 CURR=1 message info "Downloading started: $(date)" echo "[Step $((CURR++))/$TOTAL Download collected docker images]" -$CTOOLS/download-docker-images.sh "$LISTS_DIR/docker_image_list.txt" - -echo "[Step $((CURR++))/$TOTAL Download manually collected docker images]" -$CTOOLS/download-docker-images.sh "$LISTS_DIR/docker_manual_image_list.txt" +$CTOOLS/download-docker-images.sh "$LISTS_DIR/${TAG}-docker_images.list" echo "[Step $((CURR++))/$TOTAL Build own nginx image]" $CTOOLS/create_nginx_image/01create-image.sh @@ -56,25 +66,22 @@ mv "$DATA_DIR/offline_data/docker_images_for_nexus/own_nginx_latest.tar" "$DATA_ mv "$DATA_DIR/offline_data/docker_images_for_nexus/sonatype_nexus3_latest.tar" "$DATA_DIR/offline_data/docker_images_infra" echo "[Step $((CURR++))/$TOTAL Download git repos]" -$CTOOLS/download-git-repos.sh "$LISTS_DIR" "$DATA_DIR/git-repo" +$CTOOLS/download-git-repos.sh "${TAG}" "$DATA_DIR/git-repo" echo "[Step $((CURR++))/$TOTAL Download http files]" -$CTOOLS/download-http-files.sh "$LISTS_DIR/http_manual_list.txt" "$DATA_DIR/http" +$CTOOLS/download-http-files.sh "$LISTS_DIR/http_files.list" "$DATA_DIR/http" echo "[Step $((CURR++))/$TOTAL Download npm pkgs]" -$CTOOLS/download-npm-pkgs.sh "$LISTS_DIR/npm_list.txt" "$DATA_DIR/offline_data/npm_tar" +$CTOOLS/download-npm-pkgs.sh "$LISTS_DIR/${TAG}-npm.list" "$DATA_DIR/offline_data/npm_tar" echo "[Step $((CURR++))/$TOTAL Download bin tools]" -$CTOOLS/download-bin-tools.sh "$DATA_DIR/downloads" +$CTOOLS/download-bin-tools.sh "${TAG}" "$DATA_DIR/downloads" echo "[Step $((CURR++))/$TOTAL Download rhel pkgs]" $CTOOLS/download-pkg.sh "$DATA_DIR/pkg/rhel" -echo "[Step $((CURR++))/$TOTAL Download oom]" -$CTOOLS/download-oom.sh "$DATA_DIR" "${LOCAL_PATH}/../patches/offline-changes.patch" - echo "[Step $((CURR++))/$TOTAL Download sdnc-ansible-server packages]" -$CTOOLS/download-pip.sh "$LISTS_DIR/pip_list.txt" "$DATA_DIR/pkg/ubuntu/ansible_pkg" -$CTOOLS/download-files.sh "$LISTS_DIR/pkg_list.txt" "$DATA_DIR/pkg/ubuntu/ansible_pkg" +$CTOOLS/download-pip.sh "$LISTS_DIR/${TAG}-pip_list.txt" "$DATA_DIR/offline_data/pypi" +$CTOOLS/download-files.sh "$LISTS_DIR/pkg_list.txt" "$DATA_DIR/pkg/ubuntu/xenial" message info "Downloading finished: $(date)" diff --git a/build/package.conf b/build/package.conf new file mode 100644 index 00000000..1141798b --- /dev/null +++ b/build/package.conf @@ -0,0 +1,71 @@ +# For the packaging script it is expected that all artifacts are present on local file system +# (e.g. they can be mounted) Downloading stuff from internet is currently not supported. +# Furthermore we don't want to replicate content of our static data_lists for download in there +# and those are downloaded before this packaging script is supposed to be run. +# Therefore we can limit number of artifacts to be added into packages just to couple of items. + +########################### +# Project specific params # +########################### + +# Final package name will be ${SOFTWARE_PACKAGE_BASENAME}-${PROJECT_NAME}-${PROJECT_VERSION}.tar +SOFTWARE_PACKAGE_BASENAME="onap-offline" + +######################## +# Helm charts handling # +######################## + +# directory with helm charts +HELM_CHARTS_DIR="/root/oom" + + +################### +# Packages addons # +################### + +# in there we define array of files/directories to be added into particular packages +# SW_PACKAGE_ADDONS are offline installer specific entries which are supposed to be inserted +# into ./ansible/application directory which is the only place where installer expects SW addons +# if directory is specified, whole dir will be copied into ./ansible/application inc. subdirs +# if file is specified it will be just copied into ./ansible/application folder. +# +SW_PACKAGE_ADDONS=( + '/root/ansible/application/onap-me-patch-role' + '/root/ansible/application/application_configuration.yml' +) + +# following array contains directories and files from where offline installer can get required artifacts +# following binaries and files are expected: +# <path_to_downloads>/downloads ... path to directory with application binaries (e.g. rancher, kubectl, jq, helm) +# <path_to_git-repo>/git-repo ... path to directory with git repos +# <path_to_http>/http ... path to directory with http files +# <path_to_offline_data>/offline_data ... path to directory with infra specific docker images +# <path_to_pkg>/pkg ... path to directory with rpm/deb packages +# <path_to_nexus_blob>/nexus_data.tar ... path to tar file with collected nexus blobs (output of different script) +# +# alternatively and if all above is available just ./resources folder with contain all of those might be used +# <path_to_complete_resources_folder>/resources +# + +EXTERNAL_BINARIES_PACKAGE_ADDONS=( + '/root/resources' +) +#EXTERNAL_BINARIES_PACKAGE_ADDONS=( +# '/root/resources/downloads' +# '/root/resources/git-repo' +# '/root/resources/http' +# '/root/resources/offline_data' +# '/root/resources/pkg' +# '/root/resources/nexus_data.tar' +#) + +# this param should be set to true if additional application package is supposed to be created +# +PREPARE_AUX_PACKAGE="true" + +# tar files with additional application images supposed to be inserted into nexus during runtime are expected +# +#AUX_BINARIES_PACKAGE_ADDONS=( +# '/root/resource_aux/aaa-component-0.0.1.tar' +# '/root/resource_aux/xyz-component-0.0.1.tar' +#) diff --git a/build/package.sh b/build/package.sh new file mode 100755 index 00000000..ee985339 --- /dev/null +++ b/build/package.sh @@ -0,0 +1,228 @@ +#! /usr/bin/env bash + +# COPYRIGHT NOTICE STARTS HERE +# +# Copyright 2018 © Samsung Electronics Co., Ltd. +# +# 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. +# +# COPYRIGHT NOTICE ENDS HERE + + +# Scope of this packaging script is to generate tarfiles for offline installation +# Build of any additional artifacts is out of scope for this script + +crash () { + local exit_code="$1" + local cause="$2" + echo "Packaging script finished prematuraly" + echo "Cause: $2" + exit "${exit_code}" +} + +usage () { + echo "Usage:" + echo " ./$(basename $0) <project_name> <version> <packaging_target_dir>" + echo "Example: ./$(basename $0) onap 1.0.1 /tmp/package_onap_1.0.0" + echo "packaging_target_dir will be created if does not exist. All tars will be produced into it." +} + +function create_tar { + local tar_dir="$1" + local tar_name="$2" + + cd ${tar_dir} + touch ${tar_name} # Trick to avoid sporadic "tar: .: file changed as we read it" warning message + tar --exclude=${tar_name} -cf ../${tar_name} . + cd - &> /dev/null # Trick to avoid printing new dir on stdout + + # Remove packaged folders + find ${tar_dir}/* -maxdepth 0 -type d -exec rm -rf '{}' \; + # Remove packaged files + find ${tar_dir}/* ! -name ${tar_name} -exec rm '{}' \; + echo "tar file ${tar_name} created in target dir" +} + +function add_metadata { + local metafile="$1" + + echo "Project name: ${PROJECT_NAME}" >> "${metafile}" + echo "Project version: ${PROJECT_VERSION}" >> "${metafile}" + echo "Package date: ${TIMESTAMP}" >> "${metafile}" +} + +function add_additions { + local source="$1" + local target="$2" + + if [ -d "${source}" ]; then + mkdir -p "${target}/$(basename $source)" + cp -r "${source}" "${target}" + echo "Adding directory ... $(basename $source)" + else + if [ -f "${source}" ]; then + cp "${source}" "${target}" + echo "Adding file ... $(basename $source)" + else + crash 4 "Invalid source specified for packaging: $1" + fi + fi +} + +function build_sw_artifacts { + cd ../ansible/docker + ./build_ansible_image.sh + if [ $? -ne 0 ]; then + crash 5 "Building of ansible runner image failed." + fi + cd - +} + +function create_sw_package { + local pkg_root="${PACKAGING_TARGET_DIR}/onap" + + # Create tar package + echo "[Creating software package]" + + # Create directory structure of the sw package + mkdir -p "${pkg_root}" + cp -r ansible "${pkg_root}" + + # Add additional files/dirs into package based on package.conf + for item in "${SW_PACKAGE_ADDONS[@]}";do + # all SW package addons are expected within ./ansible/application folder + add_additions "${item}" "${pkg_root}/ansible/application" + done + + # Helm charts handling + echo "Helm charts handling" + # Copy charts available for ansible playbook to use/move them to target server/dir + mkdir -p "${pkg_root}"/ansible/application/helm_charts + cp -r "${HELM_CHARTS_DIR}"/* "${pkg_root}"/ansible/application/helm_charts + + # Add metadata to the package + add_metadata "${pkg_root}"/package.info + + # Create sw tar package + echo "Creating tar file ..." + PACKAGE_BASE_NAME="${SOFTWARE_PACKAGE_BASENAME}" + create_tar "${pkg_root}" ${PACKAGE_BASE_NAME}-${PROJECT_NAME}-${PROJECT_VERSION}-sw.tar + rm -rf "${pkg_root}" +} + +function create_resource_package { + local pkg_root="${PACKAGING_TARGET_DIR}/resources" + + # Create resource tar package + echo "[Creating resource package]" + + # Create directory structure of the resource package + mkdir -p "${pkg_root}" + + # Add artifacts into resource packagee based on package.conf config + for item in "${EXTERNAL_BINARIES_PACKAGE_ADDONS[@]}";do + if [ "$(basename $item)" == "resources" ]; then + echo "Note: Packaging all resources at once" + add_additions "${item}" "${PACKAGING_TARGET_DIR}" + else + add_additions "${item}" "${pkg_root}" + fi + done + + # tar file with nexus_data is expected, we should find and untar it + # before resource.tar is created + for i in `ls -1 ${pkg_root} | grep tar`; do + tar tvf "${pkg_root}/${i}" | grep nexus_data &> /dev/null + if [ $? -eq 0 ]; then + echo "Debug: tar file with nexus blobs detected ${pkg_root}/${i}. Start unarchive ..." + tar xf "${pkg_root}/${i}" -C "${pkg_root}" &> /dev/null + echo "Debug: unarchive finished. Removing original file" + rm -f "${pkg_root}/${i}" + fi + done + + echo "Creating tar file ..." + PACKAGE_BASE_NAME="${SOFTWARE_PACKAGE_BASENAME}" + create_tar "${pkg_root}" "${PACKAGE_BASE_NAME}-${PROJECT_NAME}-${PROJECT_VERSION}-resources.tar" + rm -rf "${pkg_root}" +} + +function create_aux_package { + local pkg_root="${PACKAGING_TARGET_DIR}/aux" + + # Create aux resource tar package + echo "Creating aux resource package" + + # Create directory structure of the aux resource package + mkdir -p "${pkg_root}" + + # Add artifacts into resource packagee based on package.conf config + for item in "${AUX_BINARIES_PACKAGE_ADDONS[@]}";do + add_additions "${item}" "${pkg_root}" + done + + echo "Creating tar file ..." + PACKAGE_BASE_NAME="${SOFTWARE_PACKAGE_BASENAME}" + create_tar "${pkg_root}" "${PACKAGE_BASE_NAME}-${PROJECT_NAME}-${PROJECT_VERSION}-aux-resources.tar" + rm -rf "${pkg_root}" +} + +# +# =================== Main =================== +# + +PROJECT_NAME="$1" +PROJECT_VERSION="$2" +PACKAGING_TARGET_DIR="$3" + +TIMESTAMP=$(date -u +%Y%m%dT%H%M%S) + +# ensure that package.conf is sourced even when package.sh executed from another place +SCRIPT_DIR=$(dirname "${0}") +LOCAL_PATH=$(readlink -f "$SCRIPT_DIR") + +# lets start from script directory as some path in script are relative +pushd "${LOCAL_PATH}" +source ./package.conf + + +if [ "$#" -lt 3 ]; then + echo "Missing some mandatory parameter!" + usage + exit 1 +fi + +if [ ! -f "./package.conf" ]; then + crash 2 "Mandatory config file ./package.conf missing!" +fi + +# checking bash capability of parsing arrays +whotest[0]='test' || (crash 3 "Arrays not supported in this version of bash.") + + +# Prepare output directory for our packaging and create all tars + +rm -rf ${PACKAGING_TARGET_DIR} +build_sw_artifacts +create_sw_package +create_resource_package + +# This part will create aux package which consists of +# artifacts which can be added into offline nexus during runtime +if [ "${PREPARE_AUX_PACKAGE}" == "true" ]; then + create_aux_package +else + echo "AUX package won't be created" +fi + +popd |