Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PaymentServer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Administrator
PaymentServer
Merge requests
!18
Ristretto dependency
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Ristretto dependency
16.ristretto-dependency
into
master
Overview
0
Commits
10
Pipelines
0
Changes
5
Merged
Jean-Paul Calderone
requested to merge
16.ristretto-dependency
into
master
5 years ago
Overview
0
Commits
10
Pipelines
0
Changes
5
Expand
Fixes
#16 (closed)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
3ef75e88
10 commits,
3 years ago
5 files
+
66
−
11
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
.circleci/config.yml
+
36
−
7
Options
@@ -74,6 +74,42 @@ jobs:
@@ -74,6 +74,42 @@ jobs:
-
paymentserver-v1-{{ checksum "stack.yaml" }}-{{ checksum "PaymentServer.cabal" }}
-
paymentserver-v1-{{ checksum "stack.yaml" }}-{{ checksum "PaymentServer.cabal" }}
-
paymentserver-v1-{{ checksum "stack.yaml" }}
-
paymentserver-v1-{{ checksum "stack.yaml" }}
-
run
:
# Build just our dependencies. It's nice to have this as a separate
# step so failures here are more easily identified as being
# unrelated to our code.
#
# See below for explanation of the various flags passed in. If the
# flags here differ from those below in a way that makes ghc think a
# library needs to be rebuilt then we'll build everything twice and
# our cache will be useless! Try not to make that happen.
name
:
"
Build
Dependencies"
command
:
|
BUILD="stack build \
--no-terminal \
--only-dependencies \
--fast \
--test \
--no-run-tests \
--jobs 1 \
--interleaved-output"
nix-shell shell.nix --run "$BUILD"
# Give it a good long while. stripe-core, in particular, can take a
# while to build.
no_output_timeout
:
"
20m"
-
save_cache
:
# We can save the stack cache right here. It will have everything
# we want in it now that the dependencies have been built. And this
# way we get to save the cache whether or not the test suite goes on
# to succeed.
name
:
"
Cache
Dependencies"
key
:
paymentserver-v1-{{ checksum "stack.yaml" }}-{{ checksum "PaymentServer.cabal" }}
paths
:
-
"
/root/.stack"
-
"
.stack-work"
-
run
:
-
run
:
name
:
"
Run
Tests"
name
:
"
Run
Tests"
command
:
|
command
:
|
@@ -107,13 +143,6 @@ jobs:
@@ -107,13 +143,6 @@ jobs:
--no-haddock-deps"
--no-haddock-deps"
nix-shell shell.nix --run "$BUILD"
nix-shell shell.nix --run "$BUILD"
-
save_cache
:
name
:
"
Cache
Dependencies"
key
:
paymentserver-v1-{{ checksum "stack.yaml" }}-{{ checksum "PaymentServer.cabal" }}
paths
:
-
"
/root/.stack"
-
"
.stack-work"
-
save_cache
:
-
save_cache
:
name
:
"
Cache
Nix
Store
Paths"
name
:
"
Cache
Nix
Store
Paths"
key
:
paymentserver-nix-store-v1-{{ .Environment.NIXPKGS_REV }}
key
:
paymentserver-nix-store-v1-{{ .Environment.NIXPKGS_REV }}
Loading