Add bootstrap test
continuous-integration/drone/push Build is passing Details

main
mat ess 2022-12-22 00:25:47 -05:00
parent 9778b56610
commit 2c48bb009d
1 changed files with 8 additions and 5 deletions

View File

@ -23,7 +23,7 @@ local Step(env, name, cmds, extras={}) =
image: 'nixos/nix:latest', image: 'nixos/nix:latest',
volumes: [ volumes: [
{ name: 'site', path: '/site' }, { name: 'site', path: '/site' },
{ name: 'cache', path: '/nix/store' }, { name: 'cache', path: '/test' },
], ],
commands: cmds, commands: cmds,
when: WhenProd(prod), when: WhenProd(prod),
@ -57,9 +57,12 @@ local DeployStep(env) =
], ],
steps: [ steps: [
NixStep(STAGE), Step(STAGE, 'bootstrap test', [
NixStep(PROD), 'cp -r /nix/store/* /test',
DeployStep(STAGE), ]),
DeployStep(PROD), // NixStep(STAGE),
// NixStep(PROD),
// DeployStep(STAGE),
// DeployStep(PROD),
], ],
} }