diff options
author | platania <platania@research.att.com> | 2017-02-24 12:16:09 -0500 |
---|---|---|
committer | platania <platania@research.att.com> | 2017-02-24 12:16:09 -0500 |
commit | 9ee4ed868e558f81491d006f656eb54c43828752 (patch) | |
tree | 5f1a792c86723edd625ebe6d8fea9200f4cfddcb /boot | |
parent | f0a8d74495b67654985f2283337105798b6ebdcf (diff) |
update init scripts
Change-Id: I3738e23803a0ec3da42ee55f31d7c342245e1c52
Signed-off-by: platania <platania@research.att.com>
Diffstat (limited to 'boot')
-rw-r--r-- | boot/aai_vm_init.sh | 2 | ||||
-rw-r--r-- | boot/asdc_ext_volume_partitions.txt | 8 | ||||
-rw-r--r-- | boot/robot_vm_init.sh | 14 |
3 files changed, 13 insertions, 11 deletions
diff --git a/boot/aai_vm_init.sh b/boot/aai_vm_init.sh index 7a92fc4c..3a43719c 100644 --- a/boot/aai_vm_init.sh +++ b/boot/aai_vm_init.sh @@ -19,7 +19,7 @@ sleep 180 docker pull $NEXUS_DOCKER_REPO/openecomp/ajsc-aai:latest docker rm -f aai-service -docker run --name=aai-service --net=host -v /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt -it -e GITLAB_CERTNAME=$GITLAB_CERTNAME -e GITLAB_USERNAME=$GITLAB_USERNAME -e GITLAB_PASSWORD=$GITLAB_PASSWD -e AAI_REPO_PATH=r/aai -e AAI_CHEF_ENV=simpledemo -d -e AAI_CHEF_LOC=/var/chef/aai-data/environments -e docker_gitbranch=develop $NEXUS_DOCKER_REPO/openecomp/ajsc-aai:latest +docker run --name=aai-service --net=host -v /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt -it -e GITLAB_CERTNAME=$GITLAB_CERTNAME -e GITLAB_USERNAME=$GITLAB_USERNAME -e GITLAB_PASSWORD=$GITLAB_PASSWD -e AAI_REPO_PATH=r/aai -e AAI_CHEF_ENV=simpledemo -d -e AAI_CHEF_LOC=/var/chef/aai-data/environments -e docker_gitbranch=master $NEXUS_DOCKER_REPO/openecomp/ajsc-aai:latest docker pull $NEXUS_DOCKER_REPO/openecomp/model-loader:latest docker rm -f model-loader-service diff --git a/boot/asdc_ext_volume_partitions.txt b/boot/asdc_ext_volume_partitions.txt index c06a82ea..b00c6ae2 100644 --- a/boot/asdc_ext_volume_partitions.txt +++ b/boot/asdc_ext_volume_partitions.txt @@ -1,7 +1,7 @@ # partition table of /dev/xvdb unit: sectors -/dev/vdb1 : start= 2048, size=209713152, Id=83 -/dev/vdb2 : start= 0, size= 0, Id= 0 -/dev/vdb3 : start= 0, size= 0, Id= 0 -/dev/vdb4 : start= 0, size= 0, Id= 0 +/dev/xvdb1 : start= 2048, size=209713152, Id=83 +/dev/xvdb2 : start= 0, size= 0, Id= 0 +/dev/xvdb3 : start= 0, size= 0, Id= 0 +/dev/xvdb4 : start= 0, size= 0, Id= 0 diff --git a/boot/robot_vm_init.sh b/boot/robot_vm_init.sh index 582a3f2e..2e7ebce1 100644 --- a/boot/robot_vm_init.sh +++ b/boot/robot_vm_init.sh @@ -7,13 +7,15 @@ NEXUS_REPO=$(cat /opt/config/nexus_repo.txt) # # Deploy latest robot configuration -# -wget --user=$NEXUS_USERNAME --password=$NEXUS_PASSWD --no-check-certificate -O /opt/eteshare/config/robot_properties_ete.py $NEXUS_REPO/org.openecomp.boot/robot_properties_ete.py -wget --user=$NEXUS_USERNAME --password=$NEXUS_PASSWD --no-check-certificate -O /opt/eteshare/config/robot_preload_parameters.py $NEXUS_REPO/org.openecomp.boot/robot_preload_parameters.py -wget --user=$NEXUS_USERNAME --password=$NEXUS_PASSWD --no-check-certificate -O /opt/eteshare/config/vm_config2robot.sh $NEXUS_REPO/org.openecomp.boot/vm_config2robot.sh +# +cd /opt/testsuite/properties +git pull +cp integration_* /opt/eteshare/config +cp vm_config2robot.sh /opt/eteshare/config + /bin/bash /opt/eteshare/config/vm_config2robot.sh docker login -u $NEXUS_USERNAME -p $NEXUS_PASSWD $NEXUS_DOCKER_REPO -docker pull $NEXUS_DOCKER_REPO/openecompete +docker pull $NEXUS_DOCKER_REPO/openecomp/testsuite docker rm -f openecompete_container -docker run -d --name openecompete_container -v /opt/eteshare:/share -p 88:88 $NEXUS_DOCKER_REPO/openecompete +docker run -d --name openecompete_container -v /opt/eteshare:/share -p 88:88 $NEXUS_DOCKER_REPO/openecomp/testsuite |