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',
volumes: [
{ name: 'site', path: '/site' },
{ name: 'cache', path: '/nix/store' },
{ name: 'cache', path: '/test' },
],
commands: cmds,
when: WhenProd(prod),
@ -57,9 +57,12 @@ local DeployStep(env) =
],
steps: [
NixStep(STAGE),
NixStep(PROD),
DeployStep(STAGE),
DeployStep(PROD),
Step(STAGE, 'bootstrap test', [
'cp -r /nix/store/* /test',
]),
// NixStep(STAGE),
// NixStep(PROD),
// DeployStep(STAGE),
// DeployStep(PROD),
],
}