diff options
author | DarraghEgan <darragh.egan@est.tech> | 2019-05-29 11:35:39 +0000 |
---|---|---|
committer | Rahul Tyagi <rahul.tyagi@ericsson.com> | 2019-05-31 16:00:35 +0000 |
commit | bea1e3408d880d56cc560a5ae9c584b660a84f38 (patch) | |
tree | 261ae654d917689b3129bf491d875db01fcc71cf | |
parent | c97101347defc8126614b27c60646325e0f9d674 (diff) |
INT-1085: Upgrade SDNC image and certs in CSIT
The SDNC image used for testing in CSIT is an
older image version so this needs to be updated
to a newer version which is 1.5.2
Also the certs are outdated as server.crt is no
longer a mandatory file.
Issue-ID: INT-1085
Change-Id: I081a8e79864619d750dbc838750b112a9bbadf53
Signed-off-by: DarraghEgan <darragh.egan@est.tech>
-rwxr-xr-x | plans/sdnc/healthcheck/setup.sh | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | plans/sdnc/sdnc_netconf_tls_post_deploy/certs/certs.properties | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | plans/sdnc/sdnc_netconf_tls_post_deploy/certs/keys0.zip | bin | 5057 -> 4300 bytes | |||
-rw-r--r-- | plans/sdnc/sdnc_netconf_tls_post_deploy/setup.sh | 20 |
4 files changed, 8 insertions, 14 deletions
diff --git a/plans/sdnc/healthcheck/setup.sh b/plans/sdnc/healthcheck/setup.sh index 7a66351f..83a9dce9 100755 --- a/plans/sdnc/healthcheck/setup.sh +++ b/plans/sdnc/healthcheck/setup.sh @@ -24,7 +24,7 @@ export NEXUS_USERNAME=docker export NEXUS_PASSWD=docker export NEXUS_DOCKER_REPO=nexus3.onap.org:10001 export DMAAP_TOPIC=AUTO -export DOCKER_IMAGE_VERSION=1.5-STAGING-latest +export DOCKER_IMAGE_VERSION=1.5.2 export CCSDK_DOCKER_IMAGE_VERSION=0.4-STAGING-latest export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1) diff --git a/plans/sdnc/sdnc_netconf_tls_post_deploy/certs/certs.properties b/plans/sdnc/sdnc_netconf_tls_post_deploy/certs/certs.properties index f8f3fa72..f8f3fa72 100644..100755 --- a/plans/sdnc/sdnc_netconf_tls_post_deploy/certs/certs.properties +++ b/plans/sdnc/sdnc_netconf_tls_post_deploy/certs/certs.properties diff --git a/plans/sdnc/sdnc_netconf_tls_post_deploy/certs/keys0.zip b/plans/sdnc/sdnc_netconf_tls_post_deploy/certs/keys0.zip Binary files differindex 48b4d90a..387d09c6 100644..100755 --- a/plans/sdnc/sdnc_netconf_tls_post_deploy/certs/keys0.zip +++ b/plans/sdnc/sdnc_netconf_tls_post_deploy/certs/keys0.zip diff --git a/plans/sdnc/sdnc_netconf_tls_post_deploy/setup.sh b/plans/sdnc/sdnc_netconf_tls_post_deploy/setup.sh index 92470d29..3b08ef3f 100644 --- a/plans/sdnc/sdnc_netconf_tls_post_deploy/setup.sh +++ b/plans/sdnc/sdnc_netconf_tls_post_deploy/setup.sh @@ -19,15 +19,12 @@ # Place the scripts in run order: SCRIPTS="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" source ${WORKSPACE}/scripts/sdnc/script1.sh -export DOCKER_SDNC_REPO=darby321 -export DOCKER_SDNC_TAG=testimage1 -export DOCKER_USERNAME=darby321 -export DOCKER_PASSWORD=Darragh1993 +export DOCKER_SDNC_TAG=1.5.2 export NEXUS_USERNAME=docker export NEXUS_PASSWD=docker export NEXUS_DOCKER_REPO=nexus3.onap.org:10001 export DMAAP_TOPIC=AUTO -export DOCKER_IMAGE_VERSION=1.5-STAGING-latest +export DOCKER_IMAGE_VERSION=1.5.2 export CCSDK_DOCKER_IMAGE_VERSION=0.4-STAGING-latest export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1) @@ -42,6 +39,8 @@ cd $WORKSPACE/archives git clone -b master --single-branch --depth=1 http://gerrit.onap.org/r/integration.git integration cd $WORKSPACE/archives/integration git pull +#cd $WORKSPACE/archives/integration/test/mocks/pnfsimulator +#sed -i 's/nexus3.onap.org:10003\/onap\/pnf-simulator:4.0.0-SNAPSHOT/nexus3.onap.org:10001\/onap\/pnf-simulator:latest/' docker-compose.yml HOST_IP_ADDR=localhost # Clone SDNC repo to get docker-compose for SDNC mkdir -p $WORKSPACE/archives/sdnc @@ -52,16 +51,11 @@ git pull unset http_proxy https_proxy cd $WORKSPACE/archives/sdnc/installation/src/main/yaml -docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD $DOCKER_SDNC_REPO -docker pull $DOCKER_SDNC_REPO/sdnc-image:$DOCKER_SDNC_TAG -docker tag $DOCKER_SDNC_REPO/sdnc-image:$DOCKER_SDNC_TAG onap/sdnc-image:latest -docker logout $DOCKER_SDNC_REPO - sed -i "s/DMAAP_TOPIC_ENV=.*/DMAAP_TOPIC_ENV="AUTO"/g" docker-compose.yml docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO -#Docker pull $NEXUS_DOCKER_REPO/onap/sdnc-image:$DOCKER_IMAGE_VERSION -#docker tag $NEXUS_DOCKER_REPO/onap/sdnc-image:$DOCKER_IMAGE_VERSION onap/sdnc-image:latest +docker pull $NEXUS_DOCKER_REPO/onap/sdnc-image:$DOCKER_SDNC_TAG +docker tag $NEXUS_DOCKER_REPO/onap/sdnc-image:$DOCKER_SDNC_TAG onap/sdnc-image:latest docker pull $NEXUS_DOCKER_REPO/onap/sdnc-ansible-server-image:$DOCKER_IMAGE_VERSION docker tag $NEXUS_DOCKER_REPO/onap/sdnc-ansible-server-image:$DOCKER_IMAGE_VERSION onap/sdnc-ansible-server-image:latest @@ -153,4 +147,4 @@ fi sleep 200 # Pass any variables required by Robot test suites in ROBOT_VARIABLES -ROBOT_VARIABLES="-v SCRIPTS:${SCRIPTS}"
\ No newline at end of file +ROBOT_VARIABLES="-v SCRIPTS:${SCRIPTS}" |