Skip to content

Commit

Permalink
remove grafana from e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
negrel committed May 23, 2024
1 parent 23c3cd9 commit a8bdd00
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 44 deletions.
44 changes: 0 additions & 44 deletions tests/bun/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,47 +16,3 @@ services:
aliases:
- "clickhouse.localhost"

grafana:
image: "docker.io/grafana/grafana-oss:10.3.3"
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:3000/api/health || exit 1
timeout: 30s
user: "root:root"
environment:
# https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/
GF_INSTALL_PLUGINS: "grafana-clickhouse-datasource"
GF_LOG_LEVEL: "debug"
# [server]
GF_SERVER_HTTP_PORT: 3000
# [feature_toggles]
GF_FEATURE_TOGGLES_ENABLE: "publicDashboards"
# [database]
GF_DATABASE_TYPE: "sqlite3"
GF_DATABASE_PATH: "/data/grafana.db"
# [security]
GF_SECURITY_SECRET_KEY: "grafana-secret-key"
# [plugins]
GF_PLUGINS_PLUGIN_ADMIN_ENABLED: false
# [unified_alerting]
GF_UNIFIED_ALERTING_ENABLED: false
# [alerting]
GF_ALERTING_ENABLED: false
# [users]
GF_USERS_ALLOW_SIGN_UP: true
GF_USERS_AUTO_ASSIGN_ORG: true
GF_USERS_ASSIGN_ORG_ROLE: editor
GF_USERS_DEFAULT_THEME: "system"
GF_USERS_EDITORS_CAN_ADMIN: true
GF_USERS_HIDDEN_USER: "admin"
# [auth]
GF_AUTH_DISABLE_LOGIN_FORM: false
GF_AUTH_DISABLE_SIGNOUT_MENU: true
# [news]
GF_NEWS_NEWS_FEED_ENABLED: false
# [snapshots]
GF_SNAPSHOTS_EXTERNAL_ENABLE: false
GF_SNAPSHOTS_PUBLIC_MODE: false
networks:
default:
aliases:
- "grafana.localhost"
2 changes: 2 additions & 0 deletions tests/bun/events/prisme.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export PRISME_MODE="ingestion"

export PRISME_CLICKHOUSE_HOSTPORT='clickhouse.localhost:9000'
export PRISME_CLICKHOUSE_USER="clickhouse"
export PRISME_CLICKHOUSE_PASSWORD="password"
Expand Down
2 changes: 2 additions & 0 deletions tests/bun/trusted-proxy-custom-header/prisme.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export PRISME_MODE="ingestion"

export PRISME_ACCESS_LOG='/data/access.log'
export PRISME_TRUST_PROXY='true'
export PRISME_PROXY_HEADER='X-Custom-Forwarded-For'
Expand Down
2 changes: 2 additions & 0 deletions tests/bun/trusted-proxy/prisme.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export PRISME_MODE="ingestion"

export PRISME_ACCESS_LOG='/data/access.log'
export PRISME_TRUST_PROXY='true'
export PRISME_ADMIN_HOSTPORT='0.0.0.0:9090'
Expand Down
2 changes: 2 additions & 0 deletions tests/bun/untrusted-proxy/prisme.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
export PRISME_MODE="ingestion"

export PRISME_ACCESS_LOG='/data/access.log'
export PRISME_TRUST_PROXY='false'

Expand Down

0 comments on commit a8bdd00

Please sign in to comment.