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
142
Issues
142
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
purescript-gargantext
Commits
c3d6be42
Verified
Commit
c3d6be42
authored
May 10, 2024
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CI] before/after scripts for cache, allow them to fail
parent
0bd03143
Pipeline
#6065
canceled with stages
in 4 minutes and 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
.gitlab-ci.yml
.gitlab-ci.yml
+7
-4
No files found.
.gitlab-ci.yml
View file @
c3d6be42
...
...
@@ -41,15 +41,17 @@ compile:
-
output/
#- .spago/
#- ${CI_PROJECT_DIR}/bun.lockb
script
:
before_
script
:
# restore old cache
-
nix --extra-experimental-features "nix-command flakes" copy --from 'file:///tmp/nix-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
...
...
@@ -65,10 +67,11 @@ test:
-
output/
#- .spago/
#- ${CI_PROJECT_DIR}/bun.lockb
script
:
before_
script
:
# restore old cache
-
nix --extra-experimental-features "nix-command flakes" copy --from 'file:///tmp/nix-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
...
...
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