From 2cf2f8e89f5663c2689a1f19d89f4bb11893491d Mon Sep 17 00:00:00 2001 From: Marco Platania Date: Mon, 23 Jul 2018 11:03:18 -0400 Subject: Add URL to Nexus repo in Heat templates Change-Id: I574eb63ae1b2c57f19bd02a482ee16c65cd0b744 Issue-ID: INT-592 Signed-off-by: Marco Platania --- heat/vLB/base_vlb.env | 4 ++-- heat/vLB/base_vlb.yaml | 6 ++++++ heat/vLB/dnsscaling.env | 4 ++-- heat/vLB/dnsscaling.yaml | 2 ++ 4 files changed, 12 insertions(+), 4 deletions(-) (limited to 'heat/vLB') diff --git a/heat/vLB/base_vlb.env b/heat/vLB/base_vlb.env index dee69cdd..70c177eb 100644 --- a/heat/vLB/base_vlb.env +++ b/heat/vLB/base_vlb.env @@ -26,8 +26,8 @@ parameters: vf_module_id: vLoadBalancer dcae_collector_ip: 10.0.4.1 dcae_collector_port: 8081 - repo_url_artifacts: https://nexus.onap.org/content/repositories/releases - demo_artifacts_version: 1.3.0-SNAPSHOT + repo_url_artifacts: https://nexus.onap.org/content/repositories/staging + demo_artifacts_version: 1.3.0 install_script_version: 1.3.0-SNAPSHOT key_name: vlb_key pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN diff --git a/heat/vLB/base_vlb.yaml b/heat/vLB/base_vlb.yaml index 4e1459b5..6ca2538b 100644 --- a/heat/vLB/base_vlb.yaml +++ b/heat/vLB/base_vlb.yaml @@ -270,6 +270,7 @@ resources: __pktgen_private_net_cidr__: { get_param: pktgen_private_net_cidr } __pktgen_mac__: { get_attr: [vpg_private_0_port, mac_address] } __cloud_env__: { get_param: cloud_env } + __nexus_artifact_repo__: { get_param: nexus_artifact_repo } template: | #!/bin/bash @@ -291,6 +292,7 @@ resources: echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt echo "__pktgen_mac__" > /opt/config/pktgen_mac.txt echo "__cloud_env__" > /opt/config/cloud_env.txt + echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt # Download and run install script apt-get -y install unzip @@ -340,6 +342,7 @@ resources: __vlb_private_net_cidr__: { get_param: vlb_private_net_cidr } __onap_private_net_cidr__: { get_param: onap_private_net_cidr } __cloud_env__: { get_param: cloud_env } + __nexus_artifact_repo__: { get_param: nexus_artifact_repo } template: | #!/bin/bash @@ -355,6 +358,7 @@ resources: echo "__vlb_private_net_cidr__" > /opt/config/vlb_private_net_cidr.txt echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt echo "__cloud_env__" > /opt/config/cloud_env.txt + echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt # Download and run install script apt-get -y install unzip @@ -404,6 +408,7 @@ resources: __pg_int__: { get_param: pg_int } __vlb_mac__: { get_attr: [vlb_private_2_port, mac_address] } __cloud_env__: { get_param: cloud_env } + __nexus_artifact_repo__: { get_param: nexus_artifact_repo } template: | #!/bin/bash @@ -420,6 +425,7 @@ resources: echo "__pg_int__" > /opt/config/pg_int.txt echo "__vlb_mac__" > /opt/config/vlb_mac.txt echo "__cloud_env__" > /opt/config/cloud_env.txt + echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt # Download and run install script apt-get -y install unzip diff --git a/heat/vLB/dnsscaling.env b/heat/vLB/dnsscaling.env index 130bad38..911a130d 100644 --- a/heat/vLB/dnsscaling.env +++ b/heat/vLB/dnsscaling.env @@ -14,8 +14,8 @@ parameters: vdns_name_0: zdfw1lb01dns02 vnf_id: vLoadBalancer_demo_app vf_module_id: vLoadBalancer - repo_url_artifacts: https://nexus.onap.org/content/repositories/releases - demo_artifacts_version: 1.3.0-SNAPSHOT + repo_url_artifacts: https://nexus.onap.org/content/repositories/staging + demo_artifacts_version: 1.3.0 install_script_version: 1.3.0-SNAPSHOT key_name: vlb_key_scaling pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN diff --git a/heat/vLB/dnsscaling.yaml b/heat/vLB/dnsscaling.yaml index fd1833cc..4d5e01f0 100644 --- a/heat/vLB/dnsscaling.yaml +++ b/heat/vLB/dnsscaling.yaml @@ -185,6 +185,7 @@ resources: __vlb_private_net_cidr__: { get_param: vlb_private_net_cidr } __onap_private_net_cidr__: { get_param: onap_private_net_cidr } __cloud_env__: { get_param: cloud_env } + __nexus_artifact_repo__: { get_param: nexus_artifact_repo } template: | #!/bin/bash @@ -200,6 +201,7 @@ resources: echo "__vlb_private_net_cidr__" > /opt/config/vlb_private_net_cidr.txt echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt echo "__cloud_env__" > /opt/config/cloud_env.txt + echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt # Download and run install script apt-get -y install unzip -- cgit 1.2.3-korg