Skip to content

Commit 187fd29

Browse files
committed
Remove check_golang, check_docker
This project does not contain any Go files or Dockerfiles.
1 parent bba4ffd commit 187fd29

File tree

2 files changed

+1
-25
lines changed

2 files changed

+1
-25
lines changed

Makefile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ DOCKER_REPO_BASE_KITCHEN_TERRAFORM := ${DOCKER_ORG}/cft/kitchen-terraform:${DOC
2727
all: check generate_docs
2828

2929
.PHONY: check
30-
check: check_shell check_python check_golang check_terraform check_docker check_base_files test_check_headers check_headers check_trailing_whitespace
30+
check: check_shell check_python check_terraform check_base_files test_check_headers check_headers check_trailing_whitespace
3131

3232
.PHONY: check_shell
3333
check_shell:
@@ -37,18 +37,10 @@ check_shell:
3737
check_python:
3838
@source test/make.sh && check_python
3939

40-
.PHONY: check_golang
41-
check_golang:
42-
@source test/make.sh && golang
43-
4440
.PHONY: check_terraform
4541
check_terraform:
4642
@source test/make.sh && check_terraform
4743

48-
.PHONY: check_docker
49-
check_docker:
50-
@source test/make.sh && docker
51-
5244
.PHONY: check_base_files
5345
check_base_files:
5446
@source test/make.sh && basefiles

test/make.sh

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,6 @@ function basefiles() {
6262
done
6363
}
6464

65-
# This function runs the hadolint linter on
66-
# every file named 'Dockerfile'
67-
function docker() {
68-
echo "Running hadolint on Dockerfiles"
69-
find_files . -name "Dockerfile" -print0 \
70-
| compat_xargs -0 hadolint
71-
}
72-
7365
# This function runs 'terraform validate' against all
7466
# directory paths which contain *.tf files.
7567
function check_terraform() {
@@ -81,14 +73,6 @@ function check_terraform() {
8173
| compat_xargs -t -n1 terraform validate --check-variables=false
8274
}
8375

84-
# This function runs 'go fmt' and 'go vet' on every file
85-
# that ends in '.go'
86-
function golang() {
87-
echo "Running go fmt and go vet"
88-
find_files . -name "*.go" -print0 | compat_xargs -0 -n1 go fmt
89-
find_files . -name "*.go" -print0 | compat_xargs -0 -n1 go vet
90-
}
91-
9276
# This function runs the flake8 linter on every file
9377
# ending in '.py'
9478
function check_python() {

0 commit comments

Comments
 (0)