diff options
author | highstreetherbert <herbert.eiselt@highstreet-technologies.com> | 2021-08-10 16:53:05 +0200 |
---|---|---|
committer | highstreetherbert <herbert.eiselt@highstreet-technologies.com> | 2021-08-17 17:59:56 +0200 |
commit | 063addc2cdac841d2646e8f87fff86f48c33e655 (patch) | |
tree | c369b0cf445a3c0ea2507482a46d0f5387fcedeb | |
parent | 96225a9516e146223c3ce10e1181f56ee672a865 (diff) |
Fix root pom version definition
Change version range to version number
Issue-ID: SDNC-1587
Signed-off-by: highstreetherbert <herbert.eiselt@highstreet-technologies.com>
Change-Id: I3553270aa378c718e7e3ddd4564845d2cfc6e9a6
Signed-off-by: highstreetherbert <herbert.eiselt@highstreet-technologies.com>
Former-commit-id: e81e7ae9a71a33fd27904849929ffbc0c7269ce0
-rw-r--r-- | csit/plans/sdnc/setup.sh | 9 | ||||
-rwxr-xr-x | csit/plans/sdnr/setup.sh | 13 | ||||
-rw-r--r-- | csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr-web.override.yaml | 2 | ||||
-rw-r--r-- | csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr.yaml | 2 | ||||
-rwxr-xr-x | csit/scripts/sdnr/sdnr-launch.sh | 10 | ||||
-rwxr-xr-x | pom.xml | 5 |
6 files changed, 32 insertions, 9 deletions
diff --git a/csit/plans/sdnc/setup.sh b/csit/plans/sdnc/setup.sh index 2a418e6f..91783582 100644 --- a/csit/plans/sdnc/setup.sh +++ b/csit/plans/sdnc/setup.sh @@ -18,11 +18,18 @@ # Modifications copyright (c) 2021 AT&T Intellectual Property # -# Remove all dangling images +# Remove all dangling images and cleanup /w/workspace and /tmp docker image prune -f +echo "Remove onap repository artifacts" +rm -r /tmp/r/org/onap +echo "Remove all target folders from workspace" +rm -r $(find /w/workspace -name target) ###################### Netconf Simulator Setup ###################### +echo "Clean" +sudo apt clean + # Get integration/simulators if [ -d ${WORKSPACE}/archives/pnf-simulator ] then diff --git a/csit/plans/sdnr/setup.sh b/csit/plans/sdnr/setup.sh index 08babea5..e2942b37 100755 --- a/csit/plans/sdnr/setup.sh +++ b/csit/plans/sdnr/setup.sh @@ -18,6 +18,19 @@ # Modifications copyright (c) 2021 highstreet technologies GmbH Property # +# Remove all not needed images and clean workspace +sudo apt clean +docker rmi -f $(docker images onap/sdnc-dmaap-listener-image -a -q) +docker rmi -f $(docker images onap/sdnc-ueb-listener-image -a -q) +docker rmi -f $(docker images onap/onap/sdnc-web-image -a -q) +docker rmi -f $(docker images onap/sdnc-ansible-server-image -a -q) +docker rmi -f $(docker images onap/sdnc-aaf-image -a -q) +docker rmi -f $(docker images onap/ccsdk-ansible-server-image -a -q) +docker rmi -f $(docker images onap/ccsdk-odlsli-alpine-image -a -q) +docker images + +echo "Start plan sdnr" + source ${WORKSPACE}/scripts/sdnr/sdnr-launch.sh onap_dependent_components_launch nts_networkfunctions_launch ${WORKSPACE}/plans/sdnr/testdata/nts-networkfunctions.csv diff --git a/csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr-web.override.yaml b/csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr-web.override.yaml index c8d1728a..5f3e8819 100644 --- a/csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr-web.override.yaml +++ b/csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr-web.override.yaml @@ -20,7 +20,7 @@ services: integration: ipv4_address: ${TOPOLOGY_IP} sdnr-web: - image: ${NEXUS_DOCKER_REPO}/${NEXUS_DOCKER_WEB_IMAGE_NAME}:${NEXUS_DOCKER_IMAGE_TAG} + image: ${NEXUS_DOCKER_WEB_IMAGE_NAME}:${NEXUS_DOCKER_IMAGE_TAG} container_name: sdnr-web ports: - "${SDNC_WEB_PORT}:${SDNC_WEB_PORT}" diff --git a/csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr.yaml b/csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr.yaml index 05724cff..b7c7e7b7 100644 --- a/csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr.yaml +++ b/csit/scripts/sdnr/docker-compose/docker-compose-single-sdnr.yaml @@ -1,7 +1,7 @@ version: "2.2" services: sdnr: - image: ${NEXUS_DOCKER_REPO}/${NEXUS_DOCKER_IMAGE_NAME}:${NEXUS_DOCKER_IMAGE_TAG} + image: ${NEXUS_DOCKER_IMAGE_NAME}:${NEXUS_DOCKER_IMAGE_TAG} container_name: sdnr ports: - "8181:8181" diff --git a/csit/scripts/sdnr/sdnr-launch.sh b/csit/scripts/sdnr/sdnr-launch.sh index e79a6ada..508feff3 100755 --- a/csit/scripts/sdnr/sdnr-launch.sh +++ b/csit/scripts/sdnr/sdnr-launch.sh @@ -28,8 +28,6 @@ sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose which docker-compose docker version docker-compose version -# WA: no space left on device. -docker system prune -f -a if [[ -z $WORKSPACE ]]; then CUR_PATH="`dirname \"$0\"`" # relative path @@ -101,8 +99,11 @@ function sdnr_launch() { function sdnr_launch_single_node() { - docker-compose $env_file -f ${WORKSPACE}/scripts/sdnr/docker-compose/docker-compose-single-sdnr.yaml \ - -f ${WORKSPACE}/scripts/sdnr/docker-compose/$sdnrdb_compose_file \ + # Use locally build sdnr .. no need to pull + #docker-compose $env_file -f ${WORKSPACE}/scripts/sdnr/docker-compose/docker-compose-single-sdnr.yaml \ + # -f ${WORKSPACE}/scripts/sdnr/docker-compose/$sdnrdb_compose_file \ + # pull + docker-compose $env_file -f ${WORKSPACE}/scripts/sdnr/docker-compose/$sdnrdb_compose_file \ pull docker-compose $env_file -f ${WORKSPACE}/scripts/sdnr/docker-compose/docker-compose-single-sdnr.yaml \ -f ${WORKSPACE}/scripts/sdnr/docker-compose/$sdnrdb_compose_file \ @@ -114,6 +115,7 @@ function sdnr_launch_single_node() { if [ $i == 50 ]; then echo "[ERROR] SDNC/R container not ready" docker ps -a + docker logs sdnr # exit 1 fi done @@ -27,8 +27,9 @@ <!-- All Version definition is placed in org.onap.ccsdk.parent/odlparent-lite --> <ccsdk.oran.a1adapter.version>1.2.0-SNAPSHOT</ccsdk.oran.a1adapter.version> <sdnc.northbound.version>2.2.0-SNAPSHOT</sdnc.northbound.version> <!-- Used by installation/sdnc --> - <ccsdk.distribution.version>[1.2.0-SNAPSHOT, 1.2.99999)</ccsdk.distribution.version> - + <ccsdk.distribution.version>1.2.0-SNAPSHOT</ccsdk.distribution.version> + <ccsdk.features.version>1.2.0-SNAPSHOT</ccsdk.features.version> + <ccsdk.sli.northbound.version>1.3.0-SNAPSHOT</ccsdk.sli.northbound.version> <!-- docker images versions --> <ccsdk.docker.alpine.j11.version>1.2-STAGING-latest</ccsdk.docker.alpine.j11.version> <!-- Used by dmaap-listener, ueb-listener --> <ccsdk.docker.odlsli.alpine.version>1.2-SNAPSHOT-latest</ccsdk.docker.odlsli.alpine.version> <!-- Used by sdnc --> |