cbsetup - DEPRECATED
This tool is deprecated and no longer maintained. Please use the Terraform AWS CodeBuild CI module to create CodeBuild projects that you would previously use this tool create.
A node tool to automate the creation of CodeBuild projects for the BYU Apps Custom team.
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.
To know what image you should use, refer to the Docker Images Provided by CodeBuild documentation.
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.
Contact Blake Morgan (@blakemorgan on BYU OIT Slack) for questions and requests.