Skip to content
Snippets Groups Projects
Commit f1508ad1 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Try to put the cachix/morph job into a container by itself

parent ffe1a9bb
No related branches found
No related tags found
4 merge requests!140Merge staging into production,!122Merge develop into staging,!115Continuous deployment for the grid systems,!112Draft: Try having morph build everything it wants and then caching it
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment