tf_aws_rds icon indicating copy to clipboard operation
tf_aws_rds copied to clipboard

Add circle ci pipeline to validate the codes automatically

Open ozbillwang opened this issue 7 years ago • 2 comments

  • Add circle ci pipeline to validate the codes automatically
  • Did the same for tf_aws_ecs module
  • upgrade terraform version to 0.10.0
  • repository owner need to add this project in circle ci.

Successfully build at https://circleci.com/gh/BWITS/tf_aws_rds/2

ozbillwang avatar Aug 12 '17 10:08 ozbillwang

Thanks for this code. I have applied it partially to VPC module some time ago, but disabled it because I am not sure how to reduce amount of copy-pastes of config.yml files between 10+ repositories.

Do you know if we can keep it outside (in a separate repository, for example), and include it dynamically when circleci triggers the workflow?

antonbabenko avatar Sep 26 '17 16:09 antonbabenko

I've built out and run CI that is common across several similar projects in the past. This looks pretty similar. :smile:

The approach we took was having a barebones common CI config file in each repo. All identical and very minimal. Within that, a git clone is made to another repo (the CI/CD automation repo) which houses the shared build, test, release, and notification code. This way, collaboration on the CI/CD portion can happen separately of the modules themselves and duplication is mostly avoided.

Thoughts?

brandonjbjelland avatar Sep 29 '17 02:09 brandonjbjelland