Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Grégoire Locqueville
purescript-gargantext
Commits
b4ae4695
Verified
Commit
b4ae4695
authored
May 10, 2024
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CI] cache /nix/store with collect garbage
parent
0d95db48
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
18 deletions
+4
-18
.gitlab-ci.yml
.gitlab-ci.yml
+4
-18
No files found.
.gitlab-ci.yml
View file @
b4ae4695
...
...
@@ -35,25 +35,15 @@ compile:
stage
:
compile
cache
:
paths
:
# - /tmp/nix-cache
#- /nix/store
-
/nix/store
#- node_modules/
-
output/
#- .spago/
#- ${CI_PROJECT_DIR}/bun.lockb
# before_script:
# # restore old cache
# - nix --extra-experimental-features "nix-command flakes" copy --from 'file:///tmp/nix-cache' || exit_code=$?
script
:
-
nix --extra-experimental-features "nix-command flakes" run .#fix-bun
#- nix-shell shell.nix --run fix-bun
-
nix --extra-experimental-features "nix-command flakes" run .#compile
#- nix-shell shell.nix --run compile
# after_script:
# # store cache
# - nix --extra-experimental-features "nix-command flakes" copy --to 'file:///tmp/nix-cache' .#build
test
:
stage
:
test
...
...
@@ -61,18 +51,14 @@ test:
# cache per branch name
# key: ${CI_COMMIT_REF_SLUG}
paths
:
# - /tmp/nix-cache
#- /nix/store
-
/nix/store
#- node_modules/
-
output/
#- .spago/
#- ${CI_PROJECT_DIR}/bun.lockb
# before_script:
# # restore old cache
# - nix --extra-experimental-features "nix-command flakes" copy --from 'file:///tmp/nix-cache' || exit_code=$?
script
:
-
nix --extra-experimental-features "nix-command flakes" run .#fix-bun
#- nix-shell shell.nix --run fix-bun
-
nix --extra-experimental-features "nix-command flakes" run .#test-ps
#- nix-shell shell.nix --run test-ps
-
nix-collect-garbage
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