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
Use staging endpoint for N+ reporting in pipeline (#2885) (#2907)
Problem: Pipeline uses production endpoint for N+ usage reporting,
which should be reserved for production deployments.
Solution: Use staging endpoint in the pipeline. Devs will need to
export the staging endpoint in their environments in order to run
the NFR, functional, and conformance tests locally.
@@ -220,17 +222,23 @@ load-images-with-plus: ## Load NGF and NGINX Plus images on configured kind clus
220
222
install-ngf-local-build: build-images load-images helm-install-local ## Install NGF from local build on configured kind cluster.
221
223
222
224
.PHONY: install-ngf-local-build-with-plus
223
-
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.
225
+
install-ngf-local-build-with-plus: check-for-plus-usage-endpoint 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.
224
226
225
227
.PHONY: helm-install-local
226
228
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: 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.
232
+
helm-install-local-with-plus: check-for-plus-usage-endpoint 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.
check-for-plus-usage-endpoint: ## Checks that the PLUS_USAGE_ENDPOINT is set in the environment. This env var is required when deploying or testing with N+.
239
+
ifndefPLUS_USAGE_ENDPOINT
240
+
$(error PLUS_USAGE_ENDPOINT must be defined in your environment)
Copy file name to clipboardExpand all lines: docs/developer/quickstart.md
+1
Original file line number
Diff line number
Diff line change
@@ -122,6 +122,7 @@ This will build the docker images `nginx-gateway-fabric:<your-user>` and `nginx-
122
122
> Note: You will need a valid NGINX Plus license certificate and key named `nginx-repo.crt` and `nginx-repo.key` in the
123
123
> root of this repo to build the NGINX Plus image.
124
124
> You will also need a valid NGINX Plus JSON Web Token (JWT) to deploy NGF with NGINX Plus. That JWT should be stored in the `license.jwt` file in the root of the `nginx-gateway-fabric/` directory. See the [documentation](https://docs.nginx.com/nginx-gateway-fabric/installation/nginx-plus-jwt/) for instructions on how to download and set up the JWT.
125
+
> Additionally, you need to set the NGINX Plus usage endpoint in your environment. For development and testing, export `PLUS_USAGE_ENDPOINT=<N1 staging endpoint>`.
125
126
126
127
To build the NGINX Gateway Fabric and NGINX Plus container images from source run the following make command:
0 commit comments