krebs: 6tests -> 0tests
This commit is contained in:
parent
3f3c12dcd0
commit
47c0b0261e
@ -3,7 +3,7 @@ import <nixpkgs/nixos/tests/make-test.nix> ({ ... }:
|
|||||||
|
|
||||||
let
|
let
|
||||||
pkgs = import <nixpkgs> { overlays = [(import ../5pkgs)]; };
|
pkgs = import <nixpkgs> { overlays = [(import ../5pkgs)]; };
|
||||||
test-config = <stockholm/krebs/6tests/data/test-config.nix>;
|
test-config = <stockholm/krebs/0tests/data/test-config.nix>;
|
||||||
privKey = ''
|
privKey = ''
|
||||||
-----BEGIN OPENSSH PRIVATE KEY-----
|
-----BEGIN OPENSSH PRIVATE KEY-----
|
||||||
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
|
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
|
@ -147,7 +147,7 @@ in
|
|||||||
"dummy_secrets": "true",
|
"dummy_secrets": "true",
|
||||||
},
|
},
|
||||||
command=[
|
command=[
|
||||||
"nix-build", "-I", "stockholm=.", "krebs/6tests",
|
"nix-build", "-I", "stockholm=.", "krebs/0tests",
|
||||||
"-A", "{}".format(test)
|
"-A", "{}".format(test)
|
||||||
],
|
],
|
||||||
timeout=90001
|
timeout=90001
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
secrets =
|
secrets =
|
||||||
if test
|
if test
|
||||||
then {
|
then {
|
||||||
file = toString <stockholm/krebs/6tests/data/secrets>;
|
file = toString <stockholm/krebs/0tests/data/secrets>;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
pass = {
|
pass = {
|
||||||
|
@ -14,7 +14,7 @@ in
|
|||||||
{
|
{
|
||||||
nixos-config.symlink = "stockholm/krebs/1systems/${name}/config.nix";
|
nixos-config.symlink = "stockholm/krebs/1systems/${name}/config.nix";
|
||||||
secrets = getAttr builder {
|
secrets = getAttr builder {
|
||||||
buildbot.file = toString <stockholm/krebs/6tests/data/secrets>;
|
buildbot.file = toString <stockholm/krebs/0tests/data/secrets>;
|
||||||
krebs.pass = {
|
krebs.pass = {
|
||||||
dir = "${getEnv "HOME"}/brain";
|
dir = "${getEnv "HOME"}/brain";
|
||||||
name = "krebs-secrets/${name}";
|
name = "krebs-secrets/${name}";
|
||||||
|
@ -45,7 +45,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
secrets = getAttr builder {
|
secrets = getAttr builder {
|
||||||
buildbot.file = toString <stockholm/makefu/6tests/data/secrets>;
|
buildbot.file = toString <stockholm/makefu/0tests/data/secrets>;
|
||||||
makefu.pass = {
|
makefu.pass = {
|
||||||
inherit name;
|
inherit name;
|
||||||
dir = "${getEnv "HOME"}/.secrets-pass";
|
dir = "${getEnv "HOME"}/.secrets-pass";
|
||||||
@ -79,7 +79,7 @@ in
|
|||||||
|
|
||||||
(mkIf ( torrent ) {
|
(mkIf ( torrent ) {
|
||||||
torrent-secrets = getAttr builder {
|
torrent-secrets = getAttr builder {
|
||||||
buildbot.file = toString <stockholm/makefu/6tests/data/secrets>;
|
buildbot.file = toString <stockholm/makefu/0tests/data/secrets>;
|
||||||
makefu.pass = {
|
makefu.pass = {
|
||||||
name = "torrent";
|
name = "torrent";
|
||||||
dir = "${getEnv "HOME"}/.secrets-pass";
|
dir = "${getEnv "HOME"}/.secrets-pass";
|
||||||
|
@ -13,7 +13,7 @@ in
|
|||||||
evalSource (toString _file) {
|
evalSource (toString _file) {
|
||||||
nixos-config.symlink = "stockholm/nin/1systems/${name}/config.nix";
|
nixos-config.symlink = "stockholm/nin/1systems/${name}/config.nix";
|
||||||
secrets.file = getAttr builder {
|
secrets.file = getAttr builder {
|
||||||
buildbot = toString <stockholm/nin/6tests/dummysecrets>;
|
buildbot = toString <stockholm/nin/0tests/dummysecrets>;
|
||||||
nin = "/home/nin/secrets/${name}";
|
nin = "/home/nin/secrets/${name}";
|
||||||
};
|
};
|
||||||
stockholm.file = toString <stockholm>;
|
stockholm.file = toString <stockholm>;
|
||||||
|
Loading…
Reference in New Issue
Block a user