Skip to content

mukuldeepfence/circlecitest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI Demo: AWS ECS ECR CircleCI status

Deploy to AWS ECS from ECR via CircleCI 2.0 (Example Project)

This project is an update of the https://github.com/circleci/go-ecs-ecr project to deploy to AWS ECS from ECR on CircleCI 2.0. This project builds and deploys a "Hello World" Go webapp. It provides an example of how to build and test a Dockerized web application on CircleCI, push the Docker image to an Amazon Elastic Container Registry (ECR).

Alternative branches

Configure environment variables on CircleCI

The following environment variables must be set for the project on CircleCI via the project settings page, before the project can be built successfully.

Variable Description
AWS_ACCESS_KEY_ID Used by the AWS CLI
AWS_SECRET_ACCESS_KEY Used by the AWS CLI
AWS_DEFAULT_REGION Used by the AWS CLI. Example value: "us-east-1" (Please make sure the specified region is supported by the Fargate launch type)
AWS_ACCOUNT_ID AWS account id. This information is required for deployment.
AWS_RESOURCE_NAME_PREFIX Prefix that some of the required AWS resources are assumed to have in their names. The value should correspond to the AWS ECR repositoy name or aws_resource_prefix variable value in terraform_setup/terraform.tfvars.
DEEPFENCE_CONSOLE_IP Deepfence management console ip address
FAIL_CVE_COUNT Fail the build if number of vulnerabilities found >= this value. Set -1 to pass regardless of vulnerabilities.
FAIL_CVE_SCORE Fail the build if cumulative CVE score is >= this value. Set -1 to pass regardless of cve score.

References

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published