Skip to content

Example Pipeline

Jun Zheng edited this page Dec 7, 2017 · 2 revisions

Rebuild a project and update QA instance

  1. First you want to make sure you have pushed to master branch, and secret file is pushed to S3.

  2. The build should automatically start, if not do step 2a.

2a. Type the following message: @wb-deployment-bot run build {project name}. Ex. @wb-deployment-bot run build wolfbeacon-apidoc-gen.

  1. You should receive a message like the following.

After a few seconds, build should start.

Build can take a long time, so get yourself a cup of coffee :) There will be a notification upon build finish.

  1. Now the application has been built, you can now update environments. Environment names are quite long, so use @wb-deployment-bot list envs to list all envs.

In this example, we will use the second last environment wolfbeacon-apidoc-gen wolfbeaconApidocGen-qa-env.

  1. Run the command @wb-deployment-bot rebuild env wolfbeacon-apidoc-gen wolfbeaconApidocGen-qa-env to rebuild that environment.

You should receive a confirmation like this after a few seconds.

Updating can take a while too, but there will be a notification upon finish.

You are done! Now the QA instance is updated to the latest version. If you want to push it to deployment, simply update the production environment.

Clone this wiki locally