From cd8d7db71ef345aa8922e5903679440daa6b3701 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 9 Nov 2023 16:16:50 +0000 Subject: CI: Pass --no-sandbox to puppeteer via mermaid-cli CI jobs run as root. chrome hates that. See https://github.com/mermaid-js/mermaid-cli/blob/HEAD/docs/linux-sandbox-issue.md --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 35a605c..10fe57a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,12 @@ --- variables: SITE_URL: spec.torproject.org + MMDC: mmdc -p bin/ci-puppeteer-config.json +# ^ re MMDC: +# https://github.com/mermaid-js/mermaid-cli/blob/HEAD/docs/linux-sandbox-issue.md +# +# bin/ is the wrong place for that file +# but I don't want to rename all of bin/ to maint/ right now. build: image: rust:bookworm -- cgit v1.2.3-54-g00ecf