-
Notifications
You must be signed in to change notification settings - Fork 31
Update to v0.29.0 #151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Update to v0.29.0 #151
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -27,12 +27,21 @@ inputs: | |
| AAD_TENANT_ID: | ||
| description: "The Tenant Id where the App is registered and the Test User is registered for the E2E Tests." | ||
| required: false | ||
| TEST_APP_ID: | ||
| description: "The Test Application Id used to interact with the API." | ||
| required: false | ||
| TEST_ACCOUNT_CLIENT_ID: | ||
| description: "The Test Automation Account Client Id used to interact with the API." | ||
| required: false | ||
| TEST_ACCOUNT_CLIENT_SECRET: | ||
| description: "The Test Automation Account Client Secret used to interact with the API." | ||
| required: false | ||
| TEST_WORKSPACE_APP_ID: | ||
| description: "The Test Workspace application Id used to interact with the API." | ||
| required: false | ||
| TEST_WORKSPACE_APP_SECRET: | ||
| description: "The Test Workspace application secret used to interact with the API." | ||
| required: false | ||
| TRE_ID: | ||
| description: "The TRE Id." | ||
| required: false | ||
|
|
@@ -107,6 +116,9 @@ inputs: | |
| description: "The AppService plan sku used by tests" | ||
| required: false | ||
| default: "" | ||
| RESOURCE_PROCESSOR_VMSS_SKU: | ||
| description: "The SKU of the resource processor VMSS." | ||
| required: false | ||
| RESOURCE_PROCESSOR_NUMBER_PROCESSES_PER_INSTANCE: | ||
| description: "The number of resource processor processes to create for parallel operations" | ||
| required: false | ||
|
|
@@ -181,7 +193,7 @@ runs: | |
| echo "AZURE_ENVIRONMENT=$azure_env" >> $GITHUB_ENV | ||
|
|
||
| - name: Azure Login | ||
| uses: azure/login@v2 | ||
| uses: azure/login@532459ea530d8321f2fb9bb10d1e0bcf23869a43 # v3.0.0 | ||
| if: contains(inputs.COMMAND, 'make bootstrap') != true | ||
| with: | ||
| client-id: ${{ inputs.AZURE_CLIENT_ID }} | ||
|
|
@@ -198,14 +210,14 @@ runs: | |
| - name: Construct TRE_URL | ||
| shell: bash | ||
| run: | | ||
| source .github/scripts/construct_tre_url.sh | ||
| source devops/scripts/construct_tre_url.sh | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| tre_url=$(construct_tre_url "${{ inputs.TRE_ID }}" "${{ inputs.LOCATION }}" "${{ env.AZURE_ENVIRONMENT }}") | ||
| echo "TRE_URL=$tre_url" >> $GITHUB_ENV | ||
|
|
||
| - name: Construct ARM_ENVIRONMENT | ||
| shell: bash | ||
| run: | | ||
| source .github/scripts/convert_azure_env_to_arm_env.sh | ||
| source devops/scripts/convert_azure_env_to_arm_env.sh | ||
| arm_environment=$(convert_azure_env_to_arm_env "${{ env.AZURE_ENVIRONMENT }}") | ||
| echo "ARM_ENVIRONMENT=$arm_environment" >> $GITHUB_ENV | ||
|
|
||
|
|
@@ -275,6 +287,9 @@ runs: | |
| -e TRE_ID="${{ inputs.TRE_ID }}" \ | ||
| -e TF_VAR_tre_id="${{ inputs.TRE_ID }}" \ | ||
| -e TRE_URL="${{ env.TRE_URL }}" \ | ||
| -e TEST_WORKSPACE_APP_ID="${{ inputs.TEST_WORKSPACE_APP_ID }}" \ | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As above. |
||
| -e TEST_WORKSPACE_APP_SECRET="${{ inputs.TEST_WORKSPACE_APP_SECRET }}" \ | ||
| -e TEST_APP_ID="${{ inputs.TEST_APP_ID }}" \ | ||
| -e TEST_ACCOUNT_CLIENT_ID="${{ inputs.TEST_ACCOUNT_CLIENT_ID }}" \ | ||
| -e TEST_ACCOUNT_CLIENT_SECRET="${{ inputs.TEST_ACCOUNT_CLIENT_SECRET }}" \ | ||
| -e IS_API_SECURED=${{ inputs.IS_API_SECURED }} \ | ||
|
|
@@ -291,6 +306,8 @@ runs: | |
| && inputs.RP_BUNDLE_VALUES) || '{}' }}' \ | ||
| -e UI_SITE_NAME="${{ inputs.UI_SITE_NAME }}" \ | ||
| -e UI_FOOTER_TEXT="${{ inputs.UI_FOOTER_TEXT }}" \ | ||
| -e TF_VAR_resource_processor_vmss_sku="${{ (inputs.RESOURCE_PROCESSOR_VMSS_SKU != '' | ||
| && inputs.RESOURCE_PROCESSOR_VMSS_SKU) || 'Standard_B2s' }}" \ | ||
| -e TF_VAR_resource_processor_number_processes_per_instance="${{ (inputs.RESOURCE_PROCESSOR_NUMBER_PROCESSES_PER_INSTANCE != '' | ||
| && inputs.RESOURCE_PROCESSOR_NUMBER_PROCESSES_PER_INSTANCE) || 5 }}" \ | ||
| -e FIREWALL_SKU=${{ inputs.FIREWALL_SKU != '' && inputs.FIREWALL_SKU || 'Standard' }} \ | ||
|
|
||
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,19 +1,25 @@ | ||
| # This is used for TRE tags validation only. | ||
|
|
||
| config { | ||
| module = true | ||
| call_module_type = "local" | ||
| force = false | ||
| } | ||
|
|
||
| plugin "azurerm" { | ||
| enabled = true | ||
| } | ||
|
|
||
| rule "terraform_typed_variables" { | ||
| enabled = false | ||
| version = "0.30.0" | ||
| source = "github.com/terraform-linters/tflint-ruleset-azurerm" | ||
| } | ||
|
|
||
| rule "azurerm_resource_missing_tags" { | ||
| enabled = true | ||
| tags = ["tre_id"] | ||
| } | ||
|
|
||
| rule "terraform_required_version" { | ||
| enabled = false | ||
| } | ||
|
|
||
| rule "azurerm_resources_missing_prevent_destroy" { | ||
| enabled = false | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,15 +1,25 @@ | ||
| # This is used for TRE tags validation only. | ||
|
|
||
| config { | ||
| module = true | ||
| call_module_type = "local" | ||
| force = false | ||
| } | ||
|
|
||
| plugin "azurerm" { | ||
| enabled = true | ||
| version = "0.30.0" | ||
| source = "github.com/terraform-linters/tflint-ruleset-azurerm" | ||
| } | ||
|
|
||
| rule "azurerm_resource_missing_tags" { | ||
| enabled = true | ||
| tags = ["tre_id", "tre_shared_service_id"] | ||
| } | ||
|
|
||
| rule "terraform_required_version" { | ||
| enabled = false | ||
| } | ||
|
|
||
| rule "azurerm_resources_missing_prevent_destroy" { | ||
| enabled = false | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,15 +1,25 @@ | ||
| # This is used for TRE tags validation only. | ||
|
|
||
| config { | ||
| module = true | ||
| call_module_type = "local" | ||
| force = false | ||
| } | ||
|
|
||
| plugin "azurerm" { | ||
| enabled = true | ||
| version = "0.30.0" | ||
| source = "github.com/terraform-linters/tflint-ruleset-azurerm" | ||
| } | ||
|
|
||
| rule "azurerm_resource_missing_tags" { | ||
| enabled = true | ||
| tags = ["tre_id", "tre_workspace_id", "tre_workspace_service_id", "tre_user_resource_id"] | ||
| } | ||
|
|
||
| rule "terraform_required_version" { | ||
| enabled = false | ||
| } | ||
|
|
||
| rule "azurerm_resources_missing_prevent_destroy" { | ||
| enabled = false | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,15 +1,25 @@ | ||
| # This is used for TRE tags validation only. | ||
|
|
||
| config { | ||
| module = true | ||
| call_module_type = "local" | ||
| force = false | ||
| } | ||
|
|
||
| plugin "azurerm" { | ||
| enabled = true | ||
| version = "0.30.0" | ||
| source = "github.com/terraform-linters/tflint-ruleset-azurerm" | ||
| } | ||
|
|
||
| rule "azurerm_resource_missing_tags" { | ||
| enabled = true | ||
| tags = ["tre_id", "tre_workspace_id", "tre_workspace_service_id"] | ||
| } | ||
|
|
||
| rule "terraform_required_version" { | ||
| enabled = false | ||
| } | ||
|
|
||
| rule "azurerm_resources_missing_prevent_destroy" { | ||
| enabled = false | ||
| } |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,19 +1,25 @@ | ||
| # This is used for TRE tags validation only. | ||
|
|
||
| config { | ||
| module = true | ||
| call_module_type = "local" | ||
| force = false | ||
| } | ||
|
|
||
| plugin "azurerm" { | ||
| enabled = true | ||
| } | ||
|
|
||
| rule "terraform_typed_variables" { | ||
| enabled = false | ||
| version = "0.30.0" | ||
| source = "github.com/terraform-linters/tflint-ruleset-azurerm" | ||
| } | ||
|
|
||
| rule "azurerm_resource_missing_tags" { | ||
| enabled = true | ||
| tags = ["tre_id", "tre_workspace_id"] | ||
| } | ||
|
|
||
| rule "terraform_required_version" { | ||
| enabled = false | ||
| } | ||
|
|
||
| rule "azurerm_resources_missing_prevent_destroy" { | ||
| enabled = false | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This, and other test ones aren't needed in deployment repo. Not sure why the account client id and account client secret are there...