Giter Club home page Giter Club logo

game-of-life's Introduction

DevOps BootCamp Fall 2016

Welcome

This is an introduction, demo, and workshop of DevOps. Today we will be working with some common tools found in industry hopefully giving you better insight on what can be done with modern software engineering tools.

Goals

  • Pull down, update, and deploy a functional web application via the tools commonly used in a continuous integration pipeline
  • A working pipeline will also demonstrate a continuous delivery process by automatically promoting your application to a live, production environment within minutes of committing code to a source control repository

How You'll Do It

  1. Break up into small teams of 2-4 individuals
  2. Fork and clone application code from GitHub
  3. Get the application working and commit it back to GitHub
  4. See your app deploy to an app server

Step 1: Organize

  1. Break up into small teams of 2-4 people
  2. Look at the failing build at jenkins.chico.liatr.io Login credentials will be provided.
  3. Review the exercise documentation together and decide how to proceed
  4. After reviewing, you may install project dependencies that are required to build/test/run your application

Step 2: Forking, Cloning and Building Your Application

  1. Get a copy of the code for the exercise
    1. Fork the application repository at http://github.com/liatrio/game-of-life to one or more of your team members' Github Accounts
    2. If you don't have a Github account you should create one now
  2. See your repository build on our build server
    1. Browse to jenkins.chico.liatr.io and sign in using the information given to you
    2. Create a new Jenkins job with your repository
      1. Click New Item on the left hand side
      2. Enter the name of your job
      3. Click Maven Project
      4. Scroll down to Source Code Management, select Git, and enter the link to your repository.
      5. Scroll down to Build Triggers and click Poll SCM and enter "* * * * *"
      6. Scroll down to Build and add "clean install" to Goals and Options
      7. Click Save
  3. Verify that your job is added to Jenkins start a build
    • It should fail like the original application

Step 3: Working With the Application Code and the Delivery Pipeline

  1. Pull down the code from your forked repository
    1. Install a Git client if you don't have one already
    2. "Clone" the repository to your computer
  2. Build and test the application locally
    1. Follow the instructions located in the application's README.md file located here
  3. Determine what is breaking and change the applications code
  4. Build again and fix the errors until they are completely gone
    1. This may take a few attempts
    2. You should be able to solve them by looking at the console output
    3. Roughly the last 50 lines will have information that will help you
  5. Commit the working code back to your forked repository
  6. See that your build is kicked off again and that is builds successfully

Step 4: Deploying Your App via Jenkins

When the application is building correctly on Jenkins, the application will deploy to an application server

game-of-life's People

Contributors

axiomsofchoice avatar chrisjblackburn avatar jbankes avatar mikewootini avatar robertkelly avatar visionmaverick avatar wakaleo avatar

Watchers

 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.