-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* set up test environment * fix and clean up tests * update Drone config to run tests * clean up docker-compose file * fix Grafana setup step * init yarn in test step * Update common.star * Update .drone.yml * Update browser.test.ts * add volumes for puppeteer cache * fix after merge * install browser in drone workspace * try to fix workspace * test other image to run tests * Update .drone.yml * trying things * Update ci image * fix test endpoint * add debug logs * fix provisioning file path * Update http-server.integration.test.ts * fix volumes * update provisioning * fix dashboards provisioning path * remove debug logs * add image log * tmp comment out tests * Update http-server.integration.test.ts * Update http-server.integration.test.ts * test with deviceScaleFactor * Update http-server.integration.test.ts * display styles to compare CI vs local * Update browser.ts * Use pixelmatch to compare test images + clean up * remove failing test + clean up provisioning files * switch image to grafana-enterprise * update test image * Update README.md * fix docker-compose path * Add instructions to run on Drone-like env * update golden files * remove broken test * remove slow.png * move reading env settings * update yarn-test to embed running Grafana Docker * Update Drone Docker and instructions * hide logs on success
- Loading branch information
1 parent
ecaca47
commit aca8ee6
Showing
26 changed files
with
2,903 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,4 +36,8 @@ dist/**/* | |
# Ignore output from coverage report | ||
coverage | ||
|
||
scripts/tmp | ||
scripts/tmp | ||
|
||
tests/testdata/diff_* | ||
|
||
cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
version: '2' | ||
|
||
services: | ||
docker-puppeteer: | ||
image: grafana/docker-puppeteer:pre-node-20 | ||
volumes: | ||
- "../../..:/drone/src" | ||
stdin_open: true # docker run -i | ||
tty: true # docker run -t | ||
entrypoint: bash | ||
grafana: | ||
image: grafana/grafana-enterprise:latest | ||
ports: | ||
- 3000:3000 | ||
environment: | ||
GF_FEATURE_TOGGLES_ENABLE: renderAuthJWT | ||
volumes: | ||
- ../test/dashboards.yaml:/etc/grafana/provisioning/dashboards/dashboards.yaml | ||
- ../../../scripts/drone/provisioning/dashboards:/usr/share/grafana/dashboards | ||
- ../../../scripts/drone/provisioning/datasources/datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This Docker environment is used to run E2E tests for the image renderer locally. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: 1 | ||
|
||
providers: | ||
- name: 'Tests' | ||
folder: 'tests' | ||
folderUid: '' | ||
type: file | ||
allowUiUpdates: false | ||
updateIntervalSeconds: 60 | ||
options: | ||
path: dashboards |
Oops, something went wrong.