-
Notifications
You must be signed in to change notification settings - Fork 0
Example Pipeline
-
First you want to make sure you have pushed to
master
branch, and secret file is pushed to S3. -
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
.
- 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.
- 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
.
- 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.