Browse Source

feat(devservices): Add several new devservices modes (#83452)

These new modes will help support devservices for more use cases

**memcached**: This will allow users to run sentry whilst connecting
when using the memcached backend
**symbolicator**: This brings up sentry with symbolicator running
**minimal**: These are the services that are the bare minimum for
running sentry
**full**: This mode brings up pretty much most things needed for sentry
development (symbolicator, vroom, relay, rabbitmq, taskbroker)
Hubert Deng 1 month ago
parent
commit
b8f60f5d76
1 changed files with 34 additions and 0 deletions
  1. 34 0
      devservices/config.yml

+ 34 - 0
devservices/config.yml

@@ -32,6 +32,13 @@ x-sentry-service-config:
         branch: master
         repo_link: https://github.com/getsentry/symbolicator.git
         mode: default
+    vroom:
+      description: Sentry's profiling service, processing and deriving data about your profiles
+      remote:
+        repo_name: vroom
+        branch: main
+        repo_link: https://github.com/getsentry/vroom.git
+        mode: default
     bigtable:
       description: Bigtable emulator
     redis-cluster:
@@ -51,6 +58,9 @@ x-sentry-service-config:
         mode: containerized
     rabbitmq:
       description: Messaging and streaming broker
+    memcached:
+      description: Memcached used for caching
+
   modes:
     default: [snuba, postgres, relay]
     migrations: [postgres, redis]
@@ -58,6 +68,22 @@ x-sentry-service-config:
     taskbroker: [snuba, postgres, relay, taskbroker]
     backend-ci: [snuba, postgres, redis, bigtable, redis-cluster, symbolicator]
     rabbitmq: [postgres, snuba, rabbitmq]
+    symbolicator: [postgres, snuba, symbolicator]
+    memcached: [postgres, snuba, memcached]
+    profiling: [postgres, snuba, vroom]
+    minimal: [postgres, snuba]
+    full:
+      [
+        postgres,
+        snuba,
+        relay,
+        redis,
+        redis-cluster,
+        symbolicator,
+        taskbroker,
+        rabbitmq,
+        vroom,
+      ]
 
 services:
   postgres:
@@ -125,6 +151,14 @@ services:
       - host.docker.internal:host-gateway
     environment:
       - IP=0.0.0.0
+  memcached:
+    image: ghcr.io/getsentry/image-mirror-library-memcached:1.5-alpine
+    ports:
+      - '127.0.0.1:11211:11211'
+    networks:
+      - devservices
+    extra_hosts:
+      - host.docker.internal:host-gateway
 
 networks:
   devservices: