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
148
Issues
148
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
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
94941e06
Verified
Commit
94941e06
authored
Sep 16, 2024
by
Przemyslaw Kaminski
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ghc] 9.4.8 migration for CI
parent
ae068ccf
Pipeline
#6648
failed with stages
in 30 minutes and 49 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
2 deletions
+24
-2
.gitlab-ci.yml
.gitlab-ci.yml
+2
-1
README.md
README.md
+21
-0
Dockerfile
devops/docker/Dockerfile
+1
-1
No files found.
.gitlab-ci.yml
View file @
94941e06
# Optimising CI speed by using tips from https://blog.nimbleways.com/let-s-make-faster-gitlab-ci-cd-pipelines/
image
:
adinapoli/gargantext:v3.4
#image: adinapoli/gargantext:v3.4
image
:
cgenie/gargantext:9.4.8
variables
:
STACK_ROOT
:
"
${CI_PROJECT_DIR}/.stack-root"
...
...
README.md
View file @
94941e06
...
...
@@ -236,6 +236,27 @@ If you want to run particular tests, use:
cabal v2-test garg-test-tasty
--test-show-details
=
streaming
--test-option
=
--pattern
=
'/job status update and tracking/
```
### CI
The CI is on gitlab and is controlled by the
`.gitlab-ci.yml`
file.
The Docker image that is used can be built with:
```
shell
podman build
-t
cgenie/gargantext:9.4.8
-f
./devops/docker/Dockerfile
--format
=
docker
.
```
or
```
shell
docker build
-t
cgenie/gargantext:9.4.8
-f
./devops/docker/Dockerfile
.
```
NOTE: if podman/docker complains about not enough space, it's probably
about tmpfs. In that case you can set
```
shell
mkdir
_build
export
TMPDIR
=
$(
pwd
)
/_build
```
(https://stackoverflow.com/questions/75845647/changing-podman-build-to-path-with-more-space).
### Working on libraries
When a devlopment is needed on libraries (for instance, the HAL crawler in https://gitlab.iscpif.fr/gargantext/crawlers):
...
...
devops/docker/Dockerfile
View file @
94941e06
...
...
@@ -3,7 +3,7 @@ FROM ubuntu:noble
## NOTA BENE: In order for this to be built successfully, you have to run ./devops/coreNLP/build.sh first.
ARG
DEBIAN_FRONTEND=noninteractive
ARG
GHC=9.4.
7
ARG
GHC=9.4.
8
ARG
CORENLP=4.5.4
ARG
CORE
COPY
./shell.nix /builds/gargantext/shell.nix
...
...
Przemyslaw Kaminski
@cgenie
mentioned in commit
5660aec0
·
Oct 08, 2024
mentioned in commit
5660aec0
mentioned in commit 5660aec07ec5a0a0a5468f440092c1a8f57a864e
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