Code Monkey home page Code Monkey logo

psci's Introduction

PSCI - Powershell Continuous Integration / Configuration as Code


PSCI is a build and deployment automation library that provides a simple Powershell DSC-like language allowing to express configuration as code. The general flow is presented on the image below: PSCI overview

There are several possibilities to run the deployment code - see Remoting configuration for diagrams:

  • Powershell function run on local machine.
  • Powershell function run on destination machine.
  • DSC configuration run on destination machine.
  • Double-hop deployments - e.g. WebDeploy + DSC.

PSCI provides following features:

  • Simple DSL to describe Environments, Server Roles, Server Connections and Tokens (per-environment parameters).
  • Written entirely in Powershell (requires Powershell 3.0, or 4.0 for DSC support).
  • Provisioning mechanism that is based on Powershell Desired State Configuration resources or custom Powershell functions.
  • Agentless architecture - deployment to remote environments pushes packages and execute code remotely using Powershell Remoting (WinRM) or Web Deploy.
  • Reliable logging mechanism throughout the whole build and deployment process - every step is logged to console, text file and event log (optionally), errors include full stack trace / script lines information and friendly messages.
  • Building and deploying various types of packages (MsDeploy - e.g. ASP.NET MVC or WPF, SQL, DbDeploy, Entity Framework Migrations, SSRS, SSAS, SSIS), easily extensible with new types of packages.
  • Supports several methods of tokenizing configuration files (e.g. Web.config) - directly replace tokens in files (using regex), transform using XDT (Web.<env_name>.config) or use Web Deploy parameterization.
  • Supports Windows Server 2008 R2 SP1 / 7 and above (some available DSC resources like xWebsite have been fixed to work with pre-Server 2012).

Additionally, PSCI.teamcityExtensions provides a set of TeamCity metarunners that make use of PSCI functions.

Why PSCI?

See Why PSCI.

Where to start?


psci's People

Contributors

mgr32 avatar kf-maciejkopec avatar invenis avatar rseniuta avatar kozlowskim avatar kf-radoslawmaziarka avatar pbarczynski-obj avatar tpaszek avatar kf-ryszardseniuta avatar michal-objectivity avatar mbiernacik avatar kreciol avatar castor1502 avatar kf-bartoszszatanik2 avatar raczeja avatar lkuklis avatar lkuklis-o avatar mbienobjectivity avatar czaplos avatar michalkoo avatar

Watchers

James Cloos avatar Marco Stolze 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.