Skip to content

Commit 757c890

Browse files
committed
Import stackablectl
This is used by some of our tests
1 parent 704dc31 commit 757c890

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

nix/sources.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,17 @@
2222
"type": "tarball",
2323
"url": "https://github.com/NixOS/nixpkgs/archive/8a3354191c0d7144db9756a74755672387b702ba.tar.gz",
2424
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
25+
},
26+
"stackable-cockpit": {
27+
"branch": "main",
28+
"description": "Home of stackable-cockpit, stackablectl and stackable-cockpitd",
29+
"homepage": "https://docs.stackable.tech/management/stable/",
30+
"owner": "stackabletech",
31+
"repo": "stackable-cockpit",
32+
"rev": "70049cae5ff027f7e6f0e69d0503a8bb4b751a75",
33+
"sha256": "1hvxhkbbzbgb41h4mygy0fyxm9amavk4f7n8gfzy4nk6khwvlwyg",
34+
"type": "tarball",
35+
"url": "https://github.com/stackabletech/stackable-cockpit/archive/70049cae5ff027f7e6f0e69d0503a8bb4b751a75.tar.gz",
36+
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
2537
}
2638
}

shell.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
let
66
python = pkgs.python3;
77
beku = pkgs.callPackage (sources."beku.py" + "/beku.nix") { };
8+
stackablectl = (import sources.stackable-cockpit {
9+
# doesn't build against our nixpkgs because it's missing buildGoApplication.. need to investigate
10+
# inherit pkgs;
11+
}).cargo.workspaceMembers.stackablectl.build;
812
extraAnsibleDeps = pypkgs: [
913
# community.libvirt
1014
pypkgs.libvirt
@@ -19,6 +23,7 @@ pkgs.mkShell rec {
1923
buildInputs = [
2024
ansible
2125
beku
26+
stackablectl
2227
pkgs.kuttl
2328
pkgs.gettext # for the proper envsubst
2429
];

0 commit comments

Comments
 (0)