Skip to content

Commit 3675207

Browse files
Remove Docker image testing instructions from docs (#759)
* Remove Docker image testing instructions from docs Removed instructions for testing the Docker image Bats test are not longer used * add docs
1 parent 2b461ad commit 3675207

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

docs/testing.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff 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

1919
The 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/...`

0 commit comments

Comments
 (0)