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
Update the Makefile to allow users to build the
image with their changes using podman.
Update the Readme to add instructions on how to
test changes.
Signed-off-by: Urvashi <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,5 +15,23 @@ included.
15
15
You can run `must-gather` on a cluster with `oc adm must-gather`.
16
16
Use `-h` flag to see available options.
17
17
18
+
## How to test
19
+
Build a new must-gather image with your changes using the Makefile. There are two options in the Makefile, `make` will use imagebuilder to build the image while `make BUILDER=podman` will use podman to build the image.
20
+
21
+
If using `make BUILDER=podman`, please set the `AUTH_FILE` parameter pointing to an authentication file that has credentials for the `registry.ci.openshift.org` registry. Ensure that you are connected to the VPN before building the image.
22
+
```
23
+
make BUILDER=podman AUTH_FILE=/path/to/authfile
24
+
```
25
+
26
+
Once the image is built, push it to a registry where it can be accessed from.
There is a dedicated effort to obfuscate and omit confidential information. Head over to [openshift/must-gather-clean](https://github.com/openshift/must-gather-clean) for more information.
0 commit comments