cbsetup
A node tool to automate the creation of CodeBuild projects for the BYU Apps Custom team.
Before use
This tool is distributed in a package on npm. To use it, you will need Node and npm on your machine. You can find install instructions on the NodeJS website. Then run npm i -g @byu-oit/cbsetup
to install the script.
How to use
Login to AWS using awslogin
. Choose the account that you want to setup your CodeBuild project in. Then run cbsetup
and follow the prompts. If you get a command not found
error, be sure globally installed node binaries are in your system's PATH.
Images
To know what image you should use, refer to the Docker Images Provided by CodeBuild documentation.
Potential Errors
This service uses the BYU OIT Bot account on GitHub to create webhooks for CodeBuild project. If cbsetup
fails, check an be sure you spelled the repo name correctly. If so, go into the CodeBuild console online and be sure that CodeBuild is authenticating with the personal access token for byu-oit-bot rather than as another user.
Maintainer
Contact Blake Morgan (@blakemorgan on BYU OIT Slack) for questions and requests.