Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
191
Issues
191
List
Board
Labels
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
50f13d32
Verified
Commit
50f13d32
authored
Jul 10, 2025
by
Przemyslaw Kaminski
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CI] attempt at fixing nix db permissions
parent
76c1b9a6
Pipeline
#7746
failed with stages
in 44 minutes and 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
.gitlab-ci.yml
.gitlab-ci.yml
+6
-6
No files found.
.gitlab-ci.yml
View file @
50f13d32
...
@@ -73,12 +73,6 @@ test:
...
@@ -73,12 +73,6 @@ test:
-
chown -R test:test ${CABAL_DIR}
-
chown -R test:test ${CABAL_DIR}
-
mkdir -p "$XDG_CACHE_HOME/nix"
-
mkdir -p "$XDG_CACHE_HOME/nix"
-
chown -R test:test "$XDG_CACHE_HOME/nix"
-
chown -R test:test "$XDG_CACHE_HOME/nix"
# Fix
# opening lock file '/nix/var/nix/db/big-lock': Permission denied
# when starting CoreNLP
-
chmod -R 755 /nix/var/nix/db/
-
chmod 666 /nix/var/nix/db/big-lock
cache
:
cache
:
key
:
cabal.project
key
:
cabal.project
...
@@ -101,6 +95,12 @@ test:
...
@@ -101,6 +95,12 @@ test:
chown -R test:test /root/.cache/cabal/logs/
chown -R test:test /root/.cache/cabal/logs/
chown -R test:test "$TEST_TMPDIR"
chown -R test:test "$TEST_TMPDIR"
# Fix
# opening lock file '/nix/var/nix/db/big-lock': Permission denied
# when starting CoreNLP
chmod -R 755 /nix/var/nix/db/
chmod 666 /nix/var/nix/db/big-lock
nix-shell --run "chown -R test:test /root/.config/ && su -m test -c \"export PATH=$PATH:$TEST_NIX_PATH && export TMPDIR=$TEST_TMPDIR && cd /builds/gargantext/haskell-gargantext; $CABAL --store-dir=$STORE_DIR v2-test --test-show-details=streaming --flags 'test-crypto no-phylo-debug-logs' --ghc-options='-O0 -fclear-plugins'\""
nix-shell --run "chown -R test:test /root/.config/ && su -m test -c \"export PATH=$PATH:$TEST_NIX_PATH && export TMPDIR=$TEST_TMPDIR && cd /builds/gargantext/haskell-gargantext; $CABAL --store-dir=$STORE_DIR v2-test --test-show-details=streaming --flags 'test-crypto no-phylo-debug-logs' --ghc-options='-O0 -fclear-plugins'\""
chown -R root:root dist-newstyle/
chown -R root:root dist-newstyle/
...
...
Przemyslaw Kaminski
@cgenie
mentioned in commit
78032d98
·
Aug 04, 2025
mentioned in commit
78032d98
mentioned in commit 78032d980205bdc10120a302e191c883282b9224
Toggle commit list
Przemyslaw Kaminski
@cgenie
mentioned in merge request
!434 (merged)
·
Aug 04, 2025
mentioned in merge request
!434 (merged)
mentioned in merge request !434
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment