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.
- 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
- Break up into small teams of 2-4 individuals
- Fork and clone application code from GitHub
- Get the application working and commit it back to GitHub
- See your app deploy to an app server
- Break up into small teams of 2-4 people
- Look at the failing build at jenkins.chico.liatr.io Login credentials will be provided.
- Review the exercise documentation together and decide how to proceed
- After reviewing, you may install project dependencies that are required to build/test/run your application
- Select your OS from the list of README's below then return to this page after installion is complete.
- Mac OS X using Homebrew *Recommended.
- Mac OS X manual install
- Ubuntu
- Windows
- Select your OS from the list of README's below then return to this page after installion is complete.
- Get a copy of the code for the exercise
- Fork the application repository at https://github.com/liatrio/game-of-life to one or more of your team members' Github Accounts
- If you don't have a Github account you should create one now
- See your repository build on our build server
- Browse to jenkins.chico.liatr.io and sign in using the information given to you
- Create a new Jenkins job with your repository
- Click New Item on the left hand side
- Enter the name of your job
- Click Maven Project
- Scroll down to Source Code Management, select Git, and enter the link to your repository.
- Scroll down to Build Triggers and click Poll SCM and enter "* * * * *"
- Scroll down to Build and add "clean install" to Goals and Options
- Click Save
- Verify that your job is added to Jenkins start a build
- It should fail like the original application
- Pull down the code from your forked repository
- Install a Git client if you don't have one already
- "Clone" the repository to your computer
- Build and test the application locally
- Follow the instructions located in the application's README.md file located here
- Determine what is breaking and change the applications code
- Build again and fix the errors until they are completely gone
- This may take a few attempts
- You should be able to solve them by looking at the console output
- Roughly the last 50 lines will have information that will help you
- Commit the working code back to your forked repository
- See that your build is kicked off again and that is builds successfully
When the application is building correctly on Jenkins, the application will deploy to an application server