@@ -29,9 +29,11 @@ install-nkg-local-no-build Install NKG from local build with provisioner on
29
29
load-images Load NKG and NGINX containers on configured kind cluster
30
30
preload-nginx-container Preload NGINX container on configured kind cluster
31
31
prepare-nkg-dependencies Install NKG dependencies on configured kind cluster
32
+ reset-go-modules Reset the go modules changes
32
33
run-conformance-tests Run conformance tests
33
34
undo-image-update Undo the NKG image name and tag in deployment manifest
34
35
uninstall-nkg Uninstall NKG on configured kind cluster
36
+ update-go-modules Update the gateway-api go modules to latest main version
35
37
update-nkg-manifest Update the NKG deployment manifest image name and imagePullPolicy
36
38
```
37
39
@@ -59,6 +61,13 @@ make create-kind-cluster
59
61
60
62
### Step 2 - Install Nginx Kubernetes Gateway to configured kind cluster
61
63
64
+ > Note: If you want to run the latest conformance tests from the Gateway API ` main ` branch, set the following
65
+ > environment variable before deploying NKG:
66
+ > ``` bash
67
+ > export GW_API_VERSION=main
68
+ > ` ` `
69
+ > Otherwise, the latest stable version will be used by default.
70
+
62
71
# ### *Option 1* Build and install Nginx Kubernetes Gateway from local to configured kind cluster
63
72
64
73
` ` ` makefile
@@ -97,6 +106,13 @@ make install-nkg-edge
97
106
98
107
### Step 3 - Build conformance test runner image
99
108
109
+ > Note: If you want to run the latest conformance tests from the Gateway API ` main ` branch, run the following
110
+ > make command to update the Go modules to ` main ` :
111
+ > ``` makefile
112
+ > make update-go-modules
113
+ >```
114
+ > Otherwise, the latest stable version will be used by default.
115
+
100
116
```makefile
101
117
make build-test-runner-image
102
118
```
@@ -117,16 +133,21 @@ make cleanup-conformance-tests
117
133
make uninstall-nkg
118
134
```
119
135
120
- ### Step 6 - Revert changes to the NKG deployment manifest
136
+ ### Step 6 - Revert changes to Go modules
137
+ ** Optional** Not required if you aren't running the ` main ` Gateway API tests.
138
+ ``` makefile
139
+ make reset-go-modules
140
+ ```
141
+
142
+ ### Step 7 - Revert changes to the NKG deployment manifest
121
143
** Optional** Not required if using ` edge ` image
122
144
** Warning** : ` make undo-image-update ` will hard reset changes to the deploy/manifests/deployment.yaml file!
123
145
124
146
``` makefile
125
147
make undo-image-update
126
148
```
127
149
128
- ### Step 7 - Delete kind cluster
129
-
150
+ ### Step 8 - Delete kind cluster
130
151
``` makefile
131
152
make delete-kind-cluster
132
153
```
0 commit comments