You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move conformance tests to tests directory (nginx#1969)
Problem: The conformance directory is outside our tests directory containing all our tests. This conformance directory has a separate Makefile with many duplicated commands and variables.
At release time we have to update all the versions in multiple places.
Solution: Move the conformance tests inside the tests directory and consolidate the Makefile so it's easier to maintain and update at release time
if [ "${core_result}" == "failure" ] || [ "${extended_result}" == "failure" ]; then echo "Conformance test failed, see above for details." && exit 2; fi
# the telemetry related variables below are also configured in goreleaser.yml
@@ -16,7 +18,7 @@ TELEMETRY_ENDPOINT=# if empty, NGF will report telemetry in its logs at debug le
16
18
TELEMETRY_ENDPOINT_INSECURE = false
17
19
18
20
GW_API_VERSION = 1.1.0
19
-
ENABLE_EXPERIMENTAL = false
21
+
ENABLE_EXPERIMENTAL?= false
20
22
NODE_VERSION = $(shell cat .nvmrc)
21
23
22
24
# go build flags - should not be overridden by the user
@@ -31,18 +33,23 @@ NGINX_PLUS_PREFIX ?= $(PREFIX)/nginx-plus## The name of the nginx plus image. Fo
31
33
TAG ?= $(VERSION:v%=%)## The tag of the image. For example, 1.1.0
32
34
TARGET ?= local## The target of the build. Possible values: local and container
33
35
KIND_KUBE_CONFIG=$${HOME}/.kube/kind/config## The location of the kind kubeconfig
34
-
OUT_DIR ?= $(CURDIR)/build/out## The folder where the binary will be stored
36
+
OUT_DIR ?= build/out## The folder where the binary will be stored
35
37
GOARCH ?= amd64## The architecture of the image and/or binary. For example: amd64 or arm64
36
38
GOOS ?= linux## The OS of the image and/or binary. For example: linux or darwin
37
39
override HELM_TEMPLATE_COMMON_ARGS += --set creator=template --set nameOverride=nginx-gateway## The common options for the Helm template command.
38
40
override HELM_TEMPLATE_EXTRA_ARGS_FOR_ALL_MANIFESTS_FILE += --set service.create=false## The options to be passed to the full Helm templating command only.
install-ngf-local-build-with-plus: build-images-with-plus load-images-with-plus helm-install-local-with-plus ## Install NGF with NGINX Plus from local build on configured kind cluster.
190
209
191
210
.PHONY: helm-install-local
192
-
helm-install-local: ## Helm install NGF on configured kind cluster with local images. To build, load, and install with helm run make install-ngf-local-build.
helm-install-local: install-gateway-crds ## Helm install NGF on configured kind cluster with local images. To build, load, and install with helm run make install-ngf-local-build.
helm-install-local-with-plus: ## Helm install NGF with NGINX Plus on configured kind cluster with local images. To build, load, and install with helm run make install-ngf-local-build-with-plus.
helm-install-local-with-plus: install-gateway-crds ## Helm install NGF with NGINX Plus on configured kind cluster with local images. To build, load, and install with helm run make install-ngf-local-build-with-plus.
0 commit comments