Restrict filesets even more by avoiding test files that are unecessary inside the test
All checks were successful
/ check-pre-commit (pull_request) Successful in 15s
/ check-data-model (pull_request) Successful in 35s
/ check-peertube (pull_request) Successful in 25s
/ check-panel (pull_request) Successful in 1m34s
/ check-deployment-basic (pull_request) Successful in 9s
/ check-deployment-cli (pull_request) Successful in 9s
/ check-deployment-panel (pull_request) Successful in 9s
All checks were successful
/ check-pre-commit (pull_request) Successful in 15s
/ check-data-model (pull_request) Successful in 35s
/ check-peertube (pull_request) Successful in 25s
/ check-panel (pull_request) Successful in 1m34s
/ check-deployment-basic (pull_request) Successful in 9s
/ check-deployment-cli (pull_request) Successful in 9s
/ check-deployment-panel (pull_request) Successful in 9s
This commit is contained in:
parent
a840a8cabb
commit
44e3e5db4c
4 changed files with 17 additions and 3 deletions
|
@ -1,10 +1,15 @@
|
||||||
{ inputs, ... }:
|
{ inputs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
_class = "nixosTest";
|
_class = "nixosTest";
|
||||||
|
|
||||||
name = "deployment-basic";
|
name = "deployment-basic";
|
||||||
|
|
||||||
|
sourceFileset = lib.fileset.unions [
|
||||||
|
./constants.nix
|
||||||
|
./deployment.nix
|
||||||
|
];
|
||||||
|
|
||||||
nodes.deployer =
|
nodes.deployer =
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,6 +17,9 @@ in
|
||||||
name = "deployment-cli";
|
name = "deployment-cli";
|
||||||
|
|
||||||
sourceFileset = lib.fileset.unions [
|
sourceFileset = lib.fileset.unions [
|
||||||
|
./constants.nix
|
||||||
|
./deployments.nix
|
||||||
|
|
||||||
# REVIEW: I would like to be able to grab all of `/deployment` minus
|
# REVIEW: I would like to be able to grab all of `/deployment` minus
|
||||||
# `/deployment/check`, but I can't because there is a bunch of other files
|
# `/deployment/check`, but I can't because there is a bunch of other files
|
||||||
# in `/deployment`. Maybe we can think of a reorg making things more robust
|
# in `/deployment`. Maybe we can think of a reorg making things more robust
|
||||||
|
|
|
@ -72,8 +72,11 @@ in
|
||||||
../../../flake.lock
|
../../../flake.lock
|
||||||
../../../npins
|
../../../npins
|
||||||
|
|
||||||
./.
|
./sharedOptions.nix
|
||||||
config.pathToCwd
|
./targetNode.nix
|
||||||
|
./targetResource.nix
|
||||||
|
|
||||||
|
(config.pathToCwd + "/flake-under-test.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
acmeNodeIP = config.nodes.acme.networking.primaryIPAddress;
|
acmeNodeIP = config.nodes.acme.networking.primaryIPAddress;
|
||||||
|
|
|
@ -126,6 +126,9 @@ in
|
||||||
name = "deployment-panel";
|
name = "deployment-panel";
|
||||||
|
|
||||||
sourceFileset = lib.fileset.unions [
|
sourceFileset = lib.fileset.unions [
|
||||||
|
./constants.nix
|
||||||
|
./deployment.nix
|
||||||
|
|
||||||
# REVIEW: I would like to be able to grab all of `/deployment` minus
|
# REVIEW: I would like to be able to grab all of `/deployment` minus
|
||||||
# `/deployment/check`, but I can't because there is a bunch of other files
|
# `/deployment/check`, but I can't because there is a bunch of other files
|
||||||
# in `/deployment`. Maybe we can think of a reorg making things more robust
|
# in `/deployment`. Maybe we can think of a reorg making things more robust
|
||||||
|
|
Loading…
Add table
Reference in a new issue