Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement richer error model #2589

Merged
merged 14 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ plugins:
- json_names_for_fields=true
- plugin: buf.build/community/neoeinstein-prost
out: rust/libs/proto/src
opt:
- enable_type_names
- plugin: buf.build/community/neoeinstein-tonic
out: rust/libs/proto/src
opt:
Expand Down
1 change: 1 addition & 0 deletions dockers/agent/core/agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ RUN --mount=type=bind,target=.,rw \
libomp-dev \
libopenblas-dev \
gfortran \
pkg-config \
&& ldconfig \
&& echo "${LANG} UTF-8" > /etc/locale.gen \
&& ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \
Expand Down
1 change: 1 addition & 0 deletions dockers/ci/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ RUN --mount=type=bind,target=.,rw \
libomp-dev \
libopenblas-dev \
gfortran \
pkg-config \
gawk \
gnupg2 \
graphviz \
Expand Down
2 changes: 2 additions & 0 deletions dockers/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ RUN --mount=type=bind,target=.,rw \
libomp-dev \
libopenblas-dev \
gfortran \
pkg-config \
gawk \
gnupg2 \
graphviz \
Expand Down Expand Up @@ -141,6 +142,7 @@ RUN --mount=type=bind,target=.,rw \
&& make telepresence/install \
&& make ngt/install \
&& make faiss/install \
&& make usearch/install \
&& rm -rf ${GOPATH}/src/github.com/${ORG}/${REPO}/*
# skipcq: DOK-DL3002
USER root:root
12 changes: 9 additions & 3 deletions hack/docker/gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,9 @@ var (
faissBuildDeps = []string{
"gfortran",
}
rustBuildDeps = []string{
"pkg-config",
}
devContainerDeps = []string{
"gawk",
"gnupg2",
Expand Down Expand Up @@ -532,7 +535,8 @@ func main() {
RuntimeImage: "gcr.io/distroless/cc-debian12",
ExtraPackages: append(clangBuildDeps,
append(ngtBuildDeps,
faissBuildDeps...)...),
append(faissBuildDeps,
rustBuildDeps...)...)...),
Preprocess: []string{
ngtPreprocess,
faissPreprocess,
Expand Down Expand Up @@ -649,7 +653,8 @@ func main() {
ExtraPackages: append([]string{"npm"}, append(clangBuildDeps,
append(ngtBuildDeps,
append(faissBuildDeps,
devContainerDeps...)...)...)...),
append(rustBuildDeps,
devContainerDeps...)...)...)...)...),
Preprocess: append(ciContainerPreprocess, ngtPreprocess, faissPreprocess, usearchPreprocess),
Entrypoints: []string{"/bin/bash"},
},
Expand All @@ -664,7 +669,8 @@ func main() {
ExtraPackages: append(clangBuildDeps,
append(ngtBuildDeps,
append(faissBuildDeps,
devContainerDeps...)...)...),
append(rustBuildDeps,
devContainerDeps...)...)...)...),
Preprocess: append(devContainerPreprocess,
append(ciContainerPreprocess,
ngtPreprocess,
Expand Down
Loading
Loading