Skip to content

Commit

Permalink
bump: update rust version to 1.81
Browse files Browse the repository at this point in the history
  • Loading branch information
cdxker committed Nov 14, 2024
1 parent a76db38 commit db0c204
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion server/Dockerfile.bktree-worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.80-slim-bookworm AS chef
FROM rust:1.81-slim-bookworm AS chef
# We only pay the installation cost once,
# it will be cached from the second build onwards
RUN apt-get update -y && apt-get -y install pkg-config libssl-dev libpq-dev g++ curl
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile.bulk-ingest-worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.80-slim-bookworm AS chef
FROM rust:1.81-slim-bookworm AS chef
# We only pay the installation cost once,
# it will be cached from the second build onwards
RUN apt-get update -y && apt-get -y install pkg-config libssl-dev libpq-dev g++ curl
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile.clone-qdrant
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.80-slim-bookworm AS chef
FROM rust:1.81-slim-bookworm AS chef
# We only pay the installation cost once,
# it will be cached from the second build onwards
RUN apt-get update -y && apt-get -y install pkg-config libssl-dev libpq-dev g++ curl
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile.crawl-cron-job
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.80-slim-bookworm AS chef
FROM rust:1.81-slim-bookworm AS chef
# We only pay the installation cost once,
# it will be cached from the second build onwards
RUN apt-get update -y && apt-get -y install pkg-config libssl-dev libpq-dev g++ curl
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile.crawl-worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.80-slim-bookworm AS chef
FROM rust:1.81-slim-bookworm AS chef
# We only pay the installation cost once,
# it will be cached from the second build onwards
RUN apt-get update -y && apt-get -y install pkg-config libssl-dev libpq-dev g++ curl
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile.delete-worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.80-slim-bookworm AS chef
FROM rust:1.81-slim-bookworm AS chef
# We only pay the installation cost once,
# it will be cached from the second build onwards
RUN apt-get update -y && apt-get -y install pkg-config libssl-dev libpq-dev g++ curl
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile.dittofeed-sync-worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.80-slim-bookworm AS chef
FROM rust:1.81-slim-bookworm AS chef
# We only pay the installation cost once,
# it will be cached from the second build onwards
RUN apt-get update -y && apt-get -y install pkg-config libssl-dev libpq-dev g++ curl
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile.file-worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.80-slim-bookworm AS chef
FROM rust:1.81-slim-bookworm AS chef
# We only pay the installation cost once,
# it will be cached from the second build onwards
RUN apt-get update -y && apt-get -y install pkg-config libssl-dev libpq-dev g++ curl
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile.group-worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.80-slim-bookworm AS chef
FROM rust:1.81-slim-bookworm AS chef
# We only pay the installation cost once,
# it will be cached from the second build onwards
RUN apt-get update -y && apt-get -y install pkg-config libssl-dev libpq-dev g++ curl
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile.ingestion-worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.80-slim-bookworm AS chef
FROM rust:1.81-slim-bookworm AS chef
# We only pay the installation cost once,
# it will be cached from the second build onwards
RUN apt-get update -y && apt-get -y install pkg-config libssl-dev libpq-dev g++ curl
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile.pg-worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.80-slim-bookworm AS chef
FROM rust:1.81-slim-bookworm AS chef
# We only pay the installation cost once,
# it will be cached from the second build onwards
RUN apt-get update -y && apt-get -y install pkg-config libssl-dev libpq-dev g++ curl
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile.queue-bm25
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.80-slim-bookworm AS chef
FROM rust:1.81-slim-bookworm AS chef
# We only pay the installation cost once,
# it will be cached from the second build onwards
RUN apt-get update -y && apt-get -y install pkg-config libssl-dev libpq-dev g++ curl
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile.reindex-worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.80-slim-bookworm AS chef
FROM rust:1.81-slim-bookworm AS chef
# We only pay the installation cost once,
# it will be cached from the second build onwards
RUN apt-get update -y && apt-get -y install pkg-config libssl-dev libpq-dev g++ curl
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile.server
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.80-slim-bookworm AS chef
FROM rust:1.81-slim-bookworm AS chef
# We only pay the installation cost once,
# it will be cached from the second build onwards
RUN apt-get update -y && apt-get -y install pkg-config libssl-dev libpq-dev g++ curl
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile.sync-qdrant
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.80-slim-bookworm AS chef
FROM rust:1.81-slim-bookworm AS chef
# We only pay the installation cost once,
# it will be cached from the second build onwards
RUN apt-get update -y && apt-get -y install pkg-config libssl-dev libpq-dev g++ curl
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile.word-id-cronjob
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.80-slim-bookworm AS chef
FROM rust:1.81-slim-bookworm AS chef
# We only pay the installation cost once,
# it will be cached from the second build onwards
RUN apt-get update -y && apt-get -y install pkg-config libssl-dev libpq-dev g++ curl
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile.word-worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.80-slim-bookworm AS chef
FROM rust:1.81-slim-bookworm AS chef
# We only pay the installation cost once,
# it will be cached from the second build onwards
RUN apt-get update -y && apt-get -y install pkg-config libssl-dev libpq-dev g++ curl
Expand Down
1 change: 1 addition & 0 deletions server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,7 @@ pub fn main() -> std::io::Result<()> {
.await
.expect("Failed to create redis pool");

log::info!("Connecting to OIDC");
let oidc_client = build_oidc_client().await;

let quantize_vectors = std::env::var("QUANTIZE_VECTORS")
Expand Down

0 comments on commit db0c204

Please sign in to comment.