Add bootstrap test
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
9778b56610
commit
2c48bb009d
|
@ -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),
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue