Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PrivateStorageio
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
Show more breadcrumbs
PrivateStorage
PrivateStorageio
Commits
f1508ad1
Commit
f1508ad1
authored
3 years ago
by
Jean-Paul Calderone
Browse files
Options
Downloads
Patches
Plain Diff
Try to put the cachix/morph job into a container by itself
parent
ffe1a9bb
No related branches found
Branches containing commit
No related tags found
4 merge requests
!140
Merge staging into production
,
!122
Merge develop into staging
,
!115
Continuous deployment for the grid systems
,
!112
Draft: Try having morph build everything it wants and then caching it
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+11
-0
11 additions, 0 deletions
.gitlab-ci.yml
with
11 additions
and
0 deletions
.gitlab-ci.yml
+
11
−
0
View file @
f1508ad1
...
...
@@ -21,6 +21,17 @@ unit-tests:
-
"
nix-shell
--run
'nix-build
nixos/unit-tests.nix'
&&
cat
result"
morph-builds
:
tags
:
# Run this job in a Docker container so that it won't have the system
# /nix/store so that it has to build everything. This is necessary so
# that the logic below that chooses what to send to cachix catches all our
# stuff. Anything that exists in /nix/store at the beginning of the job
# won't be cached. Also there are issues with any concurrent builds
# sharing /nix/store.
#
# This is far from ideal but maybe it's a tolerable hack for now.
-
"
nixos"
-
"
docker"
stage
:
"
test"
variables
:
# CACHIX_AUTH_TOKEN, which lets us push to cachix, is supplied by GitLab
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment