Skip to content

Commit 430106d

Browse files
build: remove cicheck (zalando#2553)
Make cicheck is equvalent to shortcheck due to wrong redis build tag use, see zalando#1854 This change removes redis build tag, build comments and replaces cicheck with the shortcheck target. Fixes zalando#1854 Signed-off-by: Alexander Yastrebov <[email protected]>
1 parent 3c2525e commit 430106d

13 files changed

+2
-33
lines changed

.github/workflows/master.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@ jobs:
2020
- run: go version
2121
- run: make deps
2222
- run: make check-fmt
23-
- run: make build
2423
- run: make vet
2524
- run: make staticcheck
2625
- run: make check-race
27-
- run: make cicheck
2826
- run: make osv-scanner
2927
- run: make gosec
3028
- run: make govulncheck

.github/workflows/pr.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ jobs:
4040
- run: make check-fmt
4141
- run: make vet
4242
- run: make staticcheck
43-
- run: make cicheck
43+
- run: make shortcheck

Makefile

-4
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,6 @@ check: build check-plugins ## run all tests
8181
shortcheck: build check-plugins fixlimits ## run all short tests
8282
go test -test.short ./...
8383

84-
.PHONY: cicheck
85-
cicheck: build check-plugins ## run all short and redis tests
86-
go test -tags=redis -test.short ./...
87-
8884
.PHONY: check-race
8985
check-race: build ## run all short tests with race checker
9086
go test -race -test.short ./...

circuit/registry_test.go

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* +build !race */
2-
31
package circuit
42

53
import (

dataclients/routestring/example_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build !race
2-
// +build !race
3-
41
package routestring_test
52

63
import (

delivery.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pipeline:
5050
fi
5151
export IMAGE MULTIARCH_IMAGE
5252
53-
make deps cicheck staticcheck gosec
53+
make deps check-fmt vet staticcheck gosec shortcheck
5454
5555
if [[ $CDP_TARGET_BRANCH == master && ! $CDP_PULL_REQUEST_NUMBER ]]; then
5656
echo "Creating git tag: ${RELEASE_VERSION}"

etcd/etcdtime_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build !race
2-
// +build !race
3-
41
package etcd
52

63
import (

metrics/codahalenorace_test.go

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* +build !race */
2-
31
package metrics
42

53
import (

plugins_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build !race
2-
// +build !race
3-
41
package skipper
52

63
import "testing"

proxy/backendratelimit_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build !race || redis
2-
// +build !race redis
3-
41
package proxy_test
52

63
import (

proxy/breaker_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build !race
2-
// +build !race
3-
41
package proxy_test
52

63
import (

ratelimit/cluster_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build !race || redis
2-
// +build !race redis
3-
41
package ratelimit
52

63
import (

ratelimit/swim_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
//go:build !race
2-
// +build !race
3-
41
package ratelimit
52

63
import (

0 commit comments

Comments
 (0)