Class: Aws::RailsProvisioner::Build
- Defined in:
- lib/aws-rails-provisioner/build.rb
Instance Attribute Summary
Attributes inherited from CodeBuild
#buildspec, #description, #image, #project_name, #timeout
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Build
constructor
An AWS CodeBuild Project that build, tag and push image to AWS ECR Repo.
Constructor Details
#initialize(options = {}) ⇒ Build
An AWS CodeBuild Project that build, tag and push image to AWS ECR Repo
configuration for :build
28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/aws-rails-provisioner/build.rb', line 28 def initialize( = {}) unless [:description] [:description] = 'build, tag and push image to ECR' end unless [:buildspec] [:buildspec] = 'buildspec-ecr.yml' end unless [:build_image] [:build_image] = 'ubuntu_14_04_docker_18_09_0' end super() end |