Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
haskell-gargantext
haskell-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 175
    • Issues 175
    • 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
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • haskell-gargantexthaskell-gargantext
  • Issues
  • #189

Closed
Open
Opened Mar 21, 2023 by Alfredo Di Napoli@AlfredoDiNapoli
  • Report abuse
  • New issue
Report abuse New issue

Restore CI (and try converting it to use `nix`)

Merging !139 (merged) allowed us to switch to the latest version of igraph, but in the process we broke CI, because we now need libigraph-dev-0.10.4 to be provisioned as a system dependency.

However, due to the fact that our CI doesn't use nix, our next best option would be to use apt-get install, but apparently there are no readily-available Ubuntu/Debian packages to install, so we are left with building this from source directly from CI.

However, building locally with --nix and in a "standard" way via CI is not good for reproducibility and consistency (see also #179 (closed) for an effort in a similar direction): ideally we should have only a single (reliable) way to build the project across all the environments.

The natural choice seems to be trying to improve CI by switching it to build via nix (inside the Docker container like we do now).

This relies on #188 (closed) being completed first.

Something to figure out is how to cache the nix store outside the container, to avoid rebuilding the world all the time. Perhaps we could also explore caching services like Cachix which gives us 5GB free for open source projects, but I have no clue if that's enough for us.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: gargantext/haskell-gargantext#189