Skip to content
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

[Modules] New module Microsoft.Insights webtests #3042

Merged
merged 63 commits into from
Apr 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
e861360
Update settings.yml
shaban-khan Mar 6, 2023
c8a6b60
Merge branch 'Azure:main' into main
shaban-khan Mar 15, 2023
fb4a8fb
EventGrid DomainTopic module added
shaban-khan Mar 16, 2023
ed67126
DomaintTopics module's readme.md file update
shaban-khan Mar 16, 2023
8382a54
Update modules/Microsoft.EventGrid/domainTopics/readme.md
shaban-khan Mar 16, 2023
f7c5d13
Update modules/Microsoft.EventGrid/domainTopics/readme.md
shaban-khan Mar 16, 2023
fdda50e
Update settings.yml
shaban-khan Mar 16, 2023
87391d6
Update settings.yml
shaban-khan Mar 16, 2023
6cee8bb
Update modules/Microsoft.EventGrid/domainTopics/.test/common/dependen…
shaban-khan Mar 16, 2023
d815e44
updated role assigment code
shaban-khan Mar 16, 2023
34fdb81
Added Topics module under Domainst
shaban-khan Mar 17, 2023
4d58404
Service connection updated
shaban-khan Mar 17, 2023
c3d5989
updated service connetion
shaban-khan Mar 17, 2023
14ea0bb
Update modules/Microsoft.EventGrid/domains/topics/deploy.bicep
shaban-khan Mar 17, 2023
04adb55
Update modules/Microsoft.EventGrid/domains/topics/deploy.bicep
shaban-khan Mar 17, 2023
da7bdc4
Update modules/Microsoft.EventGrid/domains/deploy.bicep
shaban-khan Mar 17, 2023
226deec
Update modules/Microsoft.EventGrid/domains/topics/readme.md
shaban-khan Mar 17, 2023
9084d66
Update modules/Microsoft.EventGrid/domains/topics/readme.md
shaban-khan Mar 17, 2023
811539e
Update modules/Microsoft.EventGrid/domainTopics/.bicep/nested_roleAss…
shaban-khan Mar 17, 2023
2883010
Update modules/Microsoft.EventGrid/domainTopics/.bicep/nested_roleAss…
shaban-khan Mar 17, 2023
5d2a14c
Update modules/Microsoft.EventGrid/domainTopics/.bicep/nested_roleAss…
shaban-khan Mar 17, 2023
b7801c5
Update topics child module
shaban-khan Mar 17, 2023
e58bdaf
update
shaban-khan Mar 17, 2023
503f69f
update
shaban-khan Mar 17, 2023
403e1d9
update
shaban-khan Mar 20, 2023
86156ba
Try to fix issue in domains module
shaban-khan Mar 20, 2023
55148a9
service connection update
shaban-khan Mar 20, 2023
d1a8131
update
shaban-khan Mar 20, 2023
1ece2c7
updated settings.yml file
shaban-khan Mar 21, 2023
f7d1d61
added new module webTests
shaban-khan Mar 23, 2023
56885ee
Update modules/Microsoft.EventGrid/domains/deploy.bicep
shaban-khan Mar 27, 2023
41553a9
Update modules/Microsoft.Insights/webTests/readme.md
shaban-khan Mar 27, 2023
c35ca7e
Update modules/Microsoft.Insights/webTests/readme.md
shaban-khan Mar 27, 2023
1dc40a9
Update modules/Microsoft.Insights/webTests/deploy.bicep
shaban-khan Mar 27, 2023
8b2b704
Update modules/Microsoft.Insights/webTests/deploy.bicep
shaban-khan Mar 27, 2023
dc63823
Update modules/Microsoft.Insights/webTests/deploy.bicep
shaban-khan Mar 27, 2023
0a118d4
Update modules/Microsoft.Insights/webTests/deploy.bicep
shaban-khan Mar 27, 2023
3eff405
Update modules/Microsoft.Insights/webTests/deploy.bicep
shaban-khan Mar 27, 2023
2147779
Update modules/Microsoft.Insights/webTests/deploy.bicep
shaban-khan Mar 27, 2023
0f995d3
Update modules/Microsoft.Insights/webTests/deploy.bicep
shaban-khan Mar 27, 2023
742fa4e
Update modules/Microsoft.Insights/webTests/deploy.bicep
shaban-khan Mar 27, 2023
c0d8625
Update modules/Microsoft.Insights/webTests/.test/min/deploy.test.bicep
shaban-khan Mar 27, 2023
bf31d50
Update modules/Microsoft.Insights/webTests/.test/min/dependencies.bicep
shaban-khan Mar 27, 2023
4e4168e
Merge branch 'Azure:main' into main
shaban-khan Mar 27, 2023
221c25c
updated the moduel as per PR comment
shaban-khan Mar 27, 2023
b6e04d8
updated readme.md file
shaban-khan Mar 27, 2023
836acf6
updated topics module as per comment in PR
shaban-khan Mar 27, 2023
cfe44d8
update the setting.yaml file
shaban-khan Mar 27, 2023
b328c66
Update modules/Microsoft.Insights/webTests/deploy.bicep
shaban-khan Mar 28, 2023
ee0a434
Update modules/Microsoft.Insights/webTests/deploy.bicep
shaban-khan Mar 28, 2023
4dd5ae3
Update modules/Microsoft.Insights/webTests/deploy.bicep
shaban-khan Mar 28, 2023
36e2078
Updated as per PR comment
shaban-khan Mar 28, 2023
cb8cafa
updated the module
shaban-khan Mar 28, 2023
ab343d2
Update modules/Microsoft.Insights/webTests/deploy.bicep
shaban-khan Apr 3, 2023
37639b1
Updated module's Tag description
shaban-khan Apr 3, 2023
087a7c6
Updated readme.md file
shaban-khan Apr 3, 2023
28efcfc
Updated readme.md file
shaban-khan Apr 3, 2023
423e37b
setting.yml file updated
shaban-khan Apr 3, 2023
1d72be2
updated setting.yml file
shaban-khan Apr 3, 2023
10dc57d
Update modules/Microsoft.Insights/webTests/.test/min/deploy.test.bicep
shaban-khan Apr 3, 2023
182612b
Updated readme.md file
shaban-khan Apr 3, 2023
62a82d6
updated service connection
shaban-khan Apr 3, 2023
90bcca3
Update settings.yml
shaban-khan Apr 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .azuredevops/modulePipelines/ms.insights.webtests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: 'Insights - Web Tests'

