Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Add e2e test for openshift vnet
Browse files Browse the repository at this point in the history
  • Loading branch information
ritazh committed May 18, 2018
1 parent 49ebb20 commit b8e45d4
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,8 @@ jobs:
echo 'export DISTRO=openshift39_rhel' >> $BASH_ENV
echo 'export LOCATION=eastus' >> $BASH_ENV
echo 'export ORCHESTRATOR_RELEASE=3.9' >> $BASH_ENV
echo 'export CLUSTER_DEFINITION=examples/openshift.json' >> $BASH_ENV
echo 'export CREATE_VNET=false' >> $BASH_ENV
echo 'export CLUSTER_DEFINITION=examples/e2e-tests/openshift/definition.json' >> $BASH_ENV
echo 'export CREATE_VNET=true' >> $BASH_ENV
echo 'export CLEANUP_ON_EXIT=false' >> $BASH_ENV
echo 'export RETAIN_SSH=false' >> $BASH_ENV
echo 'export SUBSCRIPTION_ID=${SUBSCRIPTION_ID_E2E_KUBERNETES}' >> $BASH_ENV
Expand Down
72 changes: 72 additions & 0 deletions examples/e2e-tests/openshift/definition.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"apiVersion": "vlabs",
"properties": {
"orchestratorProfile": {
"orchestratorType": "OpenShift",
"openShiftConfig": {
"clusterUsername": "",
"clusterPassword": "",
"enableAADAuthentication": false
}
},
"azProfile": {
"tenantId": "",
"subscriptionId": "",
"resourceGroup": "",
"location": ""
},
"masterProfile": {
"count": 1,
"dnsPrefix": "",
"imageReference": {
"name": "",
"resourceGroup": ""
},
"storageProfile": "ManagedDisks",
"vmSize": "Standard_D4s_v3",
"vnetSubnetId": "/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/virtualNetworks/VNET_NAME/subnets/SUBNET_NAME",
"firstConsecutiveStaticIP": "10.239.0.239"
},
"agentPoolProfiles": [
{
"availabilityProfile": "AvailabilitySet",
"count": 1,
"imageReference": {
"name": "",
"resourceGroup": ""
},
"name": "compute",
"storageProfile": "ManagedDisks",
"vmSize": "Standard_D4s_v3",
"vnetSubnetId": "/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/virtualNetworks/VNET_NAME/subnets/SUBNET_NAME"
},
{
"availabilityProfile": "AvailabilitySet",
"count": 1,
"imageReference": {
"name": "",
"resourceGroup": ""
},
"role": "infra",
"name": "infra",
"storageProfile": "ManagedDisks",
"vmSize": "Standard_D4s_v3",
"vnetSubnetId": "/subscriptions/SUB_ID/resourceGroups/RG_NAME/providers/Microsoft.Network/virtualNetworks/VNET_NAME/subnets/SUBNET_NAME"
}
],
"linuxProfile": {
"adminUsername": "cloud-user",
"ssh": {
"publicKeys": [
{
"keyData": ""
}
]
}
},
"servicePrincipalProfile": {
"clientId": "",
"secret": ""
}
}
}

0 comments on commit b8e45d4

Please sign in to comment.