Try sandboxing
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build was killed Details

main
mat ess 2022-12-22 01:25:43 -05:00
parent 44a65b4f90
commit d1c1c0693b
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
local PROD = 'production';
local STAGE = 'staging';
local NIX = 'nix --extra-experimental-features nix-command --extra-experimental-features flakes ';
local NIX = 'nix --sandbox --extra-experimental-features nix-command --extra-experimental-features flakes ';
local VOLUMES = [
{ name: 'site', path: '/site' },
{ name: 'cache', path: '/nix/store' },
@ -28,6 +28,7 @@ local Step(env, name, cmds, extras={}, volumes=VOLUMES) =
volumes: volumes,
commands: cmds,
when: WhenProd(prod),
privileged: true,
} + extras;
local BootstrapStep =