Giter Site home page Giter Site logo

codacy-badger / pipelinesascode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nateduff/pipelinesascode

0.0 0.0 0.0 10 KB

The purpose of this library is to provide Azure DevOps pipeline administrators with a way to define and maintain both Build and Release Definitions with YML files for configuration/infrastructure as code.

PowerShell 100.00%

pipelinesascode's Introduction

Pipelines As Code

codecov Codacy Badge Build Status Release Status AzureRM

The purpose of this library is to provide Azure DevOps pipeline administrators with a way to define and maintain both Build and Release Definitions with YML files for configuration/infrastructure as code.

Prerequisites

  • PowerShellGet
  • Microsoft Account
  • Azure DevOps Account
  • Azure DevOps Project

2 Guides Available: Module Only or Full Project)

Getting Started - Module Only

These instructions will get you an updated copy of the module downloaded to your local machine and walk you through creating your first YML Build and Release Definitions!

Installation - Module Only

Install the latest version of the module from the PowerShell Gallery:

Install-Module PipelinesAsCode

Once you've installed this module to your local system you should be able to use the functions and commandlets provided:

Import-Module PipelinesAsCode

Get-Command -Module PipelinesAsCode

Getting Started - Full Project

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See Module Only section for notes on how to use the module on a live system.

Installation - Full Project

Step by step instructions for how to install this project and the required dependencies to your local machine

Install the latest version of the module from the PowerShell Gallery:

Install-Module PipelinesAsCode

Install Pester for running PowerShell unit tests from the PowerShell Gallery:

Install-Module Pester

Once you've installed these modules to your local system you should be able to use the functions and commandlets provided:

Import-Module Pester, PipelinesAsCode

Get-Command -Module Pester, PipelinesAsCode

Execute Tests

Once you have the project and Pester module installed, open PowerShell and navigate to the project directory:

Set-Location $HOME/source/repos/PipelinesAsCode

Once you have the test scripts pointed at your AzureDevOps instance you can go ahead and run the tests using Pester:

Invoke-Pester .\PipelinesAsCode.Tests.ps1

Development References

Module References

  • YamlDotNet - .NET library to help convert YML to PowerShell objects

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

pipelinesascode's People

Contributors

nateduff avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.