Skip to content

Commit

Permalink
WIP test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Ukochka committed Jun 14, 2024
1 parent f0be6a2 commit 7b93b66
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
pluginDir: ${{ fromJson(needs.setup-matrix.outputs.pluginDirs) }}
# pluginDir: ${{ fromJson(needs.setup-matrix.outputs.pluginDirs) }}
pluginDir: ${{fromJson('["examples/datasource-streaming-backend-websocket/streaming-backend-websocket-plugin"]')}}
fail-fast: false
env:
GF_AUTH_ANONYMOUS_ENABLED: "true"
Expand Down Expand Up @@ -175,6 +176,9 @@ jobs:
timeout: 60000
interval: 500

- name: LALLALA
run: docker exec $PLUGIN_ID sh -c 'ping -c 1 mockserver'

- name: Expected - Run Playwright tests
if: steps.has-integration-tests.outputs.DIR == 'true' && steps.should-run-expected-latest-tests.outcome == 'success'
id: expected-version-tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ services:
volumes:
- ./dist:/var/lib/grafana/plugins/example-websocket-datasource
- ./provisioning:/etc/grafana/provisioning
extra_hosts:
- 'mockserver:host-gateway'
mockserver:
container_name: 'mockserver-streamingbackend-datasource'
build:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ services:
volumes:
- ./dist:/var/lib/grafana/plugins/example-websocket-datasource
- ./provisioning:/etc/grafana/provisioning
extra_hosts:
- 'host.docker.internal:host-gateway'
mockserver:
container_name: 'websocket-server-example'
build:
Expand Down

0 comments on commit 7b93b66

Please sign in to comment.