Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
keegancsmith committed Oct 18, 2023
1 parent 2607692 commit 0ece14a
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion pure-docker/deploy-blobstore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ docker run --detach \
--memory=1g \
-p 0.0.0.0:9000:9000 \
-v $VOLUME:/data \
index.docker.io/sourcegraph/blobstore:5.2.0@sha256:7a86c3ef82f50b285e39115b17ad0c854b6f5f3292f8734e9e0eca0c44fff028
index.docker.io/sourcegraph/blobstore:5.2.1@sha256:a6a912d9009093d7a223dd26c434a889164ff43a3c293d871af331d536596b2c
2 changes: 1 addition & 1 deletion pure-docker/deploy-cadvisor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sudo docker run --detach \
--volume=/dev/disk/:/dev/disk:ro \
--privileged \
--device=/dev/kmsg \
index.docker.io/sourcegraph/cadvisor:5.2.0@sha256:541168a972d7fe764afef2416a3ea6f81d2356877946744f36cfcd8c27520a3d \
index.docker.io/sourcegraph/cadvisor:5.2.1@sha256:20faf42b401e342505d4e01578794d213c305dc5d0148da1d66229f904ccedbd \
--port=8080

echo "Deployed cadvisor"
2 changes: 1 addition & 1 deletion pure-docker/deploy-codeinsights-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ docker run --detach \
-e POSTGRES_USER=postgres \
-e PGDATA=/var/lib/postgresql/data/pgdata \
-v $VOLUME:/var/lib/postgresql/data/ \
index.docker.io/sourcegraph/codeinsights-db:5.2.0@sha256:a3ace49d75fd1c0a749f79d4835c091e00153e2ed969b8f9cdeb15619eaa3417
index.docker.io/sourcegraph/codeinsights-db:5.2.1@sha256:d303e745c487fd81a5b402f09ecc0b381bcb50122a49a4b6e6b76ba4483b43d9

# Sourcegraph requires PostgreSQL 12+. Generally newer versions are better,
# but anything 12 and higher is supported.
Expand Down
2 changes: 1 addition & 1 deletion pure-docker/deploy-codeintel-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ docker run --detach \
--memory=2g \
-e PGDATA=/var/lib/postgresql/data/pgdata \
-v $VOLUME:/var/lib/postgresql/data/ \
index.docker.io/sourcegraph/codeintel-db:5.2.0@sha256:d515b60301ca04397229c2a0be0354fb9b1a70d62babf8f87df7f11af3e32719
index.docker.io/sourcegraph/codeintel-db:5.2.1@sha256:01ce4a6813dabffd02c13eb4c8c5d6e09f425783eed29a85aedbdcdfed6c799c

# Sourcegraph requires PostgreSQL 12+. Generally newer versions are better,
# but anything 12 and higher is supported.
Expand Down
2 changes: 1 addition & 1 deletion pure-docker/deploy-frontend-internal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ docker run --detach \
-e PRECISE_CODE_INTEL_UPLOAD_BACKEND=blobstore \
-e PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT=http://blobstore:9000 \
-v $VOLUME:/mnt/cache \
index.docker.io/sourcegraph/frontend:5.2.0@sha256:dd5ebddf9f80d0743f40b9c744c75571cef82c4020e0c1689d97edab0a209125
index.docker.io/sourcegraph/frontend:5.2.1@sha256:d22b4c373b8b2d7a8d0c9592cc449272fd29ee57e397bfbb22c58c0efa000370

echo "Deployed sourcegraph-frontend-internal service"
2 changes: 1 addition & 1 deletion pure-docker/deploy-frontend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ docker run --detach \
-e PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT=http://blobstore:9000 \
-v $VOLUME:/mnt/cache \
-p 0.0.0.0:$((3080 + $1)):3080 \
index.docker.io/sourcegraph/frontend:5.2.0@sha256:dd5ebddf9f80d0743f40b9c744c75571cef82c4020e0c1689d97edab0a209125
index.docker.io/sourcegraph/frontend:5.2.1@sha256:d22b4c373b8b2d7a8d0c9592cc449272fd29ee57e397bfbb22c58c0efa000370

# Note: SRC_GIT_SERVERS, SEARCHER_URL, and SYMBOLS_URL are space-separated
# lists which each allow you to specify more container instances for scaling
Expand Down
2 changes: 1 addition & 1 deletion pure-docker/deploy-github-proxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ docker run --detach \
-e GOMAXPROCS=1 \
-e SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
-e 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317' \
index.docker.io/sourcegraph/github-proxy:5.2.0@sha256:2012a1c18550bd7d5c450f48d25c7673273c290cf9fda19d630947dacf4d43ba
index.docker.io/sourcegraph/github-proxy:5.2.1@sha256:0a61f8f676de47348d08187c870289c9cd60964d9a4b26c4994b4f76e4628604

echo "Deployed github-proxy service"
2 changes: 1 addition & 1 deletion pure-docker/deploy-gitserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ docker run --detach \
-e 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317' \
-e 'GITHUB_BASE_URL=http://github-proxy:3180' \
-v $VOLUME:/data/repos \
index.docker.io/sourcegraph/gitserver:5.2.0@sha256:d7e3e0ef8c144239d76641048291854ad2c49c27770dbf42a9d710655cba93b7
index.docker.io/sourcegraph/gitserver:5.2.1@sha256:5b56aba16f867ceb3eb7a9bba02db5b88d5e550bc0851c95622bde62e299d7ef

echo "Deployed gitserver $1 service"
2 changes: 1 addition & 1 deletion pure-docker/deploy-grafana.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ docker run --detach \
-v $VOLUME:/var/lib/grafana \
-v $(pwd)/../grafana/datasources:/sg_config_grafana/provisioning/datasources \
-v $(pwd)/../grafana/dashboards:/sg_grafana_additional_dashboards \
index.docker.io/sourcegraph/grafana:5.2.0@sha256:23abcea2cf229ff3e276ef1ac620e3b071dc2387e0c3d694971765d1d4f24f73
index.docker.io/sourcegraph/grafana:5.2.1@sha256:1c9b30dbfeca0a33623c6547b2ad14a612e27b1c0197d08f7a9206613f123ebf

# Add the following lines above if you wish to use an auth proxy with Grafana:
#
Expand Down
2 changes: 1 addition & 1 deletion pure-docker/deploy-migrator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ docker run --detach \
-e CODEINTEL_PGUSER=sg \
-e CODEINTEL_PGHOST=codeintel-db \
-e CODEINSIGHTS_PGDATASOURCE=postgres://postgres:password@codeinsights-db:5432/postgres \
index.docker.io/sourcegraph/migrator:5.2.0@sha256:bb761dfcef6e80d439c9ae308c07db5d78c58e4c3b61f2616c8e7b3652ad1d71 \
index.docker.io/sourcegraph/migrator:5.2.1@sha256:283ed72b8757c9a4ed5136a88ab6dbf2904cbcea537f7778e8c6d5e4b2dd46e9 \
up -db=all

echo "Deployed migrator service"
2 changes: 1 addition & 1 deletion pure-docker/deploy-node-exporter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sudo docker run --detach \
--volume=/proc:/host/proc:ro \
--volume=/sys:/host/sys:ro \
-p 0.0.0.0:9100:9100 \
index.docker.io/sourcegraph/node-exporter:5.2.0@sha256:e17abce252b7bf87a572d1ad07f611304b6e528cf3e95c7e25b3224f7e13782d \
index.docker.io/sourcegraph/node-exporter:5.2.1@sha256:b49337f651bd25a954a017e73aa836ebbbd24e3362f87bde3d785da5d78a7ed8 \
'--path.procfs=/host/proc' \
'--path.rootfs=/rootfs' \
'--path.sysfs=/host/sys' \
Expand Down
2 changes: 1 addition & 1 deletion pure-docker/deploy-otel-collector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ docker run --detach \
--memory=1g \
-e JAEGER_HOST=jaeger \
-v $(pwd)/../otel-collector/config.yaml:/etc/otel-collector/config.yaml \
index.docker.io/sourcegraph/opentelemetry-collector:5.2.0@sha256:77e80cd45712a4d903dff93ffbdb4941c50acbefd7f35b032fda313fdc3225a5 \
index.docker.io/sourcegraph/opentelemetry-collector:5.2.1@sha256:bb20362bbbd09049771285da8e52b43342d3582652bb36bea5c60d9ff6d94616 \
--config /etc/otel-collector/configs/logging.yaml
2 changes: 1 addition & 1 deletion pure-docker/deploy-pgsql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ docker run --detach \
--memory=2g \
-e PGDATA=/var/lib/postgresql/data/pgdata \
-v $VOLUME:/var/lib/postgresql/data/ \
index.docker.io/sourcegraph/postgres-12-alpine:5.2.0@sha256:d515b60301ca04397229c2a0be0354fb9b1a70d62babf8f87df7f11af3e32719
index.docker.io/sourcegraph/postgres-12-alpine:5.2.1@sha256:01ce4a6813dabffd02c13eb4c8c5d6e09f425783eed29a85aedbdcdfed6c799c

# Sourcegraph requires PostgreSQL 12+. Generally newer versions are better,
# but anything 12 and higher is supported.
Expand Down
2 changes: 1 addition & 1 deletion pure-docker/deploy-precise-code-intel-worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ docker run --detach \
-e 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317' \
-e PRECISE_CODE_INTEL_UPLOAD_BACKEND=blobstore \
-e PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT=http://blobstore:9000 \
index.docker.io/sourcegraph/precise-code-intel-worker:5.2.0@sha256:2f52b247af8cc243c133301e4341de0b0e0bd18a4658892a64fb42170edfaad2
index.docker.io/sourcegraph/precise-code-intel-worker:5.2.1@sha256:5c113c407072a2dbcd10dd3ca57e190a7fe01607b9951aadb483a411dbe82397

echo "Deployed precise-code-intel-worker service"
2 changes: 1 addition & 1 deletion pure-docker/deploy-prometheus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ docker run --detach \
-v $VOLUME:/prometheus \
-v $(pwd)/../prometheus:/sg_prometheus_add_ons \
-e SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
index.docker.io/sourcegraph/prometheus:5.2.0@sha256:528b96fb376e3db469d1812e6c77d0112cc75d3be6c65dea7e17b36dca0e38ae
index.docker.io/sourcegraph/prometheus:5.2.1@sha256:b0f295541b8451e13d5ed04f818e41ae6a294f8d3e95ae1edb796e16e9eef13d
2 changes: 1 addition & 1 deletion pure-docker/deploy-redis-cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ docker run --detach \
--cpus=1 \
--memory=6g \
-v $VOLUME:/redis-data \
index.docker.io/sourcegraph/redis-cache:5.2.0@sha256:3229aaf2524d8a7a1f143cb62cc57256c39ddc1fed52ffa12d69e52c6ba7cff4
index.docker.io/sourcegraph/redis-cache:5.2.1@sha256:e2ceb4257b20fc04297ca8df7e130507b2eb3a60843d649dd34bf52518c9026b

echo "Deployed redis-cache service"
2 changes: 1 addition & 1 deletion pure-docker/deploy-redis-store.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ docker run --detach \
--cpus=1 \
--memory=6g \
-v $VOLUME:/redis-data \
index.docker.io/sourcegraph/redis-store:5.2.0@sha256:a18ec00fab328abcdd1bc12d903a9f23eff4cdbaa9e0a3ed158d3258a6c7e6f7
index.docker.io/sourcegraph/redis-store:5.2.1@sha256:dae1f3689b3d5edce6b13d8818b58a0ba401737d6d42695cd73a11e77c121fae

echo "Deployed redis-store service"
2 changes: 1 addition & 1 deletion pure-docker/deploy-repo-updater.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ docker run --detach \
-e 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317' \
-e GITHUB_BASE_URL=http://github-proxy:3180 \
-v $VOLUME:/mnt/cache \
index.docker.io/sourcegraph/repo-updater:5.2.0@sha256:a46099edc30e556d80cc3a2e8cd9b56c14878c3d2e901bbb79e6863be1284845
index.docker.io/sourcegraph/repo-updater:5.2.1@sha256:3e0b6b4ef13af5c4d335bf9e66db136b4a4cde63ab5e6036dec9afe84280cf63

echo "Deployed repo-updater service"
2 changes: 1 addition & 1 deletion pure-docker/deploy-searcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ docker run --detach \
-e SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
-e 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317' \
-v $VOLUME:/mnt/cache \
index.docker.io/sourcegraph/searcher:5.2.0@sha256:cf9559a6d8fd0ba22497e3fe86eeb0be6f241384c3d9b063b227be185da9a7ee
index.docker.io/sourcegraph/searcher:5.2.1@sha256:33a46bc3586e8cbafb997e682df91d2212999082080ac073f73e041b442d2dd2

echo "Deployed searcher $1 service"
2 changes: 1 addition & 1 deletion pure-docker/deploy-symbols.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ docker run --detach \
-e SRC_FRONTEND_INTERNAL=sourcegraph-frontend-internal:3090 \
-e 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317' \
-v $VOLUME:/mnt/cache \
index.docker.io/sourcegraph/symbols:5.2.0@sha256:c68d2962f742be99cc5c8b5c01a0a3292ca3a404dad8966d8e9c4d5706e7f156
index.docker.io/sourcegraph/symbols:5.2.1@sha256:b61b04005f449aa75a198cbef2b84f25a994db197a1a090adaba7084458f3574

echo "Deployed symbols $1 service"
2 changes: 1 addition & 1 deletion pure-docker/deploy-syntect-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ docker run --detach \
--restart=always \
--cpus=4 \
--memory=6g \
index.docker.io/sourcegraph/syntax-highlighter:5.2.0@sha256:93b793e5e395a76bb6d651ad361f874b161b730c8ee7b05f39860dc7802f716a
index.docker.io/sourcegraph/syntax-highlighter:5.2.1@sha256:941948f471ddbbbc26fa54d29b4dc3578601a48e2063daa0fa10fe8cc8515c75

echo "Deployed syntect-server service"
2 changes: 1 addition & 1 deletion pure-docker/deploy-worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ docker run --detach \
-e PRECISE_CODE_INTEL_UPLOAD_BACKEND=blobstore \
-e PRECISE_CODE_INTEL_UPLOAD_AWS_ENDPOINT=http://blobstore:9000 \
-v $VOLUME:/mnt/cache \
index.docker.io/sourcegraph/worker:5.2.0@sha256:5b1740db4aca72b34a7143b8f9e17e7327c6554a5299ab9caae197692cd4acc4
index.docker.io/sourcegraph/worker:5.2.1@sha256:1aeacdbe64262b88e023eb83c875b0b10901d42aa19292b2594a06ee3e562b54

echo "Deployed worker service"
2 changes: 1 addition & 1 deletion pure-docker/deploy-zoekt-indexserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ docker run --detach \
-e 'OPENTELEMETRY_DISABLED=false' \
-e 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317' \
-v $VOLUME:/data/index \
index.docker.io/sourcegraph/search-indexer:5.2.0@sha256:0a6448f7d0c9ca9c3d417f154bd07e4b5c16386ad50bd1b614fbf720f2a85fac
index.docker.io/sourcegraph/search-indexer:5.2.1@sha256:f99345fb1c5e4f87020d47f8c9e946d8709b40eba6a07e2ec860f14a3a6a8970

echo "Deployed zoekt-indexserver $1 service"
2 changes: 1 addition & 1 deletion pure-docker/deploy-zoekt-webserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ docker run --detach \
-e 'OPENTELEMETRY_DISABLED=false' \
-e 'OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4317' \
-v $VOLUME:/data/index \
index.docker.io/sourcegraph/indexed-searcher:5.2.0@sha256:5c27865112223ad5a6bcf1942202bf2c66ad7c1196d649b6d98806d13a4d6329
index.docker.io/sourcegraph/indexed-searcher:5.2.1@sha256:11ee5bc6d4aadc0ba5b092549866de76a3af5c4241d105e91c5981fc7ce1a93f

echo "Deployed zoekt-webserver $1 service"

0 comments on commit 0ece14a

Please sign in to comment.