forked from Azure/bicep-registry-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
543 changed files
with
37,850 additions
and
3,197 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -1,32 +1,42 @@ | ||
## Description | ||
|
||
<!--Why this PR? What is changed? What is the effect? etc.--> | ||
<!-- | ||
>Thank you for your contribution ! | ||
> Please include a summary of the change and which issue is fixed. | ||
> Please also include the context. | ||
> List any dependencies that are required for this change. | ||
If you haven't already, read the full [contribution guide](https://github.com/Azure/bicep-registry-modules/blob/main/CONTRIBUTING.md). The guide may have changed since the last time you read it, so please double-check. Once you are done and ready to submit your PR, edit the PR description and run through the relevant checklist below. | ||
Fixes #123 | ||
Fixes #456 | ||
Closes #123 | ||
Closes #456 | ||
--> | ||
|
||
Enable GitHub Workflows in your fork to enable auto-generation of assets with our [GitHub Action](/.github/workflows/push-auto-generate.yml). | ||
To trigger GitHub Actions after auto-generation, [add a GitHub PAT](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) as a secret in your forked repository called `PAT`. | ||
## Pipeline Reference | ||
|
||
## Adding a new module | ||
<!-- Insert your Pipeline Status Badge below --> | ||
|
||
<!--Run through the checklist if your PR adds a new module.--> | ||
| Pipeline | | ||
| -------- | | ||
| | | ||
|
||
- [ ] A proposal has been submitted and approved. | ||
- [ ] I have included "Closes #{module_proposal_issue_number}" in the PR description. | ||
- [ ] I have run `brm validate` locally to verify the module files. | ||
- [ ] I have run deployment tests locally to ensure the module is deployable. | ||
## Type of Change | ||
|
||
## Updating an existing module | ||
<!-- Use the check-boxes [x] on the options that are relevant. --> | ||
|
||
<!--Run through the checklist if your PR updates an existing module.--> | ||
- [ ] Update to CI Environment or utlities (Non-module effecting changes) | ||
- [ ] Azure Verified Module updates: | ||
- [ ] Bugfix containing backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in `version.json`: | ||
- [ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description. | ||
- [ ] The bug was found by the module author, and no one has opened an issue to report it yet. | ||
- [ ] Feature update backwards compatible feature updates, and I have bumped the MINOR version in `version.json`. | ||
- [ ] Breaking changes and I have bumped the MAJOR version in `version.json`. | ||
- [ ] Update to documentation | ||
|
||
- [ ] This is a bug fix: | ||
- [ ] Someone has opened a bug report issue, and I have included "Closes #{bug_report_issue_number}" in the PR description. | ||
- [ ] The bug was found by the module author, and no one has opened an issue to report it yet. | ||
- [ ] I have run `brm validate` locally to verify the module files. | ||
- [ ] I have run deployment tests locally to ensure the module is deployable. | ||
- [ ] I have read the [Updating an existing module](https://github.com/Azure/bicep-registry-modules/blob/main/CONTRIBUTING.md#updating-an-existing-module) section in the contributing guide and updated the `version.json` file properly: | ||
- [ ] The PR contains backwards compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in `version.json`. | ||
- [ ] The PR contains backwards compatible feature updates, and I have bumped the MINOR version in `version.json`. | ||
- [ ] The PR contains breaking changes, and I have bumped the MAJOR version in `version.json`. | ||
- [ ] I have updated the examples in README with the latest module version number. | ||
## Checklist | ||
|
||
- [ ] I'm sure there are no other open Pull Requests for the same update/change | ||
- [ ] I have run `Set-AVMModule` locally to generate the supporting module files. | ||
- [ ] My corresponding pipelines / checks run clean and green without any errors or warnings | ||
|
||
<!-- Please keep up to day with the contribution guide at https://aka.ms/avm/contribute/bicep --> |
85 changes: 85 additions & 0 deletions
85
.github/workflows/avm.res.desktop-virtualization.host-pool.yml
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,85 @@ | ||
name: "avm.res.desktop-virtualization.host-pool" | ||
|
||
on: | ||
schedule: | ||
- cron: "0 12 1/15 * *" # Bi-Weekly Test (on 1st & 15th of month) | ||
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 | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- ".github/actions/templates/avm-**" | ||
- ".github/workflows/avm.template.module.yml" | ||
- ".github/workflows/avm.res.desktop-virtualization.host-pool.yml" | ||
- "avm/res/desktop-virtualization/host-pool/**" | ||
- "avm/utilities/pipelines/**" | ||
- "!*/**/README.md" | ||
|
||
env: | ||
modulePath: "avm/res/desktop-virtualization/host-pool" | ||
workflowPath: ".github/workflows/avm.res.desktop-virtualization.host-pool.yml" | ||
|
||
concurrency: | ||
group: ${{ github.workflow }} | ||
|
||
jobs: | ||
########################### | ||
# Initialize pipeline # | ||
########################### | ||
job_initialize_pipeline: | ||
runs-on: ubuntu-latest | ||
name: "Initialize pipeline" | ||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: "Set input parameters to output variables" | ||
id: get-workflow-param | ||
uses: ./.github/actions/templates/avm-getWorkflowInput | ||
with: | ||
workflowPath: "${{ env.workflowPath}}" | ||
- name: "Get module test file paths" | ||
id: get-module-test-file-paths | ||
uses: ./.github/actions/templates/avm-getModuleTestFiles | ||
with: | ||
modulePath: "${{ env.modulePath }}" | ||
outputs: | ||
workflowInput: ${{ steps.get-workflow-param.outputs.workflowInput }} | ||
moduleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.moduleTestFilePaths }} | ||
psRuleModuleTestFilePaths: ${{ steps.get-module-test-file-paths.outputs.psRuleModuleTestFilePaths }} | ||
modulePath: "${{ env.modulePath }}" | ||
|
||
############################## | ||
# Call reusable workflow # | ||
############################## | ||
call-workflow-passing-data: | ||
name: "Run" | ||
permissions: | ||
id-token: write # For OIDC | ||
contents: write # For release tags | ||
needs: | ||
- job_initialize_pipeline | ||
uses: ./.github/workflows/avm.template.module.yml | ||
with: | ||
workflowInput: "${{ needs.job_initialize_pipeline.outputs.workflowInput }}" | ||
moduleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.moduleTestFilePaths }}" | ||
psRuleModuleTestFilePaths: "${{ needs.job_initialize_pipeline.outputs.psRuleModuleTestFilePaths }}" | ||
modulePath: "${{ needs.job_initialize_pipeline.outputs.modulePath}}" | ||
secrets: inherit |
Oops, something went wrong.