# constants used by build and setup scripts import os # path to project directory PROJECT_PATH = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) # before running this script run `gpg --gen-key` on the server # assign the email address of the key id here: GPG_KEY_EMAIL = "andrew@mycelial.technology" GPG_KEY_PASS_FILE = "/home/rust/passphrase.txt" AUTOMATION_DIR = "/srv/peachcloud/automation" FREIGHT_CONF = "/etc/freight.conf" FREIGHT_LIB = "/var/lib/freight" FREIGHT_CACHE = "/var/www/apt.peachcloud.org" WORKSPACE_SRC_DIR = "/srv/peachcloud/automation/peach-workspace" MICROSERVICES_DEB_DIR = "/srv/peachcloud/debs" USER_PATH = "/home/rust" CARGO_PATH = os.path.join(USER_PATH, ".cargo/bin/cargo") SERVICES = [ # peach-probe is disabled until it is fixed # {"name": "peach-probe", "repo_url": "https://git.coopcloud.tech/PeachCloud/peach-workspace.git"}, {"name": "peach-dyndns-updater", "repo_url": "https://git.coopcloud.tech/PeachCloud/peach-workspace.git"}, {"name": "peach-web", "repo_url": "https://git.coopcloud.tech/PeachCloud/peach-workspace.git"}, {"name": "peach-menu", "repo_url": "https://git.coopcloud.tech/PeachCloud/peach-workspace.git"}, {"name": "peach-config", "repo_url": "https://git.coopcloud.tech/PeachCloud/peach-workspace.git"}, ]