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
153
Issues
153
List
Board
Labels
Milestones
Merge Requests
9
Merge Requests
9
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
82baf54d
Commit
82baf54d
authored
May 15, 2023
by
Alfredo Di Napoli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch to gargantext:v1 docker image
parent
d4e1a237
Pipeline
#4008
failed with stage
in 8 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
.gitlab-ci.yml
.gitlab-ci.yml
+16
-5
No files found.
.gitlab-ci.yml
View file @
82baf54d
...
@@ -2,8 +2,7 @@
...
@@ -2,8 +2,7 @@
# https://vadosware.io/post/zero-to-continuous-integrated-testing-a-haskell-project-with-gitlab/
# https://vadosware.io/post/zero-to-continuous-integrated-testing-a-haskell-project-with-gitlab/
#
#
#
#
image
:
cgenie/stack-build:lts-18.18-garg
image
:
adinapoli/gargantext:v1
#image: cgenie/nixos-stack:latest
variables
:
variables
:
STACK_ROOT
:
"
${CI_PROJECT_DIR}/.stack-root"
STACK_ROOT
:
"
${CI_PROJECT_DIR}/.stack-root"
...
@@ -28,7 +27,7 @@ deps:
...
@@ -28,7 +27,7 @@ deps:
-
.stack-work/
-
.stack-work/
-
target
-
target
script
:
script
:
-
stack build --no-terminal --haddock --no-haddock-deps --only-dependencies --fast
-
stack
--nix
build --no-terminal --haddock --no-haddock-deps --only-dependencies --fast
docs
:
docs
:
cache
:
cache
:
...
@@ -40,7 +39,7 @@ docs:
...
@@ -40,7 +39,7 @@ docs:
-
.stack-work/
-
.stack-work/
-
target
-
target
script
:
script
:
-
stack build --no-terminal --haddock --no-haddock-deps --fast
-
stack
--nix
build --no-terminal --haddock --no-haddock-deps --fast
-
cp -R "$(stack path --local-install-root)"/doc ./output
-
cp -R "$(stack path --local-install-root)"/doc ./output
artifacts
:
artifacts
:
paths
:
paths
:
...
@@ -57,7 +56,19 @@ test:
...
@@ -57,7 +56,19 @@ test:
-
.stack-work/
-
.stack-work/
-
target
-
target
script
:
script
:
-
stack test --no-terminal --fast
-
stack
--nix
test --no-terminal --fast
# TOOO
# TOOO
cabal
:
cache
:
# cache per branch name
# key: ${CI_COMMIT_REF_SLUG}
paths
:
-
.stack
-
.stack-root/
-
.stack-work/
-
target
script
:
-
nix-shell && hpack && cabal v2-build --dry-run
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