Chapter 5. Updating your booster and deploying the changes

To push changes to this booster running in OpenShift Online or your Single-node OpenShift Cluster, you can push a new commit to the GitHub repository and start a new build.

Prerequisites

Procedure

  1. Clone your project from GitHub:

    $ git clone git@github.com:USERNAME/PROJECT-NAME.git
  2. Open your project in your desired IDE or editor, such as JBDS.
  3. Make an update to the project.
  4. Save your changes.
  5. Commit and push your changes back to GitHub:

    $ git add .
    $ git commit -m "Made an update"
    $ git push
  6. Navigate back to the OpenShift Online or Single-node OpenShift Cluster Web console and ensure the project of your mission is selected.
  7. Click on the three dots on the right side of your application’s deployment and choose Start Build.

    Your deployment is complete when you see Build #2 is complete under Builds and a #2 next to the application name under Deployment. This number will increase for each additional build and deployment.

  8. Confirm your changes when your deployment is complete.