azure-pipelines.yml [159:192]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - script: |
        ssh-keygen -f id_rsa -t rsa -N "bedrock@microsoft.com"
        export ssh_key=$(readlink -f id_rsa.pub)
        export public_key=$(cat id_rsa.pub)
        find $(modulePath)/cluster/environments/azure-single-keyvault -type f -name '*.tf' -exec sed -i 's/github.com\/Microsoft\/bedrock\/cluster/..\/../g' {} \;
        go test -v -run TestIT_Bedrock_AzureCommon_KV_Test -timeout 99999s
      env:
        ARM_CLIENT_ID: $(ARM_CLIENT_ID)
        ARM_CLIENT_OBJECT_ID: $(ARM_CLIENT_OBJECT_ID)
        ARM_CLIENT_SECRET: $(ARM_CLIENT_SECRET)
        ARM_SUBSCRIPTION_ID: $(ARM_SUBSCRIPTION_ID)
        ARM_TENANT_ID: $(ARM_TENANT_ID)
        ARM_BACKEND_STORAGE_NAME: $(ARM_BACKEND_STORAGE_NAME)
        ARM_BACKEND_STORAGE_KEY: $(ARM_BACKEND_STORAGE_KEY)
        ARM_BACKEND_STORAGE_CONTAINER: $(ARM_BACKEND_STORAGE_CONTAINER)
      workingDirectory: '$(modulePath)/test'
      displayName: 'Integration Test: Bedrock_Azure-Common-KeyVault '

  - job: Bedrock_Test_MULTIPLE
    dependsOn: Bedrock_Init_Validate
    condition: and(succeeded(), or(eq(dependencies.Bedrock_Init_Validate.outputs['Whitelist_Bedrock.AZ_COMMON_MC_TEST'], 'true'), eq(dependencies.Bedrock_Init_Validate.outputs['Whitelist_Bedrock.ALL_IT_TESTS'], 'true')))
    displayName: Bedrock_Build_Azure_Multiple_Clusters
    timeoutInMinutes: 60
    pool:
      vmImage: 'Ubuntu-16.04'
      timeoutInMinutes: 60

    variables:
      GOBIN:  '$(GOPATH)/bin' # Go binaries path
      GOROOT: '/usr/local/go1.13' # Go installation path
      GOPATH: '$(system.defaultWorkingDirectory)/gopath' # Go workspace path
      modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code

    steps:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



pipelines/bedrock-scheduled.yml [119:152]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - script: |
        ssh-keygen -f id_rsa -t rsa -N "bedrock@microsoft.com"
        export ssh_key=$(readlink -f id_rsa.pub)
        export public_key=$(cat id_rsa.pub)
        find $(modulePath)/cluster/environments/azure-single-keyvault -type f -name '*.tf' -exec sed -i 's/github.com\/Microsoft\/bedrock\/cluster/..\/../g' {} \;
        go test -v -run TestIT_Bedrock_AzureCommon_KV_Test -timeout 99999s
      env:
        ARM_CLIENT_ID: $(ARM_CLIENT_ID)
        ARM_CLIENT_OBJECT_ID: $(ARM_CLIENT_OBJECT_ID)
        ARM_CLIENT_SECRET: $(ARM_CLIENT_SECRET)
        ARM_SUBSCRIPTION_ID: $(ARM_SUBSCRIPTION_ID)
        ARM_TENANT_ID: $(ARM_TENANT_ID)
        ARM_BACKEND_STORAGE_NAME: $(ARM_BACKEND_STORAGE_NAME)
        ARM_BACKEND_STORAGE_KEY: $(ARM_BACKEND_STORAGE_KEY)
        ARM_BACKEND_STORAGE_CONTAINER: $(ARM_BACKEND_STORAGE_CONTAINER)
      workingDirectory: '$(modulePath)/test'
      displayName: 'Integration Test: Bedrock_Azure-Common-KeyVault '

  - job: Bedrock_Test_MULTIPLE
    dependsOn: Bedrock_Init_Validate
    condition: and(succeeded(), or(eq(dependencies.Bedrock_Init_Validate.outputs['Whitelist_Bedrock.AZ_COMMON_MC_TEST'], 'true'), eq(dependencies.Bedrock_Init_Validate.outputs['Whitelist_Bedrock.ALL_IT_TESTS'], 'true')))
    displayName: Bedrock_Build_Azure_Multiple_Clusters
    timeoutInMinutes: 60
    pool:
      vmImage: 'Ubuntu-16.04'
      timeoutInMinutes: 60

    variables:
      GOBIN:  '$(GOPATH)/bin' # Go binaries path
      GOROOT: '/usr/local/go1.13' # Go installation path
      GOPATH: '$(system.defaultWorkingDirectory)/gopath' # Go workspace path
      modulePath: '$(GOPATH)/src/github.com/$(build.repository.name)' # Path to the module's code

    steps:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



