Skip to content

Commit

Permalink
Reformat files
Browse files Browse the repository at this point in the history
Signed-off-by: Joonas Rautiola <[email protected]>
  • Loading branch information
joinemm committed Dec 19, 2023
1 parent 0b18a1e commit dd4dbb6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
4 changes: 2 additions & 2 deletions hosts/prbuilder/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
./disk-config.nix
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
# List packages installed in system profile
# List packages installed in system profile
environment.systemPackages = with pkgs; [
git
emacs
];
# docker daemon running
virtualisation.docker.enable=true;
virtualisation.docker.enable = true;

networking = {
hostName = "prbuilder";
Expand Down
26 changes: 15 additions & 11 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,22 @@
""" Misc dev and deployment helper tasks """

import json
import logging
import os
import socket
import subprocess
import sys
import logging
import socket
import time
from collections import OrderedDict
from dataclasses import dataclass
from pathlib import Path
from tempfile import TemporaryDirectory
from typing import Any, Union
from collections import OrderedDict
from dataclasses import dataclass

from tabulate import tabulate
from colorlog import ColoredFormatter, default_log_colors
from deploykit import DeployHost, HostKeyCheck
from invoke import task

from tabulate import tabulate

################################################################################

Expand All @@ -74,19 +73,24 @@ class TargetHost:
TARGETS = OrderedDict(
{
"ghafhydra-dev": TargetHost(
hostname="ghafhydra.northeurope.cloudapp.azure.com", nixosconfig="ghafhydra"
hostname="ghafhydra.northeurope.cloudapp.azure.com",
nixosconfig="ghafhydra",
),
"binarycache-ficolo": TargetHost(
hostname="172.18.20.109", nixosconfig="binarycache"
hostname="172.18.20.109",
nixosconfig="binarycache",
),
"monitoring-ficolo": TargetHost(
hostname="172.18.20.108", nixosconfig="monitoring"
hostname="172.18.20.108",
nixosconfig="monitoring",
),
"build3-ficolo": TargetHost(
hostname="172.18.20.104", nixosconfig="ficolobuild"
hostname="172.18.20.104",
nixosconfig="ficolobuild",
),
"prbuilder": TargetHost(
hostname="172.18.20.106", nixosconfig="prbuilder"
hostname="172.18.20.106",
nixosconfig="prbuilder",
),
}
)
Expand Down

0 comments on commit dd4dbb6

Please sign in to comment.