ci: remove tfdcos action, replace with pre-commit check
Some checks failed
development / Check commit compliance (push) Successful in 4s
pull-requests-open / Check commit compliance (pull_request) Successful in 5s
pull-requests-open / Check pre-commit status (pull_request) Failing after 40s

This commit is contained in:
Bertrand Lanson 2024-09-08 13:26:48 +02:00
parent 78ca31f154
commit 74a01b5b05
Signed by: lanson
SSH Key Fingerprint: SHA256:/nqc6HGqld/PS208F6FUOvZlUzTS0rGpNNwR5O2bQBw
2 changed files with 20 additions and 8 deletions

View File

@ -34,10 +34,22 @@ jobs:
shell: bash
working-directory: ./
- name: Render terraform docs
uses: Dirrk/terraform-docs@v1.0.8
pre-commit-check:
name: Check pre-commit status
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
tf_docs_working_dir: .
tf_docs_output_file: README.md
tf_docs_output_method: inject
tf_docs_git_push: "true"
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- 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: ./

View File

@ -2,7 +2,7 @@
Terraform module to deploy a completely customizable OpenStack
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
<!-- BEGIN_TF_DOCS -->
### Requirements
| 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_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 |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
<!-- END_TF_DOCS -->