Skip to content

Commit

Permalink
chore: Add kafka to docker image (#1644)
Browse files Browse the repository at this point in the history
  • Loading branch information
karolisg authored Jun 15, 2023
1 parent 4f66aad commit d7bcba6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,6 @@ jobs:
${{ runner.os }}-cargo-release-${{ hashFiles('Cargo.lock') }}
${{ runner.os }}-cargo-release-
- name: Build package
run: cargo build --release --bin ${{ matrix.file_name }}

- name: Install cargo-deb
if: matrix.os == 'ubuntu-20-16-cores'
run: cargo install cargo-deb
Expand All @@ -349,6 +346,14 @@ jobs:
if: matrix.os == 'ubuntu-20-16-cores'
run: cargo-deb -p dozer-cli --output ./deb/${{matrix.asset_name}}.deb

- name: Build package
if: matrix.os != 'ubuntu-20-16-cores'
run: cargo build --release --bin ${{ matrix.file_name }}

- name: Build package for ubuntu (with kafka)
if: matrix.os == 'ubuntu-20-16-cores'
run: cargo build --release --bin ${{ matrix.file_name }} --features=kafka

# - name: Build Linux binary
# if: matrix.os == 'ubuntu-20-16-cores'
# run: cargo build --features=snowflake --release
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dozer-ingestion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ object_store = { version = "0.5", features = ["aws"] }
# Eth connector
web3 = { version = "0.18.0", optional = true }
# Kafka connector
rdkafka = {version = "0.31.0", optional = true }
rdkafka = {version = "0.32.2", optional = true }
# odbc connector
odbc = { version = "0.17.0", optional = true }
base64 = "0.21.0"
Expand Down

0 comments on commit d7bcba6

Please sign in to comment.