2021-01-15 13:23:52 +00:00
|
|
|
# constants used by build and setup scripts
|
|
|
|
import os
|
|
|
|
|
2021-03-03 17:54:11 +00:00
|
|
|
# path to project directory
|
|
|
|
PROJECT_PATH = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
|
|
|
|
|
2021-01-15 13:23:52 +00:00
|
|
|
# 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"
|
2021-12-16 17:41:22 +00:00
|
|
|
WORKSPACE_SRC_DIR = "/srv/peachcloud/automation/peach-workspace"
|
2021-01-15 13:23:52 +00:00
|
|
|
MICROSERVICES_DEB_DIR = "/srv/peachcloud/debs"
|
|
|
|
USER_PATH = "/home/rust"
|
|
|
|
CARGO_PATH = os.path.join(USER_PATH, ".cargo/bin/cargo")
|
|
|
|
|
|
|
|
SERVICES = [
|
2022-01-13 14:59:08 +00:00
|
|
|
# peach-probe is disabled until it is fixed
|
2021-12-16 17:41:22 +00:00
|
|
|
# {"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"},
|
2022-01-13 17:20:26 +00:00
|
|
|
{"name": "peach-menu", "repo_url": "https://git.coopcloud.tech/PeachCloud/peach-workspace.git"},
|
2022-01-13 14:59:08 +00:00
|
|
|
{"name": "peach-config", "repo_url": "https://git.coopcloud.tech/PeachCloud/peach-workspace.git"},
|
2021-01-15 13:23:52 +00:00
|
|
|
]
|