Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sacha Brants
infra-azure-provisioning
Commits
0c4ca25a
Commit
0c4ca25a
authored
Nov 17, 2020
by
Daniel Scholl
Browse files
Bug Fix integration tests for service
parent
f50efb92
Changes
2
Hide whitespace changes
Inline
Side-by-side
infra/templates/osdu-r3-mvp/service_resources/override.tfvars
deleted
100644 → 0
View file @
f50efb92
// Copyright © Microsoft Corporation
//
// 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.
/*
.Synopsis
Terraform Variable Override Template
.DESCRIPTION
This file holds a variable override sample to be used by pipelines
*/
/*
prefix = "osdu-mvp"
resource_tags = {
environment = "OSDU Demo"
}
# Kubernetes Settings
kubernetes_version = "1.18.8"
aks_agent_vm_size = "Standard_E4s_v3"
aks_agent_vm_count = "5"
subnet_aks_prefix = "10.10.2.0/23"
*/
infra/templates/osdu-r3-mvp/service_resources/tests/integration/integration_test.go
View file @
0c4ca25a
...
...
@@ -21,7 +21,6 @@ import (
"github.com/gruntwork-io/terratest/modules/terraform"
appGatewayIntegTests
"github.com/microsoft/cobalt/infra/modules/providers/azure/appgw/tests/integration"
redisIntegTests
"github.com/microsoft/cobalt/infra/modules/providers/azure/redis-cache/tests/integration"
storageIntegTests
"github.com/microsoft/cobalt/infra/modules/providers/azure/storage-account/tests/integration"
"github.com/microsoft/cobalt/test-harness/infratests"
)
...
...
@@ -42,7 +41,6 @@ func TestDataEnvironment(t *testing.T) {
TfOptions
:
tfOptions
,
ExpectedTfOutputCount
:
13
,
TfOutputAssertions
:
[]
infratests
.
TerraformOutputValidation
{
storageIntegTests
.
InspectStorageAccount
(
"storage_account"
,
"storage_containers"
,
"services_resource_group_name"
),
redisIntegTests
.
InspectProvisionedCache
(
"redis_name"
,
"services_resource_group_name"
),
redisIntegTests
.
CheckRedisWriteOperations
(
"redis_hostname"
,
"redis_primary_access_key"
,
"redis_ssl_port"
),
appGatewayIntegTests
.
InspectAppGateway
(
"services_resource_group_name"
,
"appgw_name"
,
"keyvault_secret_id"
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment