Update running/testing for deployment scripts
This commit is contained in:
parent
5cb2dce159
commit
203fad17d1
2 changed files with 10 additions and 4 deletions
6
run.sh
6
run.sh
|
|
@ -1,6 +1,6 @@
|
||||||
#! /usr/bin/env nix-shell
|
#! /usr/bin/env nix-shell
|
||||||
#! nix-shell -i bash -p bash
|
#! nix-shell -i bash -p bash
|
||||||
sudo nixos-rebuild \
|
sudo \
|
||||||
|
nixos-rebuild switch \
|
||||||
--option eval-cache false \
|
--option eval-cache false \
|
||||||
--flake /workspace/deployed-nixos-server-and-apps \
|
--flake /workspace/deployed-nixos-server-and-apps#linode-nixos
|
||||||
switch
|
|
||||||
|
|
|
||||||
6
test.sh
Executable file
6
test.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
||||||
|
#! /usr/bin/env nix-shell
|
||||||
|
#! nix-shell -i bash -p bash
|
||||||
|
sudo \
|
||||||
|
nixos-rebuild test \
|
||||||
|
--option eval-cache false \
|
||||||
|
--flake /workspace/deployed-nixos-server-and-apps#linode-nixos
|
||||||
Loading…
Add table
Add a link
Reference in a new issue