Giter Club home page Giter Club logo

sfdx-azure-pipeline's Introduction

Status

Salesforce Azure Dev Ops Demo

Laying A Pipeline For The Future

The following repository contains sample code and configuration to run a full end-to-end Salesforce release pipeline using Azure Dev Ops.

This implementation has been based on the great work done by Stafford Williams in his public blog post. This particular implementation relies heavily on SF Power Scripts, which is handy SFDX cli wrapper specifically attuned to Azure DevOps' lingo. Right!

Set Up

  1. First fork the repo
  2. Install SF Power Scripts extension into your Azure DevOps instance.
  3. Build a new pipeline in Azure DevOps
  4. Connect to your forked repo, and when choosing the project type, point to the yaml file inside
  5. Edit the pipeline config and ensure that the tasks you're using are properly aligned
  6. Make sure your pipeline has the variables SalesforceUsername, SalesforcePassword, and SalesforceSecurityToken defined for it.
  7. Ensure that the versions and attributes for each task align with whatever updates have happened on the extension's task APIs.
  8. Run the pipeline.

What It Does

This pipeline is set up to do the following whenever the master branch of the repo is updated:

  1. Authenticate with an org
  2. Push source from the master branch of the repo to the org
  3. Run tests and validate
  4. Clean up

Salesforce 101

Oh, and if you're not familiar with the whole Security Token thing, you can retrieve your Token from the user profile page of your user in the Salesforce org. Alternatively, you can turn off IP protections on the Salesforce side to allow all kinds of willy-nilly madness, but why would you do that?

To Do

  • Create a multi-stage pipeline that includes a sandbox environment
  • Run tests in sandbox prior to prod deploy

Warranties et al.

Made with love. Use with care. No warranties, etc.

sfdx-azure-pipeline's People

Contributors

frankcaron 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.