mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
feat: rename pre-commit-terraform to pre-commit-opentofu, pt III
This commit is contained in:
parent
2e537a9cd4
commit
233f6c6c8b
18 changed files with 103 additions and 103 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM pre-commit-terraform:latest
|
||||
FROM pre-commit-opentofu:latest
|
||||
|
||||
RUN apt update && \
|
||||
apt install -y \
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
TEST_NUM=$1 # 1000
|
||||
TEST_COMMAND=$2 # 'pre-commit try-repo -a /tmp/159/pre-commit-terraform terraform_tfsec'
|
||||
TEST_COMMAND=$2 # 'pre-commit try-repo -a /tmp/159/pre-commit-opentofu tofu_tfsec'
|
||||
TEST_DIR=$3 # '/tmp/infrastructure'
|
||||
TEST_DESCRIPTION="$TEST_NUM runs '$4'" # '`terraform_tfsec` PR #123:'
|
||||
RAW_TEST_RESULTS_FILE_NAME=$5 # terraform_tfsec_pr123
|
||||
TEST_DESCRIPTION="$TEST_NUM runs '$4'" # '`tofu_tfsec` PR #123:'
|
||||
RAW_TEST_RESULTS_FILE_NAME=$5 # tofu_tfsec_pr123
|
||||
|
||||
function run_tests {
|
||||
local TEST_NUM=$1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue