← Back to team overview

sts-sponsors team mailing list archive

[Merge] ~adam-collard/maas-site-manager:playwright-build-dep into maas-site-manager:main

 

Adam Collard has proposed merging ~adam-collard/maas-site-manager:playwright-build-dep into maas-site-manager:main.

Commit message:
Set fixed path to playwright browsers



Requested reviews:
  MAAS Committers (maas-committers)

For more details, see:
https://code.launchpad.net/~adam-collard/maas-site-manager/+git/site-manager/+merge/443866
-- 
Your team MAAS Committers is requested to review the proposed merge of ~adam-collard/maas-site-manager:playwright-build-dep into maas-site-manager:main.
diff --git a/Makefile b/Makefile
index a453f2b..e371aa5 100644
--- a/Makefile
+++ b/Makefile
@@ -70,7 +70,7 @@ ci-backend-format:
 
 ci-frontend-dep: install-frontend-dependencies
 	env -C frontend yarnpkg install
-	env -C frontend npx --yes playwright install
+	env -C frontend PLAYWRIGHT_BROWSERS_PATH=/var/cache/playwright-browsers npx --yes playwright install
 .PHONY: ci-frontend-dep
 
 ci-frontend-build:
@@ -86,5 +86,10 @@ ci-frontend-test:
 .PHONY: ci-frontend-test
 
 ci-e2e-test:
+<<<<<<< Makefile
 	env -C frontend PLAYWRIGHT_JUNIT_OUTPUT_NAME=../junit-e2e.xml npx playwright test --reporter=junit
 .PHONY: ci-e2e-test
+=======
+	env -C frontend PLAYWRIGHT_BROWSERS_PATH=/var/cache/playwright-browsers PLAYWRIGHT_JUNIT_OUTPUT_NAME=../junit-e2e.xml npx playwright test --reporter=junit
+.PHONY: ci-test
+>>>>>>> Makefile

References