File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,17 @@ If the tests are failing and you want to see the difference between the image yo
1717## Test docker image
1818
1919The docker image has tests that you can run on it.
20- You need Docker, bash, and bats available on your system.
2120
22- Once you've got a built image, run ` ./tests/bats/test.sh custom-grafana-image-renderer ` .
21+ ` IMAGE=X go test ./tests/acceptance/... `
22+
23+ If you [ built the Docker image from source] ( ./building_from_source.md#docker-image ) you can test it with
24+
25+ ` IMAGE=custom-grafana-image-renderer go test ./tests/acceptance/... `
26+
27+ Or you can also pull a specific image to test, for example:
28+
29+ ` docker image pull grafana/grafana-image-renderer:v4.0.13 `
30+
31+ And then run the tests
32+
33+ ` IMAGE=grafana/grafana-image-renderer:v4.0.13 go test ./tests/acceptance/... `
You can’t perform that action at this time.
0 commit comments