Repository Template Structure
-
Clone the repository to your local machine.
Terminal window git clone https://novonordiskit@dev.azure.com/novonordiskit/GITO-PI_Automation/_git/ARepositoryTemplate_Basic -
Create a empty repository in your Azure DevOps Project and clone that to your pc.
-
Copy the files from “ARepositoryTemplate_Basic” to your new repository.
-
Change the files according to your project requirements.
File Structure Explanation
Section titled “File Structure Explanation”Directory.vscode
- settings.json Good defaults to use in VScode
Directorydocs Developer Portal Documentation folder
- …
Directorymodules Powershell Modules
- Module01
- Module02
Directorypipeline Azure DevOps Pipeline folder
- azure-pipelines.yml Main pipeline file
Directorytest Pester Test folder
- Pester.ps1 File be the pipeline to run the tests
- Pester01.Help.Quality.Tests.ps1 Ensure that all .ps1 files have proper help comments
- Pester02.Module.Help.Quality.Tests.ps1 Ensure that all module files have proper help comments
- Pester03.Code.Quality.Tests.ps1 PSScriptAnalyzer Tests