ci: remove tfdcos action, replace with pre-commit check
This commit is contained in:
parent
78ca31f154
commit
74a01b5b05
@ -34,10 +34,22 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
working-directory: ./
|
working-directory: ./
|
||||||
|
|
||||||
- name: Render terraform docs
|
pre-commit-check:
|
||||||
uses: Dirrk/terraform-docs@v1.0.8
|
name: Check pre-commit status
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
tf_docs_working_dir: .
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
tf_docs_output_file: README.md
|
fetch-depth: 0
|
||||||
tf_docs_output_method: inject
|
|
||||||
tf_docs_git_push: "true"
|
- name: Install commitizen
|
||||||
|
run: pip3 install pre-commit
|
||||||
|
shell: bash
|
||||||
|
working-directory: ./
|
||||||
|
|
||||||
|
- name: Verify pre-commit status
|
||||||
|
run: pre-commit run --all
|
||||||
|
shell: bash
|
||||||
|
working-directory: ./
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Terraform module to deploy a completely customizable OpenStack
|
Terraform module to deploy a completely customizable OpenStack
|
||||||
|
|
||||||
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
|
<!-- BEGIN_TF_DOCS -->
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
| Name | Version |
|
| Name | Version |
|
||||||
@ -82,4 +82,4 @@ No modules.
|
|||||||
| <a name="output_frontend_subnet"></a> [frontend_subnet](#output_frontend_subnet) | The frontend subnet object (as a list), if created |
|
| <a name="output_frontend_subnet"></a> [frontend_subnet](#output_frontend_subnet) | The frontend subnet object (as a list), if created |
|
||||||
| <a name="output_router"></a> [router](#output_router) | The entire router object (as a list), if created |
|
| <a name="output_router"></a> [router](#output_router) | The entire router object (as a list), if created |
|
||||||
| <a name="output_subnetpool"></a> [subnetpool](#output_subnetpool) | The subnetpool object (as a list), if created |
|
| <a name="output_subnetpool"></a> [subnetpool](#output_subnetpool) | The subnetpool object (as a list), if created |
|
||||||
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
|
<!-- END_TF_DOCS -->
|
||||||
|
Loading…
Reference in New Issue
Block a user