Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/docs v2 #297

Merged
merged 3 commits into from
Aug 28, 2024
Merged

feature/docs v2 #297

merged 3 commits into from
Aug 28, 2024

Conversation

JohannesRudolph
Copy link
Member

  • feat: add experimental support for deploying foundation level modules
  • feat: implement a simplified docs-v2 command
  • refactor: remove unused DocumentationGenerator code

these have become a useful pattern to manage things that are
consistent across your entire foundation like managing a common
terraform state across multiple platforms, a central CI/CD pipeline
for your IAC or generating docs (v2 coming soon...)
the v2 approach for generating docs using collie leverages
terragrunt with a foundation-level terraform module that builds
the documentation. This approach is more versatile and more performant

- uses terraform_remote_state to quickly download documentation_md output
  from all platform modules, which is much faster than any other approach
  we tried before (see #271)
- the terraform module can freely implement templating, ie symlinking
  the documentation site generator templates to enable docs hot reloading
- users have better control to work natively with the documentation generator
  of their choice, because logic is moved out of collie-cli

 The terraform module that we will make available for now unfortunately
 no longer has support for generating kit module documentation. However
 we have found that there's little value in generating kit module documentation
 outside of the collie-hub use case, as most cloud foundation teams want
 to generate documentation for their application teams and are content with
 re-viewing terraform module documentation directly off the README.md files
 in git.
Move compliance control validation into KitDependencyAnalyzer.
This ensures that controls are validated during "tree" commands. Before
this change, only the "collie foundation docs" command validated that
compliance statements reference actual controls.
@JohannesRudolph JohannesRudolph added this pull request to the merge queue Aug 28, 2024
Merged via the queue into main with commit 3e074ad Aug 28, 2024
3 checks passed
@JohannesRudolph JohannesRudolph deleted the feature/docs-v2 branch August 28, 2024 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant