Skip to content

Commit

Permalink
(promote) release: build v5.3.666 (#1006)
Browse files Browse the repository at this point in the history
* update rel manifest

* fixup

* Echo instructions saying that next step is in CI

* update ci pipeline

* fixup

* fixup

* docs

* Handle intermediary branch

* Annotate on finalize

* fix annotation

* fixup

* fixup

* fixupu

* fixup

* fixup

* fxiup

* fixup

* release_patch: v5.3.666

{"version":"v5.3.666","inputs":"server=v5.3.666","type":"patch"}

* promote-release: v5.3.666

{"version":"v5.3.666","inputs":"server=v5.3.666","type":"patch"}
  • Loading branch information
jhchabran authored Mar 21, 2024
1 parent 9dea0e6 commit 57324e4
Show file tree
Hide file tree
Showing 7 changed files with 129 additions and 79 deletions.
63 changes: 38 additions & 25 deletions .buildkite/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,46 +15,59 @@ steps:
command: .buildkite/verify-release/verify-release.sh
agents: { queue: standard }

- label: ":rice: pure-docker-test"
command: .buildkite/vagrant-run.sh docker-test
artifact_paths: ./*.log
env:
TEST_TYPE: "pure-docker-test"
agents: { queue: "vagrant" }

- label: ":rice: docker-compose-test"
command: .buildkite/vagrant-run.sh docker-test
artifact_paths: ./*.log
env:
TEST_TYPE: "docker-compose-test"
agents: { queue: "vagrant" }

# This runs the Checkov Terraform Code scanner
# Commented for faster QA
# - label: ":rice: pure-docker-test"
# command: .buildkite/vagrant-run.sh docker-test
# artifact_paths: ./*.log
# env:
# TEST_TYPE: "pure-docker-test"
# agents: { queue: "vagrant" }
#
# - label: ":rice: docker-compose-test"
# command: .buildkite/vagrant-run.sh docker-test
# artifact_paths: ./*.log
# env:
# TEST_TYPE: "docker-compose-test"
# agents: { queue: "vagrant" }
#
# # This runs the Checkov Terraform Code scanner
# https://www.checkov.io/
- command: .buildkite/ci-checkov.sh
label: ":lock: security - checkov"
agents: { queue: "standard" }
soft_fail: true
# - command: .buildkite/ci-checkov.sh
# label: ":lock: security - checkov"
# agents: { queue: "standard" }
# soft_fail: true

- label: "Release: test"
if: "build.branch =~ /^wip_/"
# Please keep in mind that the release manifest uses specific branch names when creating releases.
# Therefore, if you update them, or if you decide to change how we detect what kind of build we're dealing
# with, please update this file as well.
- label: "(internal) Release: test"
if: build.branch =~ /^internal\/release-.*/
plugins:
- ssh://[email protected]/sourcegraph/sg-buildkite-plugin.git#main: ~
command: |
sg release run test --workdir=. --config-from-commit
- label: "(promote) Release: test"
if: build.branch =~ /^promote\/release-.*/
plugins:
- ssh://[email protected]/sourcegraph/sg-buildkite-plugin.git#main: ~
command: |
sg release run test --workdir=. --config-from-commit
- wait

- label: "Release: finalize"
if: "build.branch =~ /^wip_/"
- label: "(internal) Release: finalize"
if: build.branch =~ /^internal\/release-.*/
plugins:
- ssh://[email protected]/sourcegraph/sg-buildkite-plugin.git#main: ~
command: |
sg release run internal finalize --workdir=. --config-from-commit
- label: "Promote to public: finalize"
if: build.message =~ /^promote_release/ && build.branch =~ /^wip_release/
- label: "(promote) Release: finalize"
if: build.branch =~ /^promote\/release-.*/
plugins:
- ssh://[email protected]/sourcegraph/sg-buildkite-plugin.git#main: ~
command: |
sg release run promote-to-public finalize --workdir=. --config-from-commit
4 changes: 2 additions & 2 deletions docker-compose/db-only-migrate.docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
#
pgsql:
container_name: pgsql
image: 'index.docker.io/sourcegraph/postgres-12-alpine:216430_2023-05-02_5.0-3cc9006de32c@sha256:931a3b043d79f4cc7692a96810e18f0db231f36534a6748ea862903768ceeef0'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/postgres-12-alpine:5.3.666@sha256:c48e799964ab29371b50da7f55a4c38b52bc2adb7093be892aceb7a41a37a2fc'
cpus: 4
mem_limit: '2g'
healthcheck:
Expand All @@ -30,7 +30,7 @@ services:

codeintel-db:
container_name: codeintel-db
image: 'index.docker.io/sourcegraph/codeintel-db:216430_2023-05-02_5.0-3cc9006de32c@sha256:931a3b043d79f4cc7692a96810e18f0db231f36534a6748ea862903768ceeef0'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/codeintel-db:5.3.666@sha256:c48e799964ab29371b50da7f55a4c38b52bc2adb7093be892aceb7a41a37a2fc'
cpus: 4
mem_limit: '2g'
healthcheck:
Expand Down
52 changes: 26 additions & 26 deletions docker-compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
# for this container will need to be updated to reflect the new connection information.
migrator:
container_name: migrator
image: 'index.docker.io/sourcegraph/migrator:216430_2023-05-02_5.0-3cc9006de32c@sha256:b8e48a03a546e955eec228843b76f44ca86211c914fc0685f81985a2c20e269b'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/migrator:5.3.666@sha256:7cd938208e4f834ba2e8b710902b2c98fc5534b921c749e19a19433ceb81ad36'
cpus: 0.5
mem_limit: '500m'
command: ['up']
Expand Down Expand Up @@ -124,7 +124,7 @@ services:
# service.
sourcegraph-frontend-0:
container_name: sourcegraph-frontend-0
image: 'index.docker.io/sourcegraph/frontend:216430_2023-05-02_5.0-3cc9006de32c@sha256:871772686b707f1e2d18524dc5d23837922eee244c91190ad8a636d88d3563df'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/frontend:5.3.666@sha256:c8c78d1afd34c4817be71e5ea276a415a2efb13603f4eb0fe52a3fbfeb48d824'
cpus: 4
mem_limit: '8g'
environment:
Expand Down Expand Up @@ -180,7 +180,7 @@ services:
#
sourcegraph-frontend-internal:
container_name: sourcegraph-frontend-internal
image: 'index.docker.io/sourcegraph/frontend:216430_2023-05-02_5.0-3cc9006de32c@sha256:871772686b707f1e2d18524dc5d23837922eee244c91190ad8a636d88d3563df'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/frontend:5.3.666@sha256:c8c78d1afd34c4817be71e5ea276a415a2efb13603f4eb0fe52a3fbfeb48d824'
cpus: 4
mem_limit: '8g'
environment:
Expand Down Expand Up @@ -227,7 +227,7 @@ services:
#
gitserver-0:
container_name: gitserver-0
image: 'index.docker.io/sourcegraph/gitserver:216430_2023-05-02_5.0-3cc9006de32c@sha256:c8f62c859b789be15ecc78c16e9fbf21cb818262b3880d87e48b05ff8bf2c684'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/gitserver:5.3.666@sha256:690c364371daa5c21c590fc9ddf49db57695c3247f4c87a645046d8e6d2bcc39'
cpus: 4
mem_limit: '8g'
environment:
Expand All @@ -250,7 +250,7 @@ services:
#
zoekt-indexserver-0:
container_name: zoekt-indexserver-0
image: 'index.docker.io/sourcegraph/search-indexer:216430_2023-05-02_5.0-3cc9006de32c@sha256:42e4dbd82a7038c8cc46f2748e897bdf8d8d0dea9d365151dec7946fabfef687'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/search-indexer:5.3.666@sha256:f657780364e11b8fef2c6f18b67dd577354ccea55b5c3ec0f65f4af3a62c8947'
cpus: 8
mem_limit: '16g'
environment:
Expand All @@ -273,7 +273,7 @@ services:
#
zoekt-webserver-0:
container_name: zoekt-webserver-0
image: 'index.docker.io/sourcegraph/indexed-searcher:216430_2023-05-02_5.0-3cc9006de32c@sha256:818a6d607f8ff35631a98d56ef8feb2a4257b6398473128132d85901c60b8b9d'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/indexed-searcher:5.3.666@sha256:655852ad5815dcdb0f06176be407edbcb1432790ef4889f714d2d63490729635'
cpus: 8
mem_limit: '50g'
environment:
Expand All @@ -300,7 +300,7 @@ services:
#
searcher-0:
container_name: searcher-0
image: 'index.docker.io/sourcegraph/searcher:216430_2023-05-02_5.0-3cc9006de32c@sha256:4a40c10251454e5fda00f4b367f4f378e19b532bc93ba8a7dbfdefed27e10f05'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/searcher:5.3.666@sha256:8b4d15fe57a64beb4725f8307930ca020a6f45fff55938afa36e3d0f84d461da'
cpus: 2
mem_limit: '2g'
environment:
Expand All @@ -324,7 +324,7 @@ services:
#
precise-code-intel-worker:
container_name: precise-code-intel-worker
image: 'index.docker.io/sourcegraph/precise-code-intel-worker:216430_2023-05-02_5.0-3cc9006de32c@sha256:6194050008a585b34e841f51529475312c24b17cbe36851d2a4988a5d1defb69'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/precise-code-intel-worker:5.3.666@sha256:bdb8d0e78ef4d77ee72d44800f16ebf9abaeb22e5ed42e2bb36eb158b7c59a90'
cpus: 2
mem_limit: '4g'
environment:
Expand All @@ -350,7 +350,7 @@ services:
#
repo-updater:
container_name: repo-updater
image: 'index.docker.io/sourcegraph/repo-updater:216430_2023-05-02_5.0-3cc9006de32c@sha256:c91ae5f636b8a7a1b06d6c899da6a2b40f0be91aaf704116dac1c3a491db6517'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/repo-updater:5.3.666@sha256:2ffafb3480338ce1c8acc2a35343fdf9d965fefff63bd021b422bc9b0a868753'
cpus: 4
mem_limit: '4g'
environment:
Expand All @@ -370,7 +370,7 @@ services:
#
worker:
container_name: worker
image: 'index.docker.io/sourcegraph/worker:216430_2023-05-02_5.0-3cc9006de32c@sha256:d3d9e1d684a1a4a337810dc0a9caa95bd9caa17120527be227ca3b5cae622b59'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/worker:5.3.666@sha256:7aff9663311b6c52613820d547076d4076b30c6903e20df0f05b17dfccb248ee'
cpus: 4
mem_limit: '4g'
environment:
Expand All @@ -396,7 +396,7 @@ services:
#
syntect-server:
container_name: syntect-server
image: 'index.docker.io/sourcegraph/syntax-highlighter:216430_2023-05-02_5.0-3cc9006de32c@sha256:d39a9234cf5f9128d5bf7430448efd4284c505fab6a310c1ec08a62a9d396fea'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/syntax-highlighter:5.3.666@sha256:470056a6d94839a9b5eb44df316ffe4c99495fdd1a62b5c0c532d51384fa4ad2'
cpus: 4
mem_limit: '6g'
healthcheck:
Expand All @@ -417,7 +417,7 @@ services:
#
symbols-0:
container_name: symbols-0
image: 'index.docker.io/sourcegraph/symbols:216430_2023-05-02_5.0-3cc9006de32c@sha256:bcf074d381291574d9e34df9c31665981bd4dc3ca737412bbeedf8fedcc6372b'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/symbols:5.3.666@sha256:5362903f1a6d02a26051727b18f023530bf98afc8050e9d4356bcfccda45fbbc'
cpus: 2
mem_limit: '4g'
environment:
Expand All @@ -443,7 +443,7 @@ services:
#
prometheus:
container_name: prometheus
image: 'index.docker.io/sourcegraph/prometheus:216430_2023-05-02_5.0-3cc9006de32c@sha256:da67ba5c797a7b7752cebd6507e903a2726c172c01cab7ce0e7deadff288bab8'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/prometheus:5.3.666@sha256:66cd0ae483dd631934ce1692d247ec871824c004f4469e5cc4ff6d3a806681bf'
cpus: 4
mem_limit: '8g'
volumes:
Expand All @@ -470,7 +470,7 @@ services:
# 'GF_SERVER_ROOT_URL='https://grafana.example.com'
grafana:
container_name: grafana
image: 'index.docker.io/sourcegraph/grafana:216430_2023-05-02_5.0-3cc9006de32c@sha256:63baeadda6d33195ccd7d742670e500a80bacace3ed5cf0eb7d3a6c276ef7c34'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/grafana:5.3.666@sha256:eab0801ec9b6bfa286c3eb02a52af631dcd73d55027165329129a88970222ee2'
cpus: 1
mem_limit: '1g'
volumes:
Expand All @@ -491,7 +491,7 @@ services:
#
cadvisor:
container_name: cadvisor
image: 'index.docker.io/sourcegraph/cadvisor:216430_2023-05-02_5.0-3cc9006de32c@sha256:6ea7f53807e4a559ee825ba2a0c4c3b3f721275f0b5ce0e979f4fdad8a4e478a'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/cadvisor:5.3.666@sha256:e8fb579112019d996cf763a03c88cc360bef14b1b14a402326a2b5a77251df0b'
cpus: 1
mem_limit: '1g'
# You may set `privileged` to `false and `cadvisor` will run with reduced privileges.
Expand Down Expand Up @@ -524,7 +524,7 @@ services:
#
node-exporter:
container_name: node-exporter
image: 'index.docker.io/sourcegraph/node-exporter:216430_2023-05-02_5.0-3cc9006de32c@sha256:fa8e5700b7762fffe0674e944762f44bb787a7e44d97569fe55348260453bf80'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/node-exporter:5.3.666@sha256:d097a3ed9b59c1cdb13a3444cadc5ccd2aa38dc3a53a13e95fb29a15801e1e67'
cpus: .5
mem_limit: '1g'
pid: 'host'
Expand Down Expand Up @@ -553,7 +553,7 @@ services:
#
pgsql:
container_name: pgsql
image: 'index.docker.io/sourcegraph/postgres-12-alpine:216430_2023-05-02_5.0-3cc9006de32c@sha256:931a3b043d79f4cc7692a96810e18f0db231f36534a6748ea862903768ceeef0'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/postgres-12-alpine:5.3.666@sha256:c48e799964ab29371b50da7f55a4c38b52bc2adb7093be892aceb7a41a37a2fc'
cpus: 4
mem_limit: '4g'
shm_size: '1g'
Expand Down Expand Up @@ -581,7 +581,7 @@ services:
# for this container will need to be updated to reflect the new connection information.
pgsql-exporter:
container_name: pgsql-exporter
image: 'index.docker.io/sourcegraph/postgres_exporter:216430_2023-05-02_5.0-3cc9006de32c@sha256:0d88b491e837616f563fd3097cd4113338728e857ffee6d57b4c48ba1350af9f'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/postgres_exporter:5.3.666@sha256:9274ceafefc790f672c9ac2bad35008f3ddc5179a5739a12bcde67cd1dde9fda'
cpus: 0.1
mem_limit: '50m'
networks:
Expand All @@ -600,7 +600,7 @@ services:
#
codeintel-db:
container_name: codeintel-db
image: 'index.docker.io/sourcegraph/codeintel-db:216430_2023-05-02_5.0-3cc9006de32c@sha256:931a3b043d79f4cc7692a96810e18f0db231f36534a6748ea862903768ceeef0'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/codeintel-db:5.3.666@sha256:c48e799964ab29371b50da7f55a4c38b52bc2adb7093be892aceb7a41a37a2fc'
cpus: 4
mem_limit: '4g'
shm_size: '1g'
Expand Down Expand Up @@ -628,7 +628,7 @@ services:
# for this container will need to be updated to reflect the new connection information.
codeintel-db-exporter:
container_name: codeintel-db-exporter
image: 'index.docker.io/sourcegraph/postgres_exporter:216430_2023-05-02_5.0-3cc9006de32c@sha256:0d88b491e837616f563fd3097cd4113338728e857ffee6d57b4c48ba1350af9f'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/postgres_exporter:5.3.666@sha256:9274ceafefc790f672c9ac2bad35008f3ddc5179a5739a12bcde67cd1dde9fda'
cpus: 0.1
mem_limit: '50m'
networks:
Expand All @@ -647,7 +647,7 @@ services:
#
codeinsights-db:
container_name: codeinsights-db
image: 'index.docker.io/sourcegraph/codeinsights-db:216430_2023-05-02_5.0-3cc9006de32c@sha256:910e98d4ddb6e5fef28be69f6395e567bbfab3f29f9d340dcdf45e83ca84cdd3'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/codeinsights-db:5.3.666@sha256:982fc005202cc0f0d9974be1cd42708bb950595d39fc66656d614362b1ae0339'
cpus: 4
mem_limit: '2g'
shm_size: '1g'
Expand Down Expand Up @@ -680,7 +680,7 @@ services:
# for this container will need to be updated to reflect the new connection information.
codeinsights-db-exporter:
container_name: codeinsights-db-exporter
image: 'index.docker.io/sourcegraph/postgres_exporter:216430_2023-05-02_5.0-3cc9006de32c@sha256:0d88b491e837616f563fd3097cd4113338728e857ffee6d57b4c48ba1350af9f'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/postgres_exporter:5.3.666@sha256:9274ceafefc790f672c9ac2bad35008f3ddc5179a5739a12bcde67cd1dde9fda'
cpus: 0.1
mem_limit: '50m'
networks:
Expand All @@ -699,7 +699,7 @@ services:
#
blobstore:
container_name: blobstore
image: 'index.docker.io/sourcegraph/blobstore:216430_2023-05-02_5.0-3cc9006de32c@sha256:ae1cf541f65441809f3495c037af4f9df1d049defdf0309a65d685f579c7e594'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/blobstore:5.3.666@sha256:72da7795a1e0ecfbf532f80e3e96071a40b04c4a3bf569c117e187e7f8a95a32'
cpus: 1
mem_limit: '1g'
healthcheck:
Expand All @@ -722,7 +722,7 @@ services:
#
redis-cache:
container_name: redis-cache
image: 'index.docker.io/sourcegraph/redis-cache:216430_2023-05-02_5.0-3cc9006de32c@sha256:60d9265507efe5b9ae51087bc7433932dfcd84d7e75c2513800baeb93fa9ea0f'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/redis-cache:5.3.666@sha256:1e13888c5e03c7a100b0e8b302d1524ddef6ed1239dab96c7f35162e10a425d5'
cpus: 1
mem_limit: '7g'
volumes:
Expand All @@ -738,7 +738,7 @@ services:
#
redis-store:
container_name: redis-store
image: 'index.docker.io/sourcegraph/redis-store:216430_2023-05-02_5.0-3cc9006de32c@sha256:fd1640997cad4ce114b98a7885636e6f48483712cea754411cf4d47e770d9219'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/redis-store:5.3.666@sha256:336d6994f4a97188aa7f57ee5164bdadf0668a7e3a2025d54c179d273ea979c9'
cpus: 1
mem_limit: '7g'
volumes:
Expand All @@ -753,7 +753,7 @@ services:
# Ports exposed to the public internet: none
otel-collector:
container_name: otel-collector
image: 'index.docker.io/sourcegraph/opentelemetry-collector:216430_2023-05-02_5.0-3cc9006de32c@sha256:7783e0a2676813f955f45debc10099ee97e104c42fe27cd315848ba58de86cd4'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/opentelemetry-collector:5.3.666@sha256:dac890d34126ad0ad006e8afc8af434103a379cc60ee4b3dbd353a1558d261a0'
cpus: 1
mem_limit: '1g'
networks:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose/embeddings/embeddings.docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
#
embeddings:
container_name: embeddings
image: 'index.docker.io/sourcegraph/embeddings:216430_2023-05-02_5.0-3cc9006de32c@sha256:c8cd7c5abca562d6a79bb524c49b9d0e76a3cb119226baa29ca0508faf652f03'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/embeddings:5.3.666@sha256:bc55da4b5261e90e97ca2669d17bd6e56c2affa4264c1e142a275201893afdbc'
cpus: 4
mem_limit: '64g'
environment:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose/executors/executor.docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '2.4'
services:
executor:
container_name: executor
image: 'index.docker.io/sourcegraph/executor:216430_2023-05-02_5.0-3cc9006de32c@sha256:c4a3345793d3e858631dde1eac69b10cc37bc522e7266f9061ed8ad1fde6e8a0'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/executor:5.3.666@sha256:b36b4f68bd4508181f94f28e9474821b48af14f4fd192b1e077f07cb3d97f7bf'
cpus: 1
mem_limit: '4g'
# Run as root (required for docker daemon control)
Expand Down
2 changes: 1 addition & 1 deletion docker-compose/jaeger/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
#
jaeger:
container_name: jaeger
image: 'index.docker.io/sourcegraph/jaeger-all-in-one:216430_2023-05-02_5.0-3cc9006de32c@sha256:ec73cff6ea398d96241a9451634fc83682292b0175cc63c09f1f866cf03beb8d'
image: 'us-central1-docker.pkg.dev/sourcegraph-ci/rfc795-public/jaeger-all-in-one:5.3.666@sha256:9c84bf86249b404f6a7ecb30b5f30201b3ec17449aad275e4ad192d8e4d970eb'
cpus: 0.5
mem_limit: '512m'
ports:
Expand Down
Loading

0 comments on commit 57324e4

Please sign in to comment.