Skip to content

Commit

Permalink
ci: Disable setup-chrome browser actions
Browse files Browse the repository at this point in the history
* This action does not work at the moment with latest ubuntu that runners are using

* Bump Grafana version to 11.4.0 in docker-compose

Signed-off-by: Mahendra Paipuri <[email protected]>
  • Loading branch information
mahendrapaipuri committed Dec 12, 2024
1 parent f62c440 commit 79185f3
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .config/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM grafana/${grafana_image}:${grafana_version}
ARG development=false
ARG TARGETARCH

ARG GO_VERSION=1.22.5
ARG GO_VERSION=${go_version}
ARG GO_ARCH=${TARGETARCH:-amd64}

ENV DEV "${development}"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/step_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
echo "has-backend=true" >> $GITHUB_OUTPUT
fi
# Install chrome as we will use it in e2e tests
- uses: browser-actions/setup-chrome@v1
with:
install-dependencies: true
# # Install chrome as we will use it in e2e tests
# - uses: browser-actions/setup-chrome@v1
# with:
# install-dependencies: true

# Install chrome manually until the upstream action
# fixes it for latest ubuntu
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ plugin-validator

# Ignore PDF files
*.pdf
!docs/reports/*.pdf
!.ci/reports/*/*.pdf

# Playwright stuff
Expand Down
5 changes: 4 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ services:
context: ./.config
args:
grafana_image: ${GRAFANA_IMAGE:-grafana-oss}
grafana_version: ${GRAFANA_VERSION:-11.3.0}
grafana_version: ${GRAFANA_VERSION:-11.4.0}
development: ${DEVELOPMENT:-false}
go_version: ${GOVERSION:-1.23.2}
cap_add:
- SYS_PTRACE
ports:
Expand Down Expand Up @@ -56,8 +57,10 @@ services:
- RENDERING_CLUSTERING_MAX_CONCURRENCY=5
- RENDERING_CLUSTERING_TIMEOUT=60
- IGNORE_HTTPS_ERRORS=true
# - RENDERING_ARGS=--no-sandbox,--disable-setuid-sandbox,--disable-dev-shm-usage,--disable-accelerated-2d-canvas,--disable-gpu,--remote-debugging-port=9090
ports:
- 8081
# - 9090
chrome:
image: chromedp/headless-shell:latest
shm_size: 2G
Expand Down
Binary file not shown.

0 comments on commit 79185f3

Please sign in to comment.