diff options
-rw-r--r-- | boot/bind_zones | 2 | ||||
-rw-r--r-- | heat/OpenECOMP/onap_openstack.env | 4 | ||||
-rw-r--r-- | heat/OpenECOMP/onap_openstack.yaml | 62 | ||||
-rw-r--r-- | heat/OpenECOMP/openecomp_rackspace.env | 2 | ||||
-rw-r--r-- | heat/OpenECOMP/openecomp_rackspace.yaml | 78 |
5 files changed, 34 insertions, 114 deletions
diff --git a/boot/bind_zones b/boot/bind_zones index 1c0b27e7..be15f28e 100644 --- a/boot/bind_zones +++ b/boot/bind_zones @@ -107,4 +107,4 @@ collector.api.simpledemo.openecomp.org. IN A dcae_coll_ip_addr.102 ;drprov.api.simpledemo.openecomp.org. IN CNAME vm1.mr.simpledemo.openecomp.org. ;AAF -aaf.api.simpledemo.openecomp.org. IN CNAME vm1.aaf.simpledemo.openecomp.org. +;aaf.api.simpledemo.openecomp.org. IN CNAME vm1.aaf.simpledemo.openecomp.org. diff --git a/heat/OpenECOMP/onap_openstack.env b/heat/OpenECOMP/onap_openstack.env index 1a38ea10..6d06ecfc 100644 --- a/heat/OpenECOMP/onap_openstack.env +++ b/heat/OpenECOMP/onap_openstack.env @@ -24,7 +24,7 @@ parameters: nexus_repo: https://nexus.onap.org/content/sites/raw - nexus_docker_repo: nexus3.onap.org:10003 + nexus_docker_repo: nexus3.onap.org:10001 nexus_username: docker @@ -64,7 +64,7 @@ parameters: dcae_ip_addr: 10.0.4.1 - dns_ip_addr: 10.0.0.1 + dns_ip_addr: 10.0.100.1 mso_ip_addr: 10.0.5.1 diff --git a/heat/OpenECOMP/onap_openstack.yaml b/heat/OpenECOMP/onap_openstack.yaml index b28cc52d..1173e19e 100644 --- a/heat/OpenECOMP/onap_openstack.yaml +++ b/heat/OpenECOMP/onap_openstack.yaml @@ -489,8 +489,6 @@ resources: __nexus_docker_repo__: { get_param: nexus_docker_repo } __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __openstack_username__: { get_param: openstack_username } __openstack_tenant_id__: { get_param: openstack_tenant_id } __openstack_api_key__: { get_param: openstack_api_key } @@ -536,8 +534,6 @@ resources: echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt echo "__openstack_username__" > /opt/config/openstack_username.txt echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt echo "__keystone_url__" > /opt/config/keystone.txt @@ -546,7 +542,7 @@ resources: # Clone Gerrit repository cd /opt - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/mso/docker-config.git test_lab + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/mso/docker-config.git test_lab MSO_ENCRYPTION_KEY=$(cat /opt/test_lab/encryption.key) echo -n "__openstack_api_key__" | openssl aes-128-ecb -e -K $MSO_ENCRYPTION_KEY -nosalt | xxd -c 256 -p > /opt/config/api_key.txt @@ -597,8 +593,6 @@ resources: __nexus_docker_repo__: { get_param: nexus_docker_repo } __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __artifacts_version__: { get_param: artifacts_version } __dns_ip_addr__: { get_param: dns_ip_addr } __gerrit_branch__: { get_param: gerrit_branch } @@ -638,12 +632,10 @@ resources: echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt # Clone Gerrit repository cd /opt - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/dcae/demo/startup/message-router.git dcae-startup-vm-message-router + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/dcae/demo/startup/message-router.git dcae-startup-vm-message-router # DNS/GW IP address configuration echo "nameserver __dns_ip_addr__" >> /etc/resolvconf/resolv.conf.d/head @@ -687,8 +679,6 @@ resources: __nexus_docker_repo__: { get_param: nexus_docker_repo } __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __network_name__: { get_attr: [oam_ecomp, name] } __openstack_username__: { get_param: openstack_username } __openstack_api_key__: { get_param : openstack_api_key } @@ -735,8 +725,6 @@ resources: echo "__nexus_repo__" > /opt/config/nexus_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt echo "__network_name__" > /opt/config/network.txt echo "__openstack_username__" > /opt/config/openstack_username.txt echo "__openstack_api_key__" > /opt/config/openstack_password.txt @@ -750,7 +738,7 @@ resources: # Clone Gerrit repository cd /opt - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/testsuite/properties.git testsuite/properties + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/testsuite/properties.git testsuite/properties # Rename network interface sed -i "s/GRUB_CMDLINE_LINUX=.*/GRUB_CMDLINE_LINUX=\"net.ifnames=0 biosdevname=0\"/g" /etc/default/grub @@ -799,8 +787,6 @@ resources: __nexus_docker_repo__: { get_param: nexus_docker_repo } __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __artifacts_version__: { get_param: artifacts_version } __dns_ip_addr__: { get_param: dns_ip_addr } __docker_version__: { get_param: docker_version } @@ -841,13 +827,11 @@ resources: echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt echo "__docker_version__" > /opt/config/docker_version.txt # Clone Gerrit repository cd /opt - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/vid.git + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/vid.git # DNS/GW IP address configuration echo "nameserver __dns_ip_addr__" >> /etc/resolvconf/resolv.conf.d/head @@ -891,8 +875,6 @@ resources: __nexus_docker_repo__: { get_param: nexus_docker_repo } __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __artifacts_version__: { get_param: artifacts_version } __dns_ip_addr__: { get_param: dns_ip_addr } __docker_version__: { get_param: docker_version } @@ -933,13 +915,11 @@ resources: echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt echo "__docker_version__" > /opt/config/docker_version.txt # Clone Gerrit repository cd /opt - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/sdnc/oam.git sdnc + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/sdnc/oam.git sdnc # DNS/GW IP address configuration echo "nameserver __dns_ip_addr__" >> /etc/resolvconf/resolv.conf.d/head @@ -996,8 +976,6 @@ resources: __nexus_docker_repo__: { get_param: nexus_docker_repo } __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __env_name__: { get_param: dmaap_topic } __artifacts_version__: { get_param: artifacts_version } __dns_ip_addr__: { get_param: dns_ip_addr } @@ -1048,8 +1026,6 @@ resources: echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt echo "__env_name__" > /opt/config/env_name.txt echo "__mr_ip_addr__" > /opt/config/mr_ip_addr.txt echo "__public_ip__" > /opt/config/public_ip.txt @@ -1066,7 +1042,7 @@ resources: chmod 777 /data/logs/FE # Clone Gerrit repository - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/sdc.git + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/sdc.git cat > /root/.bash_aliases << EOF alias dcls='/data/scripts/docker_clean.sh \$1' @@ -1122,8 +1098,6 @@ resources: __nexus_docker_repo__: { get_param: nexus_docker_repo } __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __artifacts_version__: { get_param: artifacts_version } __dns_ip_addr__: { get_param: dns_ip_addr } __public_ip__: { get_attr: [portal_floating_ip, floating_ip_address] } @@ -1164,15 +1138,13 @@ resources: echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt echo "__public_ip__" > /opt/config/public_ip.txt echo "__docker_version__" > /opt/config/docker_version.txt # Clone Gerrit repository mkdir -p /PROJECT/OpenSource/UbuntuEP/logs cd /opt - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/portal.git + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/portal.git # DNS/GW IP address configuration echo "nameserver __dns_ip_addr__" >> /etc/resolvconf/resolv.conf.d/head @@ -1217,8 +1189,6 @@ resources: __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } __nexus_url_snapshots__: { get_param: nexus_url_snapshot } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __gitlab_branch__: { get_param: gitlab_branch } __dns_ip_addr__: { get_param: dns_ip_addr } __dcae_zone__: { get_param: dcae_zone } @@ -1269,7 +1239,7 @@ resources: # Clone Gerrit repository cd /opt - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/dcae/demo/startup/controller.git dcae-startup-vm-controller + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/dcae/demo/startup/controller.git dcae-startup-vm-controller # DCAE Controller specific deployment cd /opt/dcae-startup-vm-controller @@ -1297,7 +1267,7 @@ resources: DOCKER-REGISTRY: __nexus_docker_repo__ - GIT-MR-REPO: https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/dcae/demo/startup/message-router.git + GIT-MR-REPO: http://gerrit.onap.org/r/dcae/demo/startup/message-router.git EOF_CONFIG # Store credentials in files @@ -1305,8 +1275,6 @@ resources: echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt echo "__gitlab_branch__" > /opt/config/gitlab_branch.txt echo "__docker_version__" > /opt/config/docker_version.txt @@ -1352,8 +1320,6 @@ resources: __nexus_docker_repo__: { get_param: nexus_docker_repo } __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __artifacts_version__: { get_param: artifacts_version } __dns_ip_addr__: { get_param: dns_ip_addr } __public_ip__: { get_attr: [policy_floating_ip, floating_ip_address] } @@ -1394,14 +1360,12 @@ resources: echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt echo "__public_ip__" > /opt/config/public_ip.txt echo "__docker_version__" > /opt/config/docker_version.txt # Clone Gerrit repository cd /opt - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/policy/docker.git policy + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/policy/docker.git policy # DNS/GW IP address configuration echo "nameserver __dns_ip_addr__" >> /etc/resolvconf/resolv.conf.d/head @@ -1445,8 +1409,6 @@ resources: __nexus_docker_repo__: { get_param: nexus_docker_repo } __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __dmaap_topic__: { get_param: dmaap_topic } __artifacts_version__: { get_param: artifacts_version } __dns_ip_addr__: { get_param: dns_ip_addr } @@ -1488,14 +1450,12 @@ resources: echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt echo "__docker_version__" > /opt/config/docker_version.txt # Clone Gerrit repository cd /opt - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/appc/deployment.git appc + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/appc/deployment.git appc # DNS/GW IP address configuration echo "nameserver __dns_ip_addr__" >> /etc/resolvconf/resolv.conf.d/head diff --git a/heat/OpenECOMP/openecomp_rackspace.env b/heat/OpenECOMP/openecomp_rackspace.env index c21c8a6a..178dfa7d 100644 --- a/heat/OpenECOMP/openecomp_rackspace.env +++ b/heat/OpenECOMP/openecomp_rackspace.env @@ -10,7 +10,7 @@ parameters: nexus_repo: https://nexus.onap.org/content/sites/raw - nexus_docker_repo: nexus3.onap.org:10003 + nexus_docker_repo: nexus3.onap.org:10001 nexus_username: INSERT YOUR USERNAME HERE diff --git a/heat/OpenECOMP/openecomp_rackspace.yaml b/heat/OpenECOMP/openecomp_rackspace.yaml index 8a30bbc0..219cbc76 100644 --- a/heat/OpenECOMP/openecomp_rackspace.yaml +++ b/heat/OpenECOMP/openecomp_rackspace.yaml @@ -259,7 +259,7 @@ resources: # Download dependencies add-apt-repository -y ppa:openjdk-r/ppa apt-get update - apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk ntp ntpdate + apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate # Download scripts from Nexus curl -k __nexus_repo__/org.openecomp.demo/boot/__artifacts_version__/aai_vm_init.sh -o /opt/aai_vm_init.sh @@ -324,8 +324,6 @@ resources: __nexus_docker_repo__: { get_param: nexus_docker_repo } __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __openstack_username__: { get_param: openstack_username } __openstack_tenant_id__: { get_param: openstack_tenant_id } __openstack_api_key__: { get_param: openstack_api_key } @@ -370,8 +368,6 @@ resources: echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt echo "__openstack_username__" > /opt/config/openstack_username.txt echo "__openstack_tenant_id__" > /opt/config/tenant_id.txt echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt @@ -379,7 +375,7 @@ resources: # Run docker-compose to spin up containers cd /opt - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/mso/docker-config.git test_lab + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/mso/docker-config.git test_lab MSO_ENCRYPTION_KEY=$(cat /opt/test_lab/encryption.key) echo -n "__openstack_api_key__" | openssl aes-128-ecb -e -K $MSO_ENCRYPTION_KEY -nosalt | xxd -c 256 -p > /opt/config/api_key.txt ./mso_vm_init.sh @@ -410,8 +406,6 @@ resources: __nexus_docker_repo__: { get_param: nexus_docker_repo } __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __artifacts_version__: { get_param: artifacts_version } __gerrit_branch__: { get_param: gerrit_branch } template: | @@ -424,7 +418,7 @@ resources: # Download dependencies add-apt-repository -y ppa:openjdk-r/ppa apt-get update - apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk ntp ntpdate + apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate # Download scripts from Nexus curl -k __nexus_repo__/org.openecomp.demo/boot/__artifacts_version__/mr_vm_init.sh -o /opt/mr_vm_init.sh @@ -451,12 +445,10 @@ resources: echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt # Run docker-compose to spin up containers cd /opt - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/dcae/demo/startup/message-router.git dcae-startup-vm-message-router + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/dcae/demo/startup/message-router.git dcae-startup-vm-message-router ./mr_vm_init.sh @@ -485,8 +477,6 @@ resources: __nexus_docker_repo__: { get_param: nexus_docker_repo } __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __network_name__: { get_attr: [oam_ecomp, name] } __openstack_username__: { get_param: openstack_username } __openstack_api_key__: { get_param : openstack_api_key } @@ -505,7 +495,7 @@ resources: # Download dependencies add-apt-repository -y ppa:openjdk-r/ppa apt-get update - apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk ntp ntpdate + apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate echo "APT::Periodic::Unattended-Upgrade \"0\";" >> /etc/apt/apt.conf.d/10periodic # Download scripts from Nexus @@ -534,8 +524,6 @@ resources: echo "__nexus_repo__" > /opt/config/nexus_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt echo "__network_name__" > /opt/config/network.txt echo "__openstack_username__" > /opt/config/openstack_username.txt echo "__openstack_password__" > /opt/config/openstack_password.txt @@ -550,7 +538,7 @@ resources: # Run docker-compose to spin up containers cd /opt - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/testsuite/properties.git testsuite/properties + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/testsuite/properties.git testsuite/properties ./robot_vm_init.sh @@ -579,8 +567,6 @@ resources: __nexus_docker_repo__: { get_param: nexus_docker_repo } __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __artifacts_version__: { get_param: artifacts_version } __docker_version__: { get_param: docker_version } __gerrit_branch__: { get_param: gerrit_branch } @@ -621,13 +607,11 @@ resources: echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt echo "__docker_version__" > /opt/config/docker_version.txt # Run script to spin up containers cd /opt - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/vid.git + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/vid.git ./vid_vm_init.sh @@ -656,8 +640,6 @@ resources: __nexus_docker_repo__: { get_param: nexus_docker_repo } __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __artifacts_version__: { get_param: artifacts_version } __docker_version__: { get_param: docker_version } __gerrit_branch__: { get_param: gerrit_branch } @@ -673,7 +655,7 @@ resources: # Download dependencies add-apt-repository -y ppa:openjdk-r/ppa apt-get update - apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk ntp ntpdate + apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate # Download scripts from Nexus curl -k __nexus_repo__/org.openecomp.demo/boot/__artifacts_version__/sdnc_vm_init.sh -o /opt/sdnc_vm_init.sh @@ -700,13 +682,11 @@ resources: echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt echo "__docker_version__" > /opt/config/docker_version.txt # Run docker-compose to spin up containers cd /opt - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/sdnc/oam.git sdnc + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/sdnc/oam.git sdnc ./sdnc_vm_init.sh @@ -759,8 +739,6 @@ resources: __nexus_docker_repo__: { get_param: nexus_docker_repo } __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __env_name__: { get_param: dmaap_topic } __artifacts_version__: { get_param: artifacts_version } __docker_version__: { get_param: docker_version } @@ -777,7 +755,7 @@ resources: # Download dependencies add-apt-repository -y ppa:openjdk-r/ppa apt-get update - apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk ntp ntpdate + apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate # Download scripts from Nexus curl -k __nexus_repo__/org.openecomp.demo/boot/__artifacts_version__/asdc_vm_init.sh -o /opt/asdc_vm_init.sh @@ -811,8 +789,6 @@ resources: echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt echo "__env_name__" > /opt/config/env_name.txt echo "10.0.11.1" > /opt/config/mr_ip_addr.txt echo "__docker_version__" > /opt/config/docker_version.txt @@ -827,7 +803,7 @@ resources: chmod 777 /data/logs/BE chmod 777 /data/logs/FE - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/sdc.git + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/sdc.git cat > /root/.bash_aliases << EOF alias dcls='/data/scripts/docker_clean.sh \$1' @@ -875,8 +851,6 @@ resources: __nexus_docker_repo__: { get_param: nexus_docker_repo } __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __artifacts_version__: { get_param: artifacts_version } __docker_version__: { get_param: docker_version } __gerrit_branch__: { get_param: gerrit_branch } @@ -892,7 +866,7 @@ resources: # Download dependencies add-apt-repository -y ppa:openjdk-r/ppa apt-get update - apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk unzip mysql-client-core-5.6 ntp ntpdate + apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git unzip mysql-client-core-5.6 ntp ntpdate # Download scripts from Nexus curl -k __nexus_repo__/org.openecomp.demo/boot/__artifacts_version__/portal_vm_init.sh -o /opt/portal_vm_init.sh @@ -918,14 +892,12 @@ resources: echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt echo "__docker_version__" > /opt/config/docker_version.txt # Run Portal-specific instructions mkdir -p /PROJECT/OpenSource/UbuntuEP/logs cd /opt - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/portal.git + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/portal.git # Run docker-compose to spin up containers ./portal_vm_init.sh @@ -956,8 +928,6 @@ resources: __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } __nexus_url_snapshots__: { get_param: nexus_url_snapshot } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __gitlab_branch__: { get_param: gitlab_branch } __dcae_zone__: { get_param: dcae_zone } __dcae_state__: { get_param: dcae_state } @@ -1006,7 +976,7 @@ resources: # DCAE Controller specific deployment cd /opt - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/dcae/demo/startup/controller.git dcae-startup-vm-controller + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/dcae/demo/startup/controller.git dcae-startup-vm-controller cd dcae-startup-vm-controller mkdir -p /opt/app/dcae-controller @@ -1033,7 +1003,7 @@ resources: DOCKER-REGISTRY: __nexus_docker_repo__ - GIT-MR-REPO: https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/dcae/demo/startup/message-router.git + GIT-MR-REPO: http://gerrit.onap.org/r/dcae/demo/startup/message-router.git EOF_CONFIG # Store credentials in files @@ -1041,8 +1011,6 @@ resources: echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt echo "__gitlab_branch__" > /opt/config/gitlab_branch.txt echo "__docker_version__" > /opt/config/docker_version.txt @@ -1085,8 +1053,6 @@ resources: __nexus_docker_repo__: { get_param: nexus_docker_repo } __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __artifacts_version__: { get_param: artifacts_version } __docker_version__: { get_param: docker_version } __gerrit_branch__: { get_param: gerrit_branch } @@ -1102,7 +1068,7 @@ resources: # Download dependencies add-apt-repository -y ppa:openjdk-r/ppa apt-get update - apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk ntp ntpdate + apt-get install -y apt-transport-https ca-certificates wget openjdk-8-jdk git ntp ntpdate # Download scripts from Nexus curl -k __nexus_repo__/org.openecomp.demo/boot/__artifacts_version__/policy_vm_init.sh -o /opt/policy_vm_init.sh @@ -1128,13 +1094,11 @@ resources: echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt echo "__docker_version__" > /opt/config/docker_version.txt # Run docker-compose to spin up containers cd /opt - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/policy/docker.git policy + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/policy/docker.git policy ./policy_vm_init.sh @@ -1164,8 +1128,6 @@ resources: __nexus_docker_repo__: { get_param: nexus_docker_repo } __nexus_username__: { get_param: nexus_username } __nexus_password__: { get_param: nexus_password } - __gitlab_username__: { get_param: gitlab_username } - __gitlab_password__: { get_param: gitlab_password } __dmaap_topic__: { get_param: dmaap_topic } __artifacts_version__: { get_param: artifacts_version } __docker_version__: { get_param: docker_version } @@ -1182,7 +1144,7 @@ resources: # Download dependencies add-apt-repository -y ppa:openjdk-r/ppa apt-get update - apt-get install -y apt-transport-https ca-certificates wget openjdk-7-jdk ntp ntpdate + apt-get install -y apt-transport-https ca-certificates wget openjdk-7-jdk git ntp ntpdate # Download scripts from Nexus curl -k __nexus_repo__/org.openecomp.demo/boot/__artifacts_version__/appc_vm_init.sh -o /opt/appc_vm_init.sh @@ -1209,13 +1171,11 @@ resources: echo "__nexus_docker_repo__" > /opt/config/nexus_docker_repo.txt echo "__nexus_username__" > /opt/config/nexus_username.txt echo "__nexus_password__" > /opt/config/nexus_password.txt - echo "__gitlab_username__" > /opt/config/gitlab_username.txt - echo "__gitlab_password__" > /opt/config/gitlab_password.txt echo "__dmaap_topic__" > /opt/config/dmaap_topic.txt echo "__docker_version__" > /opt/config/docker_version.txt # Run docker-compose to spin up containers cd /opt - git clone -b __gerrit_branch__ --single-branch https://__gitlab_username__:__gitlab_password__@gerrit.onap.org/r/a/appc/deployment.git appc + git clone -b __gerrit_branch__ --single-branch http://gerrit.onap.org/r/appc/deployment.git appc ./appc_vm_init.sh |