Remove dgraph entirely since we're using nomad instead of docker swarm going forward
@@ -16,7 +16,6 @@ from infra.alarms import OpsAlarms
from infra.autotag import register_auto_tags
from infra.bucket import Bucket
from infra.cache import Cache
-from infra.dgraph_cluster import DgraphCluster, LocalStandInDgraphCluster
# TODO: temporarily disabled until we can reconnect the ApiGateway to the new
# web UI.
@@ -34,16 +33,6 @@ from infra.service_queue import ServiceQueue
import pulumi
-def _create_dgraph_cluster(network: Network) -> DgraphCluster:
- if config.LOCAL_GRAPL:
- return LocalStandInDgraphCluster()
- else:
- return DgraphCluster(
- name=f"{config.DEPLOYMENT_NAME}-dgraph",
- vpc=network.vpc,
- )
-
-
def main() -> None:
if not (config.LOCAL_GRAPL or config.REAL_DEPLOYMENT):
@@ -63,8 +52,6 @@ def main() -> None:
if config.LOCAL_GRAPL:
network = Network("grapl-network")
- #dgraph_cluster: DgraphCluster = _create_dgraph_cluster(network=network)
-
# TODO: temporarily disabled until we can reconnect the ApiGateway to the new
# web UI.
# jwt_secret = JWTSecret()
