Skip to content

Commit 6c2e1e9

Browse files
committed
Add steps for fork
1 parent 01d3a6d commit 6c2e1e9

File tree

1 file changed

+21
-6
lines changed

1 file changed

+21
-6
lines changed

conformance/README.md

+21-6
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,11 @@ make create-kind-cluster
6363

6464
> Note: If you want to run the latest conformance tests from the Gateway API `main` branch, set the following
6565
> environment variable before deploying NKG:
66-
> ```bash
67-
> export GW_API_VERSION=main
68-
>```
66+
67+
```bash
68+
export GW_API_VERSION=main
69+
```
70+
6971
> Otherwise, the latest stable version will be used by default.
7072
7173
#### *Option 1* Build and install Nginx Kubernetes Gateway from local to configured kind cluster
@@ -108,9 +110,20 @@ make install-nkg-edge
108110

109111
> Note: If you want to run the latest conformance tests from the Gateway API `main` branch, run the following
110112
> make command to update the Go modules to `main`:
111-
> ```makefile
112-
> make update-go-modules
113-
>```
113+
114+
```makefile
115+
make update-go-modules
116+
```
117+
118+
> You can also point to a specific fork/branch by running:
119+
120+
```bash
121+
go mod edit -replace=sigs.k8s.io/gateway-api=<your-fork>@<your-branch>
122+
go mod download
123+
go mod verify
124+
go mod tidy
125+
```
126+
114127
> Otherwise, the latest stable version will be used by default.
115128
116129
```makefile
@@ -135,6 +148,7 @@ make uninstall-nkg
135148

136149
### Step 6 - Revert changes to Go modules
137150
**Optional** Not required if you aren't running the `main` Gateway API tests.
151+
138152
```makefile
139153
make reset-go-modules
140154
```
@@ -148,6 +162,7 @@ make undo-image-update
148162
```
149163

150164
### Step 8 - Delete kind cluster
165+
151166
```makefile
152167
make delete-kind-cluster
153168
```

0 commit comments

Comments
 (0)