-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for Cloud Block Store on Azure deployment for Pure Fusion, cbs_fusion_sec_azure resource, cbs_azure_plans data source and updated purity version Co-authored-by: Tomas Simacek <[email protected]>
- Loading branch information
Showing
445 changed files
with
5,201 additions
and
1,389 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/* | ||
Copyright 2022, Pure Storage Inc. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
|
||
package acceptance | ||
|
||
const ( | ||
// Environment variable for controlling the Azure acceptance tests | ||
// related to deploying an app from the Azure Marketplace | ||
EnvTfAccAzureSkipMarketplace = "TC_ACC_SKIP_AZURE_MARKETPLACE" | ||
|
||
// Environment variable controlling if the Azure acceptance tests | ||
// for user az cli login should be run. This testing is not available | ||
// when using Service Principal auth. | ||
EnvTfAccSkipUserPrincipalAuth = "TF_ACC_SKIP_USER_PRINCIPAL_AUTH" | ||
|
||
// Environment variable for controlling the Azure acceptance tests | ||
// related to deploying an CBS Fusion app from an App Definition | ||
EnvTfAccAzureSkipFusionAppId = "TC_ACC_SKIP_AZURE_FUSION_APP_ID" | ||
|
||
// Environment variable controlling if the Fusion Storage Endpoint | ||
// Collection Azure acceptance tests should be run. | ||
EnvTfAccSkipFusionSECAzure = "TF_ACC_SKIP_FUSION_SEC_AZURE" | ||
|
||
// Enviromment variable with path to the Azure acceptance tests | ||
// parameters file in json format | ||
EnvTfAccAzureParamsPath = "TEST_ACC_AZURE_PARAMS_PATH" | ||
|
||
// Enviromment variable with path to the Fusion Storage Endpoint | ||
// Collection Azure acceptance tests parameters file in json format | ||
EnvTfAccFusionSECAzureParamsPath = "TEST_ACC_FUSION_SEC_AZURE_PARAMS_PATH" | ||
|
||
// Environment variable with path to the AWS acceptance tests | ||
// parameters file in json format | ||
EnvTfAccAwsParamsPath = "TEST_ACC_AWS_PARAMS_PATH" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
package acceptance | ||
|
||
type AccTestCbsAwsParams struct { | ||
ArrayName string `json:"array_name"` | ||
ArrayModel string `json:"array_model"` | ||
DeploymentTemplateUrl string `json:"deployment_template_url"` | ||
DeploymentRoleArn string `json:"deployment_role_arn"` | ||
LicenseKey string `json:"license_key"` | ||
PureuserKeyPairName string `json:"pureuser_key_pair_name"` | ||
PureuserPrivateKeyPath string `json:"pureuser_private_key_path"` | ||
PureuserPrivateKey string `json:"pureuser_private_key"` | ||
Subnet string `json:"subnet"` | ||
SecurityGroup string `json:"security_group"` | ||
} | ||
|
||
type AccTestCbsAzureParams struct { | ||
ArrayName string `json:"array_name"` | ||
ArrayModel string `json:"array_model"` | ||
AppDefinitionId string `json:"app_definition_id"` | ||
PlanName string `json:"plan_name"` | ||
PlanProduct string `json:"plan_product"` | ||
PlanPublisher string `json:"plan_publisher"` | ||
PlanVersion string `json:"plan_version"` | ||
ResourceGroupName string `json:"resource_group_name"` | ||
Location string `json:"location"` | ||
LicenseKey string `json:"license_key"` | ||
PureuserPrivateKeyPath string `json:"pureuser_private_key_path"` | ||
PureuserPrivateKey string `json:"pureuser_private_key"` | ||
KeyvaultId string `json:"keyvault_id"` | ||
ManagementSubnet string `json:"management_subnet"` | ||
ISCSISubnet string `json:"iscsi_subnet"` | ||
ReplicationSubnet string `json:"replication_subnet"` | ||
SystemSubnet string `json:"system_subnet"` | ||
VirtualNetworkId string `json:"virtual_network_id"` | ||
JitGroup string `json:"jit_group"` | ||
JitGroupID string `json:"jit_group_id"` | ||
FusionSECIdentity string `json:"fusion_sec_identity"` | ||
} | ||
|
||
type AccTestCbsFusionSECAzureParams struct { | ||
FusionSECName string `json:"fusion_sec_name"` | ||
PlanName string `json:"plan_name"` | ||
PlanProduct string `json:"plan_product"` | ||
PlanPublisher string `json:"plan_publisher"` | ||
PlanVersion string `json:"plan_version"` | ||
ResourceGroupName string `json:"resource_group_name"` | ||
Location string `json:"location"` | ||
LoadBalancerNetworkRg string `json:"load_balancer_network_rg"` | ||
LoadBalancerNetworkName string `json:"load_balancer_network_name"` | ||
LoadBalancerSubnet string `json:"load_balancer_subnet"` | ||
JitGroupID string `json:"jit_group_id"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.