Merge pull request #5341 from ElvinEfendi/fix-lua-test-in-dev
ensure make lua-test runs locally
This commit is contained in:
commit
9f40677837
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -53,8 +53,6 @@ GIT_COMMIT ?= git-$(shell git rev-parse --short HEAD)
|
||||||
|
|
||||||
PKG = k8s.io/ingress-nginx
|
PKG = k8s.io/ingress-nginx
|
||||||
|
|
||||||
BUSTED_ARGS =-v --pattern=_test
|
|
||||||
|
|
||||||
HOST_ARCH = $(shell which go >/dev/null 2>&1 && go env GOARCH)
|
HOST_ARCH = $(shell which go >/dev/null 2>&1 && go env GOARCH)
|
||||||
ARCH ?= $(HOST_ARCH)
|
ARCH ?= $(HOST_ARCH)
|
||||||
ifeq ($(ARCH),)
|
ifeq ($(ARCH),)
|
||||||
|
|
|
@ -23,6 +23,8 @@ set -o errexit
|
||||||
set -o nounset
|
set -o nounset
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
|
BUSTED_ARGS="-v --pattern=_test"
|
||||||
|
|
||||||
resty \
|
resty \
|
||||||
-I ./rootfs/etc/nginx/lua \
|
-I ./rootfs/etc/nginx/lua \
|
||||||
--shdict "configuration_data 5M" \
|
--shdict "configuration_data 5M" \
|
||||||
|
|
Loading…
Reference in a new issue