Merge pull request #3018 from overleaf/jpa-retry-webpack-build

[misc] work around flaky webpack builds: retry once before failing

GitOrigin-RevId: 3247c2ae8f185e269b17f64c3b5d42cf16f96a5c
This commit is contained in:
Miguel Serrano 2020-07-16 17:01:34 +02:00 committed by Copybot
parent 244709df5e
commit d7ff985554

View file

@ -240,6 +240,10 @@ build_dev:
. .
build_webpack: build_webpack:
$(MAKE) build_webpack_once \
|| $(MAKE) build_webpack_once
build_webpack_once:
docker build \ docker build \
--build-arg SENTRY_RELEASE \ --build-arg SENTRY_RELEASE \
--cache-from $(IMAGE_CI)-dev \ --cache-from $(IMAGE_CI)-dev \