parameters:
- name: staticValidation
displayName: Execute static validation
type: boolean
default: true
- name: deploymentValidation
displayName: Execute deployment validation
type: boolean
default: true
- name: removeDeployment
displayName: Remove deployed module
type: boolean
default: true
- name: prerelease
displayName: Publish prerelease module
type: boolean
default: false

pr: none

trigger:
batch: true
branches:
include:
- main
paths:
include:
- '/.azuredevops/modulePipelines/ms.insights.webtests.yml'
- '/.azuredevops/pipelineTemplates/*.yml'
- '/modules/Microsoft.Insights/webTests/*'
- '/utilities/pipelines/*'
exclude:
- '/utilities/pipelines/deploymentRemoval/*'
- '/**/*.md'

variables:
- template: '../../settings.yml'
- group: 'PLATFORM_VARIABLES'
- name: modulePath
value: '/modules/Microsoft.Insights/webTests'

stages:
- template: /.azuredevops/pipelineTemplates/stages.module.yml
parameters:
staticValidation: '${{ parameters.staticValidation }}'
deploymentValidation: '${{ parameters.deploymentValidation }}'
removeDeployment: '${{ parameters.removeDeployment }}'
prerelease: '${{ parameters.prerelease }}'
84 changes: 84 additions & 0 deletions .github/workflows/ms.insights.webtests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
name: 'Insights - Web Tests'

on:
workflow_dispatch:
inputs:
staticValidation:
type: boolean
description: 'Execute static validation'
required: false
default: true
deploymentValidation:
type: boolean
description: 'Execute deployment validation'
required: false
default: true
removeDeployment:
type: boolean
description: 'Remove deployed module'
required: false
default: true
prerelease:
type: boolean
description: 'Publish prerelease module'
required: false
default: false
push:
branches:
- main
paths:
- '.github/actions/templates/**'
- '.github/workflows/template.module.yml'
- '.github/workflows/ms.insights.webtests.yml'
- 'modules/Microsoft.Insights/webTests/**'
- 'utilities/pipelines/**'
- '!utilities/pipelines/deploymentRemoval/**'
- '!*/**/readme.md'

env:
modulePath: 'modules/Microsoft.Insights/webTests'
workflowPath: '.github/workflows/ms.insights.webtests.yml'

concurrency:
group: ${{ github.workflow }}

jobs:
###########################
# Initialize pipeline #
###########################
job_initialize_pipeline:
runs-on: ubuntu-20.04
name: 'Initialize pipeline'
steps:
- name: 'Checkout'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Set input parameters to output variables'
id: get-workflow-param
uses: ./.github/actions/templates/getWorkflowInput
with:
workflowPath: '${{ env.workflowPath}}'
- name: 'Get parameter file paths'
id: get-module-test-file-paths
uses: ./.github/actions/templates/getModuleTestFiles
with:
modulePath: '${{ env.modulePath }}'
outputs:
workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }}
moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }}
modulePath: '${{ env.modulePath }}'

##############################
# Call reusable workflow #
##############################
call-workflow-passing-data:
name: 'Module'
needs:
- job_initialize_pipeline
uses: ./.github/workflows/template.module.yml
with:
workflowInput: '${{ needs.job_initialize_pipeline.outputs.workflowInput }}'
moduleTestFilePaths: '${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}'
modulePath: '${{ needs.job_initialize_pipeline.outputs.modulePath}}'
secrets: inherit
2 changes: 1 addition & 1 deletion modules/Microsoft.EventGrid/domains/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ param diagnosticMetricsToEnable array = [
@description('Optional. The name of the diagnostic setting, if deployed. If left empty, it defaults to "<resourceName>-diagnosticSettings".')
param diagnosticSettingsName string = ''

@description('Optional. The topics name which associated with domain.')
@description('Optional. The topic names which are associated with the domain.')
eriqua marked this conversation as resolved.
Show resolved Hide resolved
param topics array = []

var enableReferencedModulesTelemetry = false
Expand Down
2 changes: 1 addition & 1 deletion modules/Microsoft.EventGrid/domains/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ This module deploys EventGrid Domains.
| `publicNetworkAccess` | string | `''` | `['', Disabled, Enabled]` | Whether or not public network access is allowed for this resource. For security reasons it should be disabled. If not specified, it will be disabled by default if private endpoints are set and inboundIpRules are not set. |
| `roleAssignments` | array | `[]` | | Array of role assignment objects that contain the 'roleDefinitionIdOrName' and 'principalId' to define RBAC role assignments on this resource. In the roleDefinitionIdOrName attribute, you can provide either the display name of the role definition, or its fully qualified ID in the following format: '/providers/Microsoft.Authorization/roleDefinitions/c2f4ef07-c644-48eb-af81-4b1b4947fb11'. |
| `tags` | object | `{object}` | | Tags of the resource. |
| `topics` | _[topics](topics/readme.md)_ array | `[]` | | The topics name which associated with domain. |
| `topics` | _[topics](topics/readme.md)_ array | `[]` | | The topic names which are associated with the domain. |


### Parameter Usage: `privateEndpoints`
Expand Down
Loading