Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
memoorje web-app
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
memoorje
memoorje web-app
Commits
1e35799d
Commit
1e35799d
authored
3 years ago
by
Konrad Mohrfeldt
Browse files
Options
Downloads
Patches
Plain Diff
ci: move test-env configuration into separate file
parent
3c13d5a0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-4
1 addition, 4 deletions
.gitlab-ci.yml
scripts/prep-test-env.sh
+8
-0
8 additions, 0 deletions
scripts/prep-test-env.sh
with
9 additions
and
4 deletions
.gitlab-ci.yml
+
1
−
4
View file @
1e35799d
...
...
@@ -53,10 +53,7 @@ test::js:
FF_NETWORK_PER_BUILD
:
1
before_script
:
-
ADBLOCK=true npm ci
-
npx playwright install-deps
-
apt update -y && apt install -y xmlstarlet zbar-tools
# Imagemagick prevents PDF to image conversions by default, but we need that for reading QR codes
-
xmlstarlet ed -L -u 'policymap/policy[@domain="coder"][@pattern="PDF"]/@rights' -v 'read|write' /etc/ImageMagick-6/policy.xml
-
scripts/prep-test-env.sh
script
:
-
npm run test -- --browser "$BROWSER" --retries
3
parallel
:
...
...
This diff is collapsed.
Click to expand it.
scripts/prep-test-env.sh
0 → 100755
+
8
−
0
View file @
1e35799d
#!/bin/sh
set
-eu
apt update
-y
apt
install
-y
xmlstarlet zbar-tools
# Imagemagick prevents PDF to image conversions by default, but we need that for reading QR codes
xmlstarlet ed
-L
-u
'policymap/policy[@domain="coder"][@pattern="PDF"]/@rights'
-v
'read|write'
/etc/ImageMagick-6/policy.xml
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment