feat: Test and build releases with the Kafka feature enabled
parent
365917c2aa
commit
beede9bd4e
|
@ -185,7 +185,7 @@ jobs:
|
|||
- cache_restore
|
||||
- run:
|
||||
name: Cargo test
|
||||
command: cargo test --workspace
|
||||
command: cargo test --workspace --features=kafka
|
||||
- cache_save
|
||||
|
||||
# end to end tests with Heappy (heap profiling enabled)
|
||||
|
@ -240,7 +240,7 @@ jobs:
|
|||
- cargo-lock-{{ checksum "Cargo.lock" }}
|
||||
- run:
|
||||
name: Prime Rust build cache
|
||||
command: cargo build --package influxdb_iox --bin influxdb_iox --package iox_data_generator --bin iox_data_generator
|
||||
command: cargo build --package influxdb_iox --bin influxdb_iox --package iox_data_generator --bin iox_data_generator --features=kafka
|
||||
- save_cache:
|
||||
key: cargo-lock-{{ checksum "Cargo.lock" }}
|
||||
paths:
|
||||
|
@ -277,8 +277,8 @@ jobs:
|
|||
name: Build benches
|
||||
command: cargo test --workspace --benches --no-run
|
||||
- run:
|
||||
name: Build with object store + exporter support + HEAP profiling
|
||||
command: cargo build --no-default-features --features="aws,gcp,azure,heappy,pprof"
|
||||
name: Build with object store + exporter support + HEAP profiling + kafka
|
||||
command: cargo build --no-default-features --features="aws,gcp,azure,heappy,pprof,kafka"
|
||||
- cache_save
|
||||
|
||||
# Lint protobufs.
|
||||
|
|
|
@ -15,7 +15,7 @@ WORKDIR /influxdb_iox
|
|||
|
||||
ARG CARGO_INCREMENTAL=yes
|
||||
ARG PROFILE=release
|
||||
ARG FEATURES=aws,gcp,azure,jemalloc_replacing_malloc
|
||||
ARG FEATURES=aws,gcp,azure,jemalloc_replacing_malloc,kafka
|
||||
ARG ROARING_ARCH="haswell"
|
||||
ARG RUSTFLAGS=""
|
||||
ENV CARGO_INCREMENTAL=$CARGO_INCREMENTAL \
|
||||
|
|
Loading…
Reference in New Issue