-
Notifications
You must be signed in to change notification settings - Fork 20
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
feat: Add tf doc plugin to circle ci template #619
feat: Add tf doc plugin to circle ci template #619
Conversation
This pull request has been linked to Shortcut Story #189672: Add tf docs plugin to circleci fogg. |
Codecov Report
@@ Coverage Diff @@
## main #619 +/- ##
=======================================
Coverage ? 54.71%
=======================================
Files ? 22
Lines ? 3089
Branches ? 0
=======================================
Hits ? 1690
Misses ? 1235
Partials ? 164 Continue to review full report at Codecov.
|
curl -sSLo ./terraform-docs.tar.gz https://github.com/terraform-docs/terraform-docs/releases/download/v0.16.0/terraform-docs-v0.16.0-linux-amd64.tar.gz | ||
tar -xzf terraform-docs.tar.gz | ||
chmod +x terraform-docs | ||
echo "$PWD" >> $GITHUB_PATH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alldoami I think GITHUB_PATH is a github action specific thing https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-system-path . Getting an error when trying to update fogg :( https://app.circleci.com/pipelines/github/FB-PLP/terraform-infra-management/8174/workflows/1bc186e9-befd-4527-8c52-07a7f812128a/jobs/8183
I don't know if there's an equivalent for circleci?
Summary
Installing terraform-docs into circle ci tmpl
References
referencing this change https://github.com/chanzuckerberg/fogg/blob/main/templates/templates/.github/workflows/fogg_ci.yml.tmpl#L29-L37