In this video, learn how to add the directive files necessary to run your app's test on CodeBuild.
- [Instructor] Let's add CodeBuild support to our demo lab.…Over here in the console I've got the app checked out.…If I use the git command, git checkout CodeBuild,…we're going to switch to a branch of the application…that I've created called CodeBuild,…which contains a buildspec.yml.…As you can see it's right here.…Let's take a look at it.…This is very similar to what I showed in the slides.…We've got some variable set up including RAILS_ENV.…Which is necessary for this test.…
We've got the install phase, which does a bundle install…and a DB migrate.…And we've got the build phase which…actually executes our spec, the Ruby testing framework.…If the tests succeed, then the build will succeed.…So we're going to want to use that branch…for our CodeBuild project.…Let's head back to the AWS console.…Here I'm going to click into the CodeBuild service.…Or if I haven't been there recently,…just type CodeBuild and chose the first result.…Here in the CodeBuild console I'll click,…create build project.…
We're going to call this project art gallery build project.…
Author
Released
12/24/2018- Understanding AWS EC2
- Creating an EC2 instance
- Provisioning with CloudFormation
- Architecting apps for horizontal scaling
- Creating an Elastic Beanstalk environment and app
- Using OpsWorks
- Deploying apps with CodeDeploy
- Working with the Cloud9 cloud-based IDE
- Quickly setting up coding projects with CodeStar
Skill Level Intermediate
Duration
Views
Related Courses
-
AWS: Storage and Data Management
with Brandon Rich4h 25m Intermediate
-
Introduction
-
What you should know1m 10s
-
Initial setup3m 26s
-
1. AWS EC2 Foundations
-
Understand AWS EC26m 2s
-
Understand AWS Auto Scaling4m 59s
-
-
2. EC2 Creation and Provisioning
-
Create an EC2 instance13m 24s
-
-
3. Deployment Concepts
-
Forking the demo app2m 20s
-
4. Elastic Beanstalk
-
Understand Elastic Beanstalk5m 43s
-
Deployment options2m 2s
-
Beanstalk database5m 20s
-
Beanstalk configuration6m 41s
-
Customize Elastic Beanstalk3m 36s
-
Elastic Beanstalk teardown1m 26s
-
-
5. OpsWorks
-
OpsWorks key concepts6m 14s
-
Create an OpsWorks stack2m 33s
-
Create an OpsWorks layer4m 17s
-
Define an application6m 30s
-
Create a database6m 9s
-
OpsWorks teardown2m 19s
-
-
6. CodeDeploy
-
AWS CodeDeploy key concepts4m 32s
-
CodeDeploy: IAM setup4m 40s
-
CodeDeploy: App creation3m 31s
-
Understand AWS CodeBuild2m 52s
-
CodeDeploy teardown3m 6s
-
S3 teardown1m 49s
-
-
7. CodeDeploy for Lambda
-
Understand AWS Cloud93m 7s
-
-
8. CodeStar
-
Understand AWS CodeStar2m 33s
-
Create a CodeStar project3m 37s
-
-
Concusion
-
Next steps28s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Add CodeBuild support to an app