Balaji Vajjala's Blog

A DevOps Blog from Trenches

02.05

  • 2.5 Document Build Steps
    • Learning Objectives
    • Assumptions
    • High-Level Steps
    • Detailed Steps
    • EXERCISE: Document additional build steps

2.5 Document Build Steps

Learning Objectives

By the end of this lesson you will be able to:

  • Document the steps for deploying a software package.

Assumptions

  1. Environment(s) have been properly installed and configured and are running.
  2. Ant has been installed.
  3. Git client has been installed.
  4. https://github.com/stelligent/continuous_integration_example repo has been cloned locally.

High-Level Steps

  1. Compile the source code.
  2. Run static analysis on the application code.
  3. Launch the environment provisioning.
  4. Launch the deployment.
  5. Run functional tests on the application.

Detailed Steps

  1. Go to software directory.

    “` $ cd /home/ec2-user/continuous_integration_example/software

    “`

  2. Get latest changes from GitHub.

    “` $ git pull

    “`

  3. Run an Ant build.

    “` $ ant

    “`

EXERCISE: Document additional build steps

  1. Document additional steps that might occur in a build process in a text file. Upload a text file with your answers into your cd29artifacts S3 bucket (where 00 is your student id).