From 75eae52aa330bfe84c47a6d4373d9377eee591f0 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Fri, 15 Aug 2025 15:49:25 +0200 Subject: [PATCH] [web] fix sentry upload (#27956) GitOrigin-RevId: e83670af74da82e385e312a62904eaeb9b7fbef8 --- services/web/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/web/Makefile b/services/web/Makefile index 63377ff26f..a2d1afd756 100644 --- a/services/web/Makefile +++ b/services/web/Makefile @@ -574,9 +574,10 @@ SENTRY_IMAGE=getsentry/sentry-cli:2.16.1 sentry_prefetch: docker pull $(SENTRY_IMAGE) +sentry_upload: MONOREPO=$(shell cd ../../ && pwd) sentry_upload: docker run --rm \ - --volume $(PWD):$(PWD) --workdir $(PWD) \ + --volume $(MONOREPO):$(MONOREPO):ro --workdir $(PWD) \ --env BRANCH_NAME --env SENTRY_RELEASE \ --entrypoint bin/sentry_upload \ $(SENTRY_IMAGE)