Update running/testing for deployment scripts
This commit is contained in:
parent
5cb2dce159
commit
203fad17d1
2 changed files with 10 additions and 4 deletions
8
run.sh
8
run.sh
|
|
@ -1,6 +1,6 @@
|
|||
#! /usr/bin/env nix-shell
|
||||
#! nix-shell -i bash -p bash
|
||||
sudo nixos-rebuild \
|
||||
--option eval-cache false \
|
||||
--flake /workspace/deployed-nixos-server-and-apps \
|
||||
switch
|
||||
sudo \
|
||||
nixos-rebuild switch \
|
||||
--option eval-cache false \
|
||||
--flake /workspace/deployed-nixos-server-and-apps#linode-nixos
|
||||
|
|
|
|||
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