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

build services with --all-features for arroyo-single. #246

Merged
merged 5 commits into from
Aug 14, 2023
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
6 changes: 6 additions & 0 deletions docker/build_base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ members = [
exclude = [
"wasm-fns",
]
[workspace.dependencies]
arrow = { version = "43.0.0" }
arrow-buffer = { version = "43.0.0" }
arrow-array = { version = "43.0.0" }
arrow-schema = { version = "43.0.0" }
parquet = { version = "43.0.0" }

[patch.crates-io]
parquet = {git = 'https://github.com/ArroyoSystems/arrow-rs', branch = '43.0.0/arroyo_patches'}
Expand Down
4 changes: 3 additions & 1 deletion docker/build_base/pipeline/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ bincode_derive = "=2.0.0-rc.3"
chrono = "0.4"
serde = "1.0"
serde_json = "1.0"
arrow = { workspace = true}
arrow-array = { workspace = true}
arroyo-types = { path = "/opt/arroyo/src/arroyo-types" }
arroyo-worker = { path = "/opt/arroyo/src/arroyo-worker" }
arroyo-worker = { path = "/opt/arroyo/src/arroyo-worker", features = ["kafka-sasl"] }
[package.metadata.wasm-pack.profile.release]
wasm-opt = false
2 changes: 1 addition & 1 deletion docker/cluster/compiler/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG MOLD_ARCH
ARG GIT_SHA

RUN apt-get update && \
apt-get -y install curl git pkg-config unzip build-essential libssl-dev openssl cmake clang wget && \
apt-get -y install curl git pkg-config unzip build-essential libssl-dev libsasl2-dev openssl cmake clang wget && \
# Install mold
wget https://github.com/rui314/mold/releases/download/v1.11.0/mold-1.11.0-${MOLD_ARCH}-linux.tar.gz && \
tar xvfz mold*.tar.gz && \
Expand Down
4 changes: 2 additions & 2 deletions docker/single/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ARG PROM_ARCH
ARG GIT_SHA

RUN apt-get update
RUN apt-get -y install git curl pkg-config unzip build-essential libssl-dev openssl \
RUN apt-get -y install git curl pkg-config unzip build-essential libssl-dev openssl libsasl2-dev \
cmake clang wget postgresql postgresql-client supervisor python3 python-is-python3 sudo bash

RUN wget https://github.com/rui314/mold/releases/download/v1.11.0/mold-1.11.0-${MOLD_ARCH}-linux.tar.gz && \
Expand Down Expand Up @@ -85,7 +85,7 @@ ENV VERGEN_GIT_SHA=$GIT_SHA

# Build Arroyo
RUN service postgresql start && \
cargo build --release -p arroyo-compiler-service -p arroyo-controller -p arroyo-api && \
cargo build --release --all-features -p arroyo-compiler-service -p arroyo-controller -p arroyo-api && \
mv target/release/arroyo-* /usr/bin && \
rm -rf target/release && \
service postgresql stop
Expand Down