6
6
# Constants used throughout the project
7
7
# Storing as constants for now but we might want a more sophisticated config management
8
8
# at some point.
9
- SUPPORTED_TAGS = ["27.0" , "26.0" , "25.1" , "24.2" , "23.2" , "22.2" ]
9
+ SUPPORTED_TAGS = ["29.0" , "28.1" , " 27.0" , "26.0" , "25.1" , "24.2" , "23.2" , "22.2" ]
10
10
DEFAULT_TAG = SUPPORTED_TAGS [0 ]
11
11
WEIGHTED_TAGS = [
12
12
tag for index , tag in enumerate (reversed (SUPPORTED_TAGS )) for _ in range (index + 1 )
@@ -48,6 +48,13 @@ class AnnexMember(Enum):
48
48
49
49
PLUGIN_ANNEX = "annex"
50
50
51
+ DEFAULT_IMAGE_REPO = "bitcoindevproject/bitcoin"
52
+
53
+ # Bitcoin Core config
54
+ FORK_OBSERVER_RPCAUTH = "forkobserver:1418183465eecbd407010cf60811c6a0$d4e5f0647a63429c218da1302d7f19fe627302aeb0a71a74de55346a25d8057c"
55
+ # Fork Observer config
56
+ FORK_OBSERVER_RPC_USER = "forkobserver"
57
+ FORK_OBSERVER_RPC_PASSWORD = "tabconf2024"
51
58
52
59
# Directories and files for non-python assets, e.g., helm charts, example scenarios, default configs
53
60
SRC_DIR = files ("warnet" )
@@ -72,7 +79,6 @@ class AnnexMember(Enum):
72
79
CADDY_CHART = str (files ("resources.charts" ).joinpath ("caddy" ))
73
80
CADDY_INGRESS_NAME = "caddy-ingress"
74
81
75
- DEFAULT_NETWORK = Path ("6_node_bitcoin" )
76
82
DEFAULT_NAMESPACES = Path ("two_namespaces_two_users" )
77
83
78
84
# Kubeconfig related stuffs
@@ -136,7 +142,7 @@ class AnnexMember(Enum):
136
142
"helm repo update" ,
137
143
f"helm upgrade --install --namespace warnet-logging --create-namespace --values { MANIFESTS_DIR } /loki_values.yaml loki grafana/loki --version 5.47.2" ,
138
144
"helm upgrade --install --namespace warnet-logging promtail grafana/promtail --create-namespace" ,
139
- "helm upgrade --install --namespace warnet-logging prometheus prometheus-community/kube-prometheus-stack --namespace warnet-logging --create-namespace --set grafana.enabled=false" ,
145
+ "helm upgrade --install --namespace warnet-logging prometheus prometheus-community/kube-prometheus-stack --namespace warnet-logging --create-namespace --set grafana.enabled=false --set prometheus.prometheusSpec.maximumStartupDurationSeconds=300 " ,
140
146
f"helm upgrade --install grafana-dashboards { CHARTS_DIR } /grafana-dashboards --namespace warnet-logging --create-namespace" ,
141
147
f"helm upgrade --install --namespace warnet-logging --create-namespace loki-grafana grafana/grafana --values { MANIFESTS_DIR } /grafana_values.yaml" ,
142
148
]
@@ -145,7 +151,7 @@ class AnnexMember(Enum):
145
151
INGRESS_HELM_COMMANDS = [
146
152
"helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx" ,
147
153
"helm repo update" ,
148
- f"helm upgrade --install ingress-nginx ingress-nginx/ingress-nginx --namespace { INGRESS_NAMESPACE } --create-namespace" ,
154
+ f"helm upgrade --install ingress-nginx ingress-nginx/ingress-nginx --namespace { INGRESS_NAMESPACE } --create-namespace --set controller.progressDeadlineSeconds=600 " ,
149
155
]
150
156
151
157
# Helm binary
0 commit comments