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
139
Issues
139
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
gargantext
purescript-gargantext
Commits
67a2f89f
Verified
Commit
67a2f89f
authored
May 10, 2024
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CI] pin nixos/nix docker image, use experimental features flakes
parent
3e1a1371
Pipeline
#6062
failed with stages
in 8 minutes and 9 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
.gitlab-ci.yml
.gitlab-ci.yml
+9
-6
No files found.
.gitlab-ci.yml
View file @
67a2f89f
# Thanks to:
# https://vadosware.io/post/zero-to-continuous-integrated-testing-a-haskell-project-with-gitlab/
#
#
image
:
nixos/nix:latest
# Fixing the nixos image saves CI time so it doesn't have to pull new
#image every time (nixos/nix updates quite often).
# image: nixos/nix:latest
image
:
nixos/nix:2.22.0
variables
:
STACK_ROOT
:
"
${CI_PROJECT_DIR}/.stack-root"
...
...
@@ -38,9 +41,9 @@ compile:
#- .spago/
#- ${CI_PROJECT_DIR}/bun.lockb
script
:
-
nix run .#fix-bun
-
nix
--extra-experimental-features "nix-command flakes"
run .#fix-bun
#- nix-shell shell.nix --run fix-bun
-
nix run .#compile
-
nix
--extra-experimental-features "nix-command flakes"
run .#compile
#- nix-shell shell.nix --run compile
test
:
...
...
@@ -55,8 +58,8 @@ test:
#- .spago/
#- ${CI_PROJECT_DIR}/bun.lockb
script
:
-
nix run .#fix-bun
-
nix
--extra-experimental-features "nix-command flakes"
run .#fix-bun
#- nix-shell shell.nix --run fix-bun
-
nix run .#test-ps
-
nix
--extra-experimental-features "nix-command flakes"
run .#test-ps
#- nix-shell shell.nix --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