Coder Social home page Coder Social logo

active-deploy-1464356862817's Introduction

Active Deploy Service Plugin for Bluemix Delivery Pipeline Service

Try me

A simple Hello World Python application using Flask on Bluemix

Press this button, to get your own copy of the sample running in Bluemix! It clones the project, creates DevOps Services Project, generates multi-stage pipeline, deploys application to IBM Bluemix.

Deploy to Bluemix

Let's Get Started

This simple pipeline demonstrates how active deploy capabilities can be used within Bluemix Delivery Pipeline services. Once you press the "Deploy to Bluemix" button and log in, you should see a set of steps run through:

screenshot01 screenshot02

Once completed, you can see your app running by clicking "VIEW YOUR APP":

screenshot03 screenshot04

Also, you can click on the "EDIT CODE" button to access your own copy of the repository and "BUILD & DEPLOY" in the upper right hand corner to see and configure your pipeline:

screenshot05 screenshot06

Here you will see a Build & Deploy pipeline - full info on this awesome DevOps capability can be found here.

  • Build stage
    • The first stage is the build stage - that is the standard build stage in Bluemix - however you create your application image in a pipeline is what would be done here.
  • Deploy stage
    • The second stage is where the Active Deploy magic happens. The first time this project runs runs, Active Deploy won't run yet - but it will gave you a sample application running properly that you can now use to run Active Deploy to show you have the pipeline integration works. The Active Deploy pipeline stage information is fully described [here] (https://hub.jazz.net/docs/deploy_ext/#activedeploy).
  1. The first time you run this pipeline:
  • Deploys the app as a Cloud Foundry application to Bluemix
  • If you run cf apps from a command line (the labs to help get you acquainted with the command line can be found here) you will see this application running:

screenshot07

or something similar - this is your initial sample application. Or you can look at the Bluemix console dashboard @ console.ng.bluemix.net to see your new application running.

screenshot18

  1. The second time you run the pipeline:
  • If you execute the build stage again with the little arrow, it will re-execute the build, create a new image, and then re-run the Active Deploy Stage. This actually runs the Active Deploy this time through.
  • You can see your deploy happening using these commands (adjusted for your results in command above):

screenshot08

Or you can look at the Active Deploy Console dashboard @ console.ng.bluemix.net => Services => Active Deploy.

screenshot09

You're Done!

screenshot10 screenshot11 screenshot19

That's it, you've now seen Active Deploy work in the Bluemix Build & Delivery Pipeline. The next step for you is to set it up in your own pipeline project.

References

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.