new brain proto and new staging address

This commit is contained in:
ghe0 2025-04-27 01:51:10 +03:00
parent 82c4653a1c
commit 3a30632cdd
Signed by: ghe0
GPG Key ID: 451028EE56A0FBB4
3 changed files with 4 additions and 3 deletions

2
Cargo.lock generated

@ -395,7 +395,7 @@ dependencies = [
[[package]]
name = "detee-shared"
version = "0.1.0"
source = "git+ssh://git@gitea.detee.cloud/testnet/proto?branch=main#b5289f1f5ba3ddae2ee066d6deb073ce92436b71"
source = "git+ssh://git@gitea.detee.cloud/testnet/proto?branch=surreal_brain#d0d4622c52efdf74ed6582fbac23a6159986ade3"
dependencies = [
"bincode",
"prost",

@ -24,7 +24,8 @@ serde_json = "1.0.135"
bs58 = "0.5.1"
chrono = "0.4.39"
detee-shared = { git = "ssh://git@gitea.detee.cloud/testnet/proto", branch = "main" }
# TODO: switch this back to main after the upgrade
detee-shared = { git = "ssh://git@gitea.detee.cloud/testnet/proto", branch = "surreal_brain" }
# detee-shared = { path = "../detee-shared" }
[build-dependencies]

@ -6,7 +6,7 @@ use sha2::{Digest, Sha256};
use std::{fs::File, io::Read, io::Write};
pub(crate) const DETEE_ROOT_CA: &str = "/etc/detee/root_ca.pem";
pub(crate) const BRAIN_STAGING: (&str, &str) = ("https://159.65.58.38:31337", "staging-brain");
pub(crate) const BRAIN_STAGING: (&str, &str) = ("https://149.36.48.100:31337", "staging-brain");
pub(crate) const BRAIN_TESTING: (&str, &str) = ("https://164.92.249.180:31337", "testnet-brain");
pub(crate) const VM_BOOT_DIR: &str = "/var/lib/detee/boot/";
pub(crate) const USED_RESOURCES: &str = "/etc/detee/daemon/used_resources.yaml";