From beede9bd4e26287cad09cd1fa5c4ea2438b9f9e4 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Wed, 8 Dec 2021 17:08:17 -0500 Subject: [PATCH] feat: Test and build releases with the Kafka feature enabled --- .circleci/config.yml | 8 ++++---- Dockerfile | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 664745a0e7..99a8004e9f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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. diff --git a/Dockerfile b/Dockerfile index 24a47f82cc..7626feedbb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \