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

cachix docs suggest splitting this up so why not

parent 705fa70e
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
Pipeline #779 failed
......@@ -41,14 +41,20 @@ morph-builds:
# thanks to project-level configuration.
CACHIX_NAME: "privatestorage-opensource"
script:
before_script:
- |
nix-env -iA nixpkgs.cachix nixpkgs.bash
cachix use privatestorage-opensource
nix path-info --all > /tmp/store-path-pre-build
script:
- |
for grid in morph/grid/*/grid.nix; do
morph build "${grid}"
done
after_script:
- |
bash -c "comm -13 <(sort /tmp/store-path-pre-build | grep -v '\.drv$') <(nix path-info --all | grep -v '\.drv$' | sort) | cachix push $CACHIX_NAME"
vulnerability-scan:
......
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