fix(ci): use system Chromium for frontend prerender
Some checks failed
Tests / Backend - Tests skipped: 8, passed: 74
Backend Coverage #### Project Overview
No changes detected, that affect the code coverage.
* Line Coverage: 78.66% (553/703)
* Lines of Code: 703
#### Quality Gates Summary
No active quality gates.
Tests / Frontend - Lint, Tests et Build passed: 83
Frontend Coverage #### Project Overview
No changes detected, that affect the code coverage.
* Line Coverage: 84.94% (547/644)
* Lines of Code: 644
#### Quality Gates Summary
No active quality gates.
THE-TIP-TOP-MULTIBRANCH/pipeline/head There was a failure building this commit
Some checks failed
Tests / Backend - Tests skipped: 8, passed: 74
Backend Coverage #### Project Overview
No changes detected, that affect the code coverage.
* Line Coverage: 78.66% (553/703)
* Lines of Code: 703
#### Quality Gates Summary
No active quality gates.
Tests / Frontend - Lint, Tests et Build passed: 83
Frontend Coverage #### Project Overview
No changes detected, that affect the code coverage.
* Line Coverage: 84.94% (547/644)
* Lines of Code: 644
#### Quality Gates Summary
No active quality gates.
THE-TIP-TOP-MULTIBRANCH/pipeline/head There was a failure building this commit
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -220,7 +220,7 @@ pipeline {
|
|||||||
--volumes-from furious-jenkins \
|
--volumes-from furious-jenkins \
|
||||||
-v tiptop-npm-cache-frontend:/npm-cache \
|
-v tiptop-npm-cache-frontend:/npm-cache \
|
||||||
-e HOME=/tmp \
|
-e HOME=/tmp \
|
||||||
-e CHROMIUM_PATH=/usr/bin/chromium-browser \
|
-e CHROMIUM_PATH=/usr/bin/chromium \
|
||||||
-e NODE_OPTIONS=--dns-result-order=ipv4first \
|
-e NODE_OPTIONS=--dns-result-order=ipv4first \
|
||||||
-e NPM_CONFIG_CACHE=/npm-cache \
|
-e NPM_CONFIG_CACHE=/npm-cache \
|
||||||
-e NPM_CONFIG_FETCH_RETRIES=5 \
|
-e NPM_CONFIG_FETCH_RETRIES=5 \
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ async function main() {
|
|||||||
const base = server.resolvedUrls.local[0].replace(/\/$/, '')
|
const base = server.resolvedUrls.local[0].replace(/\/$/, '')
|
||||||
|
|
||||||
const browser = await chromium.launch({
|
const browser = await chromium.launch({
|
||||||
|
executablePath: process.env.CHROMIUM_PATH || '/usr/bin/chromium',
|
||||||
headless: true,
|
headless: true,
|
||||||
})
|
})
|
||||||
const page = await browser.newPage()
|
const page = await browser.newPage()
|
||||||
|
|||||||
Reference in New Issue
Block a user