Skip to content

Commit

Permalink
Remove deploy-rs tests as they break on x86
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed Aug 2, 2024
1 parent 6b7d36e commit 35d5205
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 26 deletions.
42 changes: 20 additions & 22 deletions deployments.nix
Original file line number Diff line number Diff line change
@@ -1,31 +1,29 @@
{self, ...}: let
inherit (self.inputs) deploy-rs;
in {
flake.deploy = {
nodes = {
apollo = {
hostname = "65.21.249.145";
profiles.system = {
user = "root";
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.apollo;
};
flake.deploy.nodes = {
apollo = {
hostname = "65.21.249.145";
profiles.system = {
user = "root";
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.apollo;
};
archimedes = {
hostname = "192.168.1.3";
profiles.system = {
user = "root";
path = deploy-rs.lib.aarch64-linux.activate.nixos self.nixosConfigurations.archimedes;
};
};

archimedes = {
hostname = "192.168.1.3";
profiles.system = {
user = "root";
path = deploy-rs.lib.aarch64-linux.activate.nixos self.nixosConfigurations.archimedes;
};
monitoring = {
hostname = "65.108.222.239";
profiles.system = {
user = "root";
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.monitoring;
};
};

monitoring = {
hostname = "65.108.222.239";
profiles.system = {
user = "root";
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.monitoring;
};
};
};

flake.checks = builtins.mapAttrs (_: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
}
7 changes: 3 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
nixConfig = {
extra-substituters = [
"https://nix-gaming.cachix.org?priority=42"
"https://deploy-rs.cachix.org?priority=44"
];
extra-trusted-public-keys = [
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
"deploy-rs.cachix.org-1:xfNobmiwF/vzvK1gpfediPwpdIP0rpDV2rYqx40zdSI="
];
};

Expand Down Expand Up @@ -62,10 +64,7 @@
inputs.nixpkgs-lib.follows = "nixpkgs";
};

flake-root = {
url = "github:srid/flake-root";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
flake-root.url = "github:srid/flake-root";

sops-nix = {
url = "github:mic92/sops-nix";
Expand Down

0 comments on commit 35d5205

Please sign in to comment.