suzuki-shunsuke / example-circleci-config-merge

Example usage of circleci-config-merge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

example-circleci-config-merge

CircleCI GitHub last commit License

Example the usage of circleci-config-merge.

How to update .cirleci/config.yml

.circleci/config.yml is split per service.

.circleci/
  base-config.yml # config which is independent of each service
service-1/
  circleci/
    config.yml
service-2/
  circleci/
    config.yml

Update split files and run make circleci and commit both split files and .circleci/config.yml.

$ make circleci

CI

In CI, the test is run to confirm whether .circleci/config.yml is generated by split files. circleci-config-merge doesn't provide such a feature, but you can implement the test with the other tool like dyff.

Please see ci/test-circleci-config.sh.

It is helpful to send a guide when CI fails. In this example, this feature is implemented with github-comment.

#2 (comment)

guide

LICENSE

MIT

About

Example usage of circleci-config-merge

License:MIT License


Languages

Language:Shell 96.8%Language:Makefile 3.2%