Skip to content

Commit

Permalink
remove paragraph about getting the latest images
Browse files Browse the repository at this point in the history
but include `--pull always` as arguments, which does the same and
removes the extra step.
I hade a old grafana container which was replaced with a new one,
after adding `--pull always`
  • Loading branch information
BenediktSeidl committed Jun 14, 2023
1 parent c164cc6 commit 692290a
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Make sure to have an up to date `dist/` folder using `yarn build`.

```BASH
cd tests/
docker compose up -d checkmk grafana
docker compose up -d checkmk grafana --pull always
yarn run cypress open
```

Expand All @@ -67,7 +67,7 @@ See the official [docs](https://docs.cypress.io/guides/overview/why-cypress) for

```BASH
cd tests/
docker compose up --exit-code-from=cypress
docker compose up --exit-code-from=cypress --pull always
```

This will run all tests without any further interaction necessary.
Expand Down Expand Up @@ -100,10 +100,3 @@ yarn run cypress run

Please note that the test have side effects on your Grafana and CheckMK instance,
such as creating a new automation user.

### Making sure you use the latest Grafana image
Docker (compose) reuses already downloaded images as much as it can. So in order to get the latest Grafana image
you need to remove the current image you have. The following snipped does a clean sweep.
```BASH
docker compose down --rmi all
```

0 comments on commit 692290a

Please sign in to comment.