{"id":13599120,"url":"https://github.com/andrewmatveychuk/powershell.sample-module","last_synced_at":"2025-04-10T12:31:32.590Z","repository":{"id":118813385,"uuid":"250254211","full_name":"andrewmatveychuk/powershell.sample-module","owner":"andrewmatveychuk","description":"Sample CI/CD pipeline for PowerShell module","archived":false,"fork":false,"pushed_at":"2023-02-23T15:52:35.000Z","size":61,"stargazers_count":25,"open_issues_count":1,"forks_count":17,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-02T17:36:10.695Z","etag":null,"topics":["azure-pipelines","invoke-build","pester","powershell","psdepend","psscriptanalyzer"],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewmatveychuk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-03-26T12:36:49.000Z","updated_at":"2024-07-26T09:47:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"3f5defb3-bf8d-46d0-8e3b-958f8d56bc47","html_url":"https://github.com/andrewmatveychuk/powershell.sample-module","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmatveychuk%2Fpowershell.sample-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmatveychuk%2Fpowershell.sample-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmatveychuk%2Fpowershell.sample-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewmatveychuk%2Fpowershell.sample-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewmatveychuk","download_url":"https://codeload.github.com/andrewmatveychuk/powershell.sample-module/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223437326,"owners_count":17144896,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure-pipelines","invoke-build","pester","powershell","psdepend","psscriptanalyzer"],"created_at":"2024-08-01T17:00:59.935Z","updated_at":"2024-11-07T00:30:47.587Z","avatar_url":"https://github.com/andrewmatveychuk.png","language":"PowerShell","readme":"# powershell.sample-module\n\nA sample CI/CD pipeline for a PowerShell module.\n\nBefore starting to work with this sample project, I suggest reading the information in the following blog posts:\n\n* [A sample CI/CD pipeline for PowerShell module](https://andrewmatveychuk.com/a-sample-ci-cd-pipeline-for-powershell-module/)\n\n## Build Status\n\n[![Build Status](https://dev.azure.com/matveychuk/powershell.sample-module/_apis/build/status/andrewmatveychuk.powershell.sample-module?branchName=master)](https://dev.azure.com/matveychuk/powershell.sample-module/_build/latest?definitionId=4\u0026branchName=master)\n\n[![SampleModule package in AMGallery feed in Azure Artifacts](https://feeds.dev.azure.com/matveychuk/cb70e260-566b-4d91-9f8f-81840641e8f3/_apis/public/Packaging/Feeds/86bae25a-d541-4a81-957a-21549283fca5/Packages/683d9381-327e-4f38-9539-2c2746f52cb3/Badge)](https://dev.azure.com/matveychuk/powershell.sample-module/_packaging?_a=package\u0026feed=86bae25a-d541-4a81-957a-21549283fca5\u0026package=683d9381-327e-4f38-9539-2c2746f52cb3\u0026preferRelease=true)\n\n## Introduction\n\nThis repository contains the source code for a sample PowerShell module along with Azure DevOps pipeline configuration to perform all build, test and publish tasks.\n\n## Getting Started\n\nClone the repository to your local machine and look for project artifacts in the following locations:\n\n* [SampleModule](https://github.com/andrewmatveychuk/powershell.sample-module/tree/master/SampleModule) - source code for the module itself along with tests\n* [SampleModule.build.ps1](https://github.com/andrewmatveychuk/powershell.sample-module/blob/master/SampleModule.build.ps1) - build script for the module\n* [SampleModule.depend.psd1](https://github.com/andrewmatveychuk/powershell.sample-module/blob/master/SampleModule.depend.psd1) - managing module dependencies with PSDepend\n* build - this folder will be created during the build process and will contain the build artifacts\n\n## Build and Test\n\nThis project uses [InvokeBuild](https://github.com/nightroman/Invoke-Build) module to automate build tasks such as running test, performing static code analysis, building the module, etc.\n\n* To build the module, run: Invoke-Build\n* To see other build options: Invoke-Build ?\n\n## Suggested tools\n\n* Editing - [Visual Studio Code](https://github.com/Microsoft/vscode)\n* Runtime - [PowerShell Core](https://github.com/powershell)\n* Build tool - [InvokeBuild](https://github.com/nightroman/Invoke-Build)\n* Dependency management - [PSDepend](https://github.com/RamblingCookieMonster/PSDepend)\n* Testing - [Pester](https://github.com/Pester/Pester)\n* Code coverage - [Pester](https://pester.dev/docs/usage/code-coverage)\n* Static code analysis - [PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer)\n","funding_links":[],"categories":["PowerShell"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewmatveychuk%2Fpowershell.sample-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewmatveychuk%2Fpowershell.sample-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewmatveychuk%2Fpowershell.sample-module/lists"}