Skip to content

Commit

Permalink
Use a real public cloud
Browse files Browse the repository at this point in the history
The following changes uses a real public cloud rather than some fake
canonical one.
  • Loading branch information
SimonRichardson committed Jan 7, 2020
1 parent 8b22a9b commit 5efe156
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
13 changes: 6 additions & 7 deletions tests/suites/cli/clouds/public-clouds.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
clouds:
openstack-test:
type: openstack
ec2-test:
type: ec2
auth-types: [userpass]
endpoint: https://openstack-test.com:5000/v3/
regions:
ost01:
endpoint: https://ost01.openstack-test.com:5000/v3
ost02:
endpoint: https://ost02.openstack-test.com:5000/v3
us-east-1:
endpoint: https://ec2.us-east-1.amazonaws.com
us-east-2:
endpoint: https://ec2.us-east-2.amazonaws.com
12 changes: 5 additions & 7 deletions tests/suites/cli/display_clouds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,16 @@ run_show_clouds() {
EXPECTED=$(cat <<'EOF'
{
"defined": "public",
"type": "openstack",
"description": "Openstack Cloud",
"type": "ec2",
"auth-types": [
"userpass"
],
"endpoint": "https://openstack-test.com:5000/v3/",
"regions": {
"ost01": {
"endpoint": "https://ost01.openstack-test.com:5000/v3"
"us-east-1": {
"endpoint": "https://ec2.us-east-1.amazonaws.com"
},
"ost02": {
"endpoint": "https://ost02.openstack-test.com:5000/v3"
"us-east-2": {
"endpoint": "https://ec2.us-east-2.amazonaws.com"
}
}
}
Expand Down

0 comments on commit 5efe156

Please sign in to comment.