Skip to content

Commit 14b70fa

Browse files
Merge branch 'main' into internal/release-v6.3.4167
2 parents 9262937 + 782c470 commit 14b70fa

File tree

13 files changed

+9
-93
lines changed

13 files changed

+9
-93
lines changed

docker-compose/docker-compose.yaml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ services:
118118
# Ports exposed to other Sourcegraph services: 6060/TCP, 3080 (HTTP), and/or 3443 (HTTPS)
119119
# Ports exposed to the public internet: none
120120
#
121-
# Note: SRC_GIT_SERVERS, SEARCHER_URL, and SYMBOLS_URL are space-separated
121+
# Note: SRC_GIT_SERVERS, and SEARCHER_URL are space-separated
122122
# lists which each allow you to specify more container instances for scaling
123123
# purposes. Be sure to also apply such a change here to the frontend-internal
124124
# service.
@@ -136,10 +136,9 @@ services:
136136
- 'SRC_GIT_SERVERS=gitserver-0:3178'
137137
- 'SRC_SYNTECT_SERVER=http://syntect-server:9238'
138138
- 'SEARCHER_URL=http://searcher-0:3181'
139-
- 'SYMBOLS_URL=http://symbols-0:3184'
139+
- 'INDEXED_SEARCH_INDEXER=zoekt-indexserver-0:6072'
140140
- 'INDEXED_SEARCH_SERVERS=zoekt-webserver-0:6070'
141141
- 'SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090'
142-
- 'REPO_UPDATER_URL=http://repo-updater:3182'
143142
- 'GRAFANA_SERVER_URL=http://grafana:3370'
144143
- 'PROMETHEUS_URL=http://prometheus:9090'
145144
- 'PRECISE_CODE_INTEL_UPLOAD_BACKEND=blobstore'
@@ -151,8 +150,6 @@ services:
151150
{ "Name": "frontend-internal-0", "Host": "sourcegraph-frontend-internal:6060" },
152151
{ "Name": "gitserver-0", "Host": "gitserver-0:6060" },
153152
{ "Name": "searcher-0", "Host": "searcher-0:6060" },
154-
{ "Name": "symbols-0", "Host": "symbols-0:6060" },
155-
{ "Name": "repo-updater", "Host": "repo-updater:6060" },
156153
{ "Name": "worker", "Host": "worker:6060" },
157154
{ "Name": "zoekt-indexserver-0", "Host": "zoekt-indexserver-0:6072" },
158155
{ "Name": "zoekt-webserver-0", "Host": "zoekt-webserver-0:6070", "DefaultPath": "/debug/requests/" }
@@ -191,11 +188,10 @@ services:
191188
- 'SRC_GIT_SERVERS=gitserver-0:3178'
192189
- 'SRC_SYNTECT_SERVER=http://syntect-server:9238'
193190
- 'SEARCHER_URL=http://searcher-0:3181'
194-
- 'SYMBOLS_URL=http://symbols-0:3184'
191+
- 'INDEXED_SEARCH_INDEXER=zoekt-indexserver-0:6072'
195192
- 'INDEXED_SEARCH_SERVERS=zoekt-webserver-0:6070'
196193
- 'SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090'
197-
- 'REPO_UPDATER_URL=http://repo-updater:3182'
198-
- 'GRAFANA_SERVER_URL=http://grafana:3000'
194+
- 'GRAFANA_SERVER_URL=http://grafana:3370'
199195
- 'PROMETHEUS_URL=http://prometheus:9090'
200196
- 'PRECISE_CODE_INTEL_UPLOAD_BACKEND=blobstore'
201197
- 'PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT=http://blobstore:9000'
@@ -378,7 +374,6 @@ services:
378374
- 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317'
379375
- 'SRC_GIT_SERVERS=gitserver-0:3178'
380376
- 'SEARCHER_URL=http://searcher-0:3181'
381-
- 'SYMBOLS_URL=http://symbols-0:3184'
382377
- 'INDEXED_SEARCH_SERVERS=zoekt-webserver-0:6070'
383378
- 'PRECISE_CODE_INTEL_UPLOAD_BACKEND=blobstore'
384379
- 'PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT=http://blobstore:9000'
@@ -504,8 +499,6 @@ services:
504499
- 'grafana:/var/lib/grafana'
505500
- '../grafana/datasources:/sg_config_grafana/provisioning/datasources'
506501
- '../grafana/dashboards:/sg_grafana_additional_dashboards'
507-
ports:
508-
- '0.0.0.0:3370:3370'
509502
networks:
510503
- sourcegraph
511504
restart: always
@@ -802,12 +795,10 @@ volumes:
802795
prometheus-v2:
803796
redis-cache:
804797
redis-store:
805-
repo-updater:
806798
worker:
807799
searcher-0:
808800
sourcegraph-frontend-0:
809801
sourcegraph-frontend-internal-0:
810-
symbols-0:
811802
zoekt-0-shared:
812803
networks:
813804
sourcegraph:

prometheus/prometheus_targets.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55
targets:
66
- cadvisor:48080
77
- sourcegraph-frontend-internal:6060
8-
- labels:
9-
nodename: "sourcegraph-docker-compose-host"
10-
job: repo-updater
11-
targets:
12-
- repo-updater:6060
138
- labels:
149
nodename: "sourcegraph-docker-compose-host"
1510
job: worker
@@ -56,11 +51,6 @@
5651
job: searcher
5752
targets:
5853
- searcher-0:6060
59-
- labels:
60-
nodename: "sourcegraph-docker-compose-host"
61-
job: symbols
62-
targets:
63-
- symbols-0:6060
6454
- labels:
6555
nodename: "sourcegraph-docker-compose-host"
6656
job: pgsql

pure-docker/deploy-frontend-internal.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,8 @@ docker run --detach \
3131
-e SRC_GIT_SERVERS="$(addresses "gitserver-" $NUM_GITSERVER ":3178")" \
3232
-e SRC_SYNTECT_SERVER=http://syntect-server:9238 \
3333
-e SEARCHER_URL="$(addresses "http://searcher-" $NUM_SEARCHER ":3181")" \
34-
-e SYMBOLS_URL="$(addresses "http://symbols-" $NUM_SYMBOLS ":3184")" \
3534
-e INDEXED_SEARCH_SERVERS="$(addresses "zoekt-webserver-" $NUM_INDEXED_SEARCH ":6070")" \
3635
-e SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
37-
-e REPO_UPDATER_URL=http://repo-updater:3182 \
3836
-e GRAFANA_SERVER_URL=http://grafana:3000 \
3937
-e PROMETHEUS_URL=http://prometheus:9090 \
4038
-e PRECISE_CODE_INTEL_UPLOAD_BACKEND=blobstore \

pure-docker/deploy-frontend.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@ docker run --detach \
3232
-e SRC_GIT_SERVERS="$(addresses "gitserver-" $NUM_GITSERVER ":3178")" \
3333
-e SRC_SYNTECT_SERVER=http://syntect-server:9238 \
3434
-e SEARCHER_URL="$(addresses "http://searcher-" $NUM_SEARCHER ":3181")" \
35-
-e SYMBOLS_URL="$(addresses "http://symbols-" $NUM_SYMBOLS ":3184")" \
3635
-e INDEXED_SEARCH_SERVERS="$(addresses "zoekt-webserver-" $NUM_INDEXED_SEARCH ":6070")" \
3736
-e SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
38-
-e REPO_UPDATER_URL=http://repo-updater:3182 \
3937
-e GRAFANA_SERVER_URL=http://grafana:3370 \
4038
-e PROMETHEUS_URL=http://prometheus:9090 \
4139
-e PRECISE_CODE_INTEL_UPLOAD_BACKEND=blobstore \
@@ -44,7 +42,7 @@ docker run --detach \
4442
-p 0.0.0.0:$((3080 + $1)):3080 \
4543
index.docker.io/sourcegraph/frontend:187572_2022-12-06_cbecc5321c7d@sha256:73e64a8636e70ebbaf7f4a3300479529294f67e8cf644cdaea02435915aec869
4644

47-
# Note: SRC_GIT_SERVERS, SEARCHER_URL, and SYMBOLS_URL are space-separated
45+
# Note: SRC_GIT_SERVERS, and SEARCHER_URL are space-separated
4846
# lists which each allow you to specify more container instances for scaling
4947
# purposes. Be sure to also apply such a change here to the frontend-internal
5048
# service.

pure-docker/deploy-grafana.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ docker run --detach \
1717
--restart=always \
1818
--cpus=1 \
1919
--memory=1g \
20-
-p 0.0.0.0:3370:3370 \
2120
-v $VOLUME:/var/lib/grafana \
2221
-v $(pwd)/../grafana/datasources:/sg_config_grafana/provisioning/datasources \
2322
-v $(pwd)/../grafana/dashboards:/sg_grafana_additional_dashboards \

pure-docker/deploy-repo-updater.sh

Lines changed: 0 additions & 27 deletions
This file was deleted.

pure-docker/deploy-symbols.sh

Lines changed: 0 additions & 27 deletions
This file was deleted.

pure-docker/deploy-worker.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ docker run --detach \
2424
-e INDEXED_SEARCH_SERVERS="$(addresses "zoekt-webserver-" $NUM_INDEXED_SEARCH ":6070")" \
2525
-e SEARCHER_URL="$(addresses "http://searcher-" $NUM_SEARCHER ":3181")" \
2626
-e SRC_GIT_SERVERS="$(addresses "gitserver-" $NUM_GITSERVER ":3178")" \
27-
-e SYMBOLS_URL="$(addresses "http://symbols-" $NUM_SYMBOLS ":3184")" \
2827
-e PRECISE_CODE_INTEL_UPLOAD_BACKEND=blobstore \
2928
-e PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT=http://blobstore:9000 \
3029
-v $VOLUME:/mnt/cache \

pure-docker/deploy.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@ for i in $(seq 0 $(($NUM_GITSERVER - 1))); do ./deploy-gitserver.sh $i; done
2222
./deploy-prometheus.sh
2323
./deploy-redis-cache.sh
2424
./deploy-redis-store.sh
25-
./deploy-repo-updater.sh
2625
./deploy-worker.sh
2726
./deploy-otel-collector.sh
2827
for i in $(seq 0 $(($NUM_SEARCHER - 1))); do ./deploy-searcher.sh $i; done
29-
for i in $(seq 0 $(($NUM_SYMBOLS - 1))); do ./deploy-symbols.sh $i; done
3028
./deploy-syntect-server.sh
3129
for i in $(seq 0 $(($NUM_INDEXED_SEARCH - 1))); do ./deploy-zoekt-indexserver.sh $i; done
3230
for i in $(seq 0 $(($NUM_INDEXED_SEARCH - 1))); do ./deploy-zoekt-webserver.sh $i; done

pure-docker/replicas.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Here you can specify the number of service replicas to deploy.
22
NUM_GITSERVER=1
33
NUM_SEARCHER=1
4-
NUM_SYMBOLS=1
54
NUM_INDEXED_SEARCH=1
65
NUM_FRONTEND=3
76

8-
addresses() { for i in $(seq 0 $(($2 - 1))); do echo -n "$1$i$3 "; done }
7+
addresses() { for i in $(seq 0 $(($2 - 1))); do echo -n "$1$i$3 "; done; }

0 commit comments

Comments
 (0)