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
0d63910c
Commit
0d63910c
authored
May 22, 2023
by
Alfredo Di Napoli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to fix 'Operation not permitted'
parent
5bd96135
Pipeline
#4047
passed with stages
in 43 minutes and 9 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
16 deletions
+14
-16
.gitlab-ci.yml
.gitlab-ci.yml
+12
-15
Dockerfile
devops/docker/Dockerfile
+2
-1
No files found.
.gitlab-ci.yml
View file @
0d63910c
...
...
@@ -14,9 +14,9 @@ variables:
stages
:
-
deps
-
cabal
-
test
-
docs
-
cabal
deps
:
stage
:
deps
...
...
@@ -24,14 +24,13 @@ deps:
# cache per branch name
# key: ${CI_COMMIT_REF_SLUG}
paths
:
-
/nix
-
.stack
-
.stack-root/
-
.stack-work/
-
target
script
:
-
echo "Building the project from '$CI_PROJECT_DIR'"
-
nix-shell && export LC_ALL=C.UTF-8 && stack -v build --no-terminal --haddock --no-haddock-deps --only-dependencies --fast
-
hpack
-
nix-shell --run "LC_ALL=C.UTF-8 stack build --no-terminal --haddock --no-haddock-deps --only-dependencies --fast"
docs
:
stage
:
docs
...
...
@@ -39,18 +38,18 @@ docs:
# cache per branch name
# key: ${CI_COMMIT_REF_SLUG}
paths
:
-
/nix
-
.stack
-
.stack-root/
-
.stack-work/
-
target
script
:
-
nix-shell && export LC_ALL=C.UTF-8 && stack build --no-terminal --haddock --no-haddock-deps --fast
-
hpack
-
nix-shell --run "LC_ALL=C.UTF-8 stack build --no-terminal --haddock --no-haddock-deps --fast"
-
cp -R "$(stack path --local-install-root)"/doc ./output
artifacts
:
paths
:
-
./output
expire_in
:
1 week
allow_failure
:
true
test
:
stage
:
test
...
...
@@ -58,13 +57,12 @@ test:
# cache per branch name
# key: ${CI_COMMIT_REF_SLUG}
paths
:
-
/nix
-
.stack
-
.stack-root/
-
.stack-work/
-
target
script
:
-
nix-shell && export LC_ALL=C.UTF-8 && stack test --no-terminal --fast
-
hpack
-
nix-shell --run "LC_ALL=C.UTF-8 stack test --no-terminal --fast"
# TOOO
...
...
@@ -74,13 +72,12 @@ cabal:
# cache per branch name
# key: ${CI_COMMIT_REF_SLUG}
paths
:
-
/nix
-
.stack
-
.stack-root/
-
.stack-work/
-
.local/
-
.cabal/
-
dist-newstyle/
-
target
script
:
-
nix-shell && export LC_ALL=C.UTF-8 && hpack && cabal v2-build --dry-run
-
hpack
-
nix-shell --run "LC_ALL=C.UTF-8 cabal v2-update 'hackage.haskell.org,2023-04-07T08:35:43Z' && cabal v2-build --dry-run"
allow_failure
:
true
devops/docker/Dockerfile
View file @
0d63910c
...
...
@@ -31,6 +31,7 @@ RUN apt-get update && \
locales
\
lsb-release
\
software-properties-common
\
strace
\
sudo
\
wget
\
vim
\
...
...
@@ -46,7 +47,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN
set
-o
pipefail
&&
\
bash <
(
curl
-L
https://releases.nixos.org/nix/nix-2.15.0/install
)
--no-daemon
&&
\
locale-gen en_US.UTF-8
locale-gen en_US.UTF-8
&&
chown
root
-R
/nix
ENV
LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
ENV
USER=root
...
...
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