Easy to learn
cody init cody deploy cody start cody logs cody delete
.cody ├── buildspec.yml ├── role.rb ├── project.rb └── schedule.rb
cody deploy # infers the project name from the parent folder cody deploy project-name # explicitly specify project name cody start # infers the project name from the parent folder cody start demo-project # looks up project via CodeBuild project name cody deploy demo --type unit # different codebuild project types cody start demo --type unit
github_url("https://github.com/tongueroo/demo-ufo") linux_image("aws/codebuild/amazonlinux2-x86_64-standard:2.0") environment_variables( UFO_ENV: "development", API_KEY: "ssm:/codebuild/demo/api_key" # ssm param example )
iam_policy("logs", "ssm")
rate "1 day"