diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2023-11-09 16:16:50 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2023-11-09 16:42:47 -0500 |
commit | cd8d7db71ef345aa8922e5903679440daa6b3701 (patch) | |
tree | 57bf9115e3569a0f66eec78a413f38eb56aedc81 /.gitlab-ci.yml | |
parent | ad5393e0e4392b873fef9d6e12e437a72ca06fe4 (diff) | |
download | torspec-cd8d7db71ef345aa8922e5903679440daa6b3701.tar.gz torspec-cd8d7db71ef345aa8922e5903679440daa6b3701.zip |
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
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 6 |
1 files changed, 6 insertions, 0 deletions
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 |