Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bookme
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Christopher League
bookme
Commits
5d815dd6
Commit
5d815dd6
authored
Jun 05, 2018
by
Christopher League
🖥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GitLab CI: Attempt to cache both ~/.stack and ./.stack-work
parent
f6cb626e
Pipeline
#533
passed with stage
in 57 minutes and 7 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
22 deletions
+5
-22
.gitlab-ci.yml
.gitlab-ci.yml
+3
-20
config/keter.yml
config/keter.yml
+2
-2
No files found.
.gitlab-ci.yml
View file @
5d815dd6
image
:
league/haskell-stack:20180605
# Here are two problems we're trying to solve with this before_script:
# https://github.com/commercialhaskell/stackage/issues/3132
# https://github.com/snoyberg/http-client/issues/292
# https://github.com/commercialhaskell/stack/issues/2372#issuecomment-234113085
# https://github.com/fpco/haskell-scratch/issues/2
# The libnss3 seems to fix the network issue.
# Also, we can't force stack to use system-ghc if its version doesn't
# match what the resolver wants. So to download and install a GHC, we
# need build-essential.
before_script
:
-
echo USER IS $(whoami)
-
echo HOME IS $HOME
-
ls -l /
-
mkdir -p /cache/root-stack
-
ln -s /cache/root-stack /root/.stack
build
:
# For some reason, just `stack` uses the old version, so explicitly
# ask for the new one from ~/.local:
script
:
-
echo Fake build
-
echo PWD is $(pwd)
-
mkdir .stack-work
-
touch .stack-work/SAVED
-
stack build
cache
:
paths
:
...
...
config/keter.yml
View file @
5d815dd6
# After you've edited this file, remove the following line to allow
# `yesod keter` to build your bundle.
user-edited
:
fals
e
user-edited
:
tru
e
# A Keter app is composed of 1 or more stanzas. The main stanza will define our
# web application. See the Keter documentation for more information on
...
...
@@ -55,7 +55,7 @@ stanzas:
# Use the following to automatically copy your bundle upon creation via `yesod
# keter`. Uses `scp` internally, so you can set it to a remote destination
# copy-to: user@host:/opt/keter/incoming/
copy-to
:
liucs.net:tmp
# You can pass arguments to `scp` used above. This example limits bandwidth to
# 1024 Kbit/s and uses port 2222 instead of the default 22
...
...
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