feat: Test and build releases with the Kafka feature enabled

pull/24376/head
Carol (Nichols || Goulding) 2021-12-08 17:08:17 -05:00
parent 365917c2aa
commit beede9bd4e
No known key found for this signature in database
GPG Key ID: E907EE5A736F87D4
2 changed files with 5 additions and 5 deletions

View File

@ -185,7 +185,7 @@ jobs:
- cache_restore - cache_restore
- run: - run:
name: Cargo test name: Cargo test
command: cargo test --workspace command: cargo test --workspace --features=kafka
- cache_save - cache_save
# end to end tests with Heappy (heap profiling enabled) # end to end tests with Heappy (heap profiling enabled)
@ -240,7 +240,7 @@ jobs:
- cargo-lock-{{ checksum "Cargo.lock" }} - cargo-lock-{{ checksum "Cargo.lock" }}
- run: - run:
name: Prime Rust build cache 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: - save_cache:
key: cargo-lock-{{ checksum "Cargo.lock" }} key: cargo-lock-{{ checksum "Cargo.lock" }}
paths: paths:
@ -277,8 +277,8 @@ jobs:
name: Build benches name: Build benches
command: cargo test --workspace --benches --no-run command: cargo test --workspace --benches --no-run
- run: - run:
name: Build with object store + exporter support + HEAP profiling name: Build with object store + exporter support + HEAP profiling + kafka
command: cargo build --no-default-features --features="aws,gcp,azure,heappy,pprof" command: cargo build --no-default-features --features="aws,gcp,azure,heappy,pprof,kafka"
- cache_save - cache_save
# Lint protobufs. # Lint protobufs.

View File

@ -15,7 +15,7 @@ WORKDIR /influxdb_iox
ARG CARGO_INCREMENTAL=yes ARG CARGO_INCREMENTAL=yes
ARG PROFILE=release 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 ROARING_ARCH="haswell"
ARG RUSTFLAGS="" ARG RUSTFLAGS=""
ENV CARGO_INCREMENTAL=$CARGO_INCREMENTAL \ ENV CARGO_INCREMENTAL=$CARGO_INCREMENTAL \