Skip to content

Commit

Permalink
Remove OS_SHARE_NETWORK_ID
Browse files Browse the repository at this point in the history
- remove OS_SHARE_NETWORK_ID in terraform and gophercloud jobs
- disable terraform telefornica job

Closes: theopenlab/openlab#139
  • Loading branch information
kiwik committed Dec 10, 2018
1 parent 9c40670 commit 992aece
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion playbooks/gophercloud-acceptance-test-telefonica/run.yaml
Expand Up @@ -12,7 +12,6 @@
apt-get install python-pip -y
pip install -U python-openstackclient
export OS_SHARE_NETWORK_ID="foobar"
export OS_FLAVOR_ID_RESIZE=2
export OS_FLAVOR_ID=1
export OS_POOL_NAME="admin_external_net"
Expand All @@ -31,6 +30,7 @@
export OS_NETWORK_ID="$(openstack network create $OS_NETWORK_NAME -f value -c id)"
openstack subnet create --network $OS_NETWORK_ID --subnet-range 10.0.10.0/24 $_NET_PREFIX-subnet
fi
export OS_SUBNET_ID="$(openstack subnet show $_NET_PREFIX-subnet -f value -c id)"
export OS_VPC_ID="$(openstack router show $_NET_PREFIX-vpc -f value -c id)"
if [ -z "$OS_VPC_ID" ]; then
Expand Down
Expand Up @@ -12,7 +12,6 @@
apt-get install python-pip -y
pip install -U python-openstackclient
export OS_SHARE_NETWORK_ID="foobar"
export OS_FLAVOR_ID_RESIZE="t2.small"
export OS_FLAVOR_ID="t2.micro"
export OS_POOL_NAME="admin_external_net"
Expand Down
Expand Up @@ -35,7 +35,6 @@
shopt -s expand_aliases
alias openstack="openstack --insecure"
export OS_SHARE_NETWORK_ID="foobar"
export OS_FLAVOR_ID_RESIZE='rds.s1.medium'
export OS_FLAVOR_ID='rds.c2.medium'
export OS_POOL_NAME="DemoCenter_extenalNet"
Expand Down
Expand Up @@ -33,7 +33,6 @@
echo export OS_POOL_NAME="public" >> openrc
echo export OS_FLAVOR_ID=99 >> openrc
echo export OS_FLAVOR_ID_RESIZE=98 >> openrc
echo export OS_SHARE_NETWORK_ID=foobar >> openrc
source openrc demo demo
popd
# Run the DNS test 100 testcases at a time
Expand Down
Expand Up @@ -32,7 +32,6 @@
echo export OS_POOL_NAME="public" >> openrc
echo export OS_FLAVOR_ID=99 >> openrc
echo export OS_FLAVOR_ID_RESIZE=98 >> openrc
echo export OS_SHARE_NETWORK_ID=foobar >> openrc
source openrc demo demo
popd
Expand Down
Expand Up @@ -32,7 +32,6 @@
echo export OS_POOL_NAME="public" >> openrc
echo export OS_FLAVOR_ID=99 >> openrc
echo export OS_FLAVOR_ID_RESIZE=98 >> openrc
echo export OS_SHARE_NETWORK_ID=foobar >> openrc
echo export OS_USE_OCTAVIA=true >> openrc
source openrc demo demo
popd
Expand Down
Expand Up @@ -15,7 +15,6 @@
set -x
unset OS_DOMAIN_ID
export OS_SHARE_NETWORK_ID="foobar"
export OS_FLAVOR_ID=$(openstack flavor list -f value -c ID -c RAM -c VCPUs --sort-column RAM --sort-column VCPUs | head -n 1 | awk '{print $1}')
export OS_FLAVOR_ID_RESIZE=$(openstack flavor list -f value -c ID -c RAM -c VCPUs --sort-column RAM --sort-column VCPUs | awk '{if($2>=2048 && $3>=1){print $1}}' | head -n 1)
export OS_POOL_NAME="admin_external_net"
Expand Down
Expand Up @@ -69,7 +69,6 @@
# echo export OS_FLAVOR_ID=99 >> openrc
echo export OS_FLAVOR_ID=15 >> openrc
echo export OS_FLAVOR_ID_RESIZE=98 >> openrc
echo export OS_SHARE_NETWORK_ID=foobar >> openrc
source openrc demo demo
popd
Expand Down
Expand Up @@ -34,7 +34,6 @@
echo export OS_POOL_NAME="public" >> openrc
echo export OS_FLAVOR_ID=99 >> openrc
echo export OS_FLAVOR_ID_RESIZE=98 >> openrc
echo export OS_SHARE_NETWORK_ID=foobar >> openrc
echo export OS_DOMAIN_ID=default >> openrc
source openrc demo demo
popd
Expand Down
Expand Up @@ -14,7 +14,6 @@
set -o pipefail
set -x
export OS_SHARE_NETWORK_ID="foobar"
export OS_FLAVOR_ID_RESIZE='computev2-1'
export OS_FLAVOR_ID='computev1-1'
export OS_POOL_NAME="admin_external_net"
Expand Down
Expand Up @@ -12,7 +12,6 @@
apt-get install python-pip -y
pip install -U python-openstackclient
export OS_SHARE_NETWORK_ID="foobar"
export OS_FLAVOR_ID_RESIZE='c2.medium'
export OS_FLAVOR_ID='c1.medium'
export OS_POOL_NAME="admin_external_net"
Expand Down
5 changes: 3 additions & 2 deletions zuul.d/projects.yaml
Expand Up @@ -124,8 +124,9 @@
name: terraform-providers/terraform-provider-openstack
periodic:
jobs:
- terraform-provider-openstack-acceptance-test-telefonica:
branches: master
# NOTES: Telefonica account is disable
# - terraform-provider-openstack-acceptance-test-telefonica:
# branches: master
- terraform-provider-openstack-acceptance-test-opentelekomcloud:
branches: master
- terraform-provider-openstack-acceptance-test-orange:
Expand Down

0 comments on commit 992aece

Please sign in to comment.