Cloudmarque PowerShell Tools for Azure is a collection of PowerShell Cmdlets in the form of a PowerShell module. It can be used to quickly and efficiently provision a working cloud environment aligned to the Cloudmarque Reference Architecture.
Raising an issue
Before starting work on a new feature or bugfix, please review the status of open issues in GitHub.
- If there is already an open issue, review the current status and identify the branch where the issue/feature is being addressed. Fork this branch and communicate with any issue collaborators in the main thread.
- If there is no open issue, create one. Mark it as a bug or enhancement as appropriate, and give as much detail as possible regarding the problem or proposed feature.
You can wait for a member of the community to review and potentially deliver the change, but as an Open Source project you are able to carry the change forward yourself.
To develop new features or make changes, first fork the tooling repository to your own account by clicking on “Fork”, and selecting your desired account. This will create a copy of the tooling repository in your GitHub acount.
You can then clone this repository to your local development machine using
git clone, along the lines of:
git clone https://github.com/[ACCOUNT]/cloudmarque-docs.git
Next, create a new branch to hold your edits. Give this a clear name which describes the types of edit you want to make. If you intend to make a number of independent edits then consider creating separate branches for each set of related changes. These can then be reviewed and potentially merged in smaller chunks.
git checkout -b [BRANCHNAME]
Add the main Cloudmarque repository as an upstream source. This will allow you to pull and merge any changes that are made to content while you make your edits.
git remote add upstream https://github.com/Trustmarque/cloudmarque-azure-pwsh.git
. .\init.ps1 # Loads the helper CmdLets
Sync-CloudmarqueAzure- Reloads the module into the current session to make changes visible.
Test-CloudmarqueAzure- Runs Pester tests (including code style analysis).
Build-CloudmarqueAzure- Refreshes the PowerShell module manifest with public functions.
Please validate that all Pester tests pass before submitting your pull request for review. To run these, use
Test-CloudmarqueAzure. Where possible, add your own tests to verify key functionality of any cmdlets you have changed or added.
When you are happy with your changes, commit them with a descriptive message:
git commit -S -m "New wordage is of bester"
Push your changes to your forked repository:
git push -u origin [BRANCHNAME]
Navigate to the Cloudmarque GitHub repository and in the Pull Requests tab, select New pull request. Click Compare across forks if you don’t see your own repository. Select the relevant branch, then fill in a title and then explain the changes that you’ve made, and why you’ve made them. For each pull request (PR) please include:
- Your motivation for making changes.
- A paragraph stating how widespread the changes are.
- Whether imagery/diagrams need to be updated, and whether these are included in the PR.
- Links or references evidencing that any guidance or advice is best practise (or otherwise).
- A picture of a cute animal is not mandatory, but encouraged.
We’ll then review the changes and use the Pull Request thread to communicate whether we’re in a position to merge the contribution.
Contributor Licence Agreement
Before your contribution is merged to Cloudmarque we ask that you complete a Contributor Licence Agreement. This allows you to retain copyright of the contributed material while promising not to exercise typical powers that copyright implies, enabling the community to be confident that their use of Cloudmarque is free from legal encumberances.
Once merged, your contribution will be automatically built. We don’t publish every build to the Cloudmarque.Azure PowerShell Gallery, but your change should be included in the next major release.
Edit this page on GitHub
The content on this page is published under Open Source licenses via GitHub. To submit issues or provide feedback please visit the repository.Visit