Skip to content

chore: update sdf version #88

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
checks:
uses: ./.github/workflows/check.yml
with:
sdf_version: sdf-beta10
sdf_version: sdf-beta11
branch: ${{ github.ref }}

done:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
checks:
uses: ./.github/workflows/check.yml
with:
sdf_version: sdf-beta11-dev
sdf_version: sdf-beta12-dev
branch: ${{ github.ref }}
done:
name: Done
Expand Down
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This repository offers a comprehensive range of dataflow examples from basic to
* Install Fluvio and SDF

```bash
curl -fsS https://hub.infinyon.cloud/install/install.sh | bash fvm install sdf-beta10
curl -fsS https://hub.infinyon.cloud/install/install.sh | bash fvm install sdf-beta11
```

* Run SDF setup to install dependencies
Expand Down
8 changes: 4 additions & 4 deletions dataflows/car-processing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ COPY run.sh .
ENV PATH "$PATH:/root/.fluvio/bin"
ENV PATH "$PATH:/root/.fvm/bin"

ARG FLUVIO_VERSION=

RUN apt-get update && \
apt-get install -y \
curl unzip cargo
Expand All @@ -20,10 +22,8 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
rustup default 1.80.0
RUN rustup target add wasm32-wasip2

RUN curl -fsS https://hub.infinyon.cloud/install/install.sh?ctx=dc | bash && \
echo 'source "${HOME}/.fvm/env"' >> ~/.bashrc && \
fvm install sdf-beta10

RUN curl -fsS "https://hub.infinyon.cloud/install/install.sh?ctx=sdf-demo" | FLUVIO_VERSION=${FLUVIO_VERSION} bash &&
echo 'source "${HOME}/.fvm/env"' >> ~/.bashrc
RUN cd /workspace/connectors/ && \
cdk hub download infinyon/[email protected]

Expand Down
2 changes: 1 addition & 1 deletion dataflows/car-processing/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ sdf clean --force
## Dockerfile
To run the above with a container, a Dockerfile is included. The docker container will install all the required files and packages. The included shell script starts a fluvio cluster as well as the connectors required for the car dataflow to work. You can alter the consume command in the [run.sh](run.sh) to view different topics. The dataflow does take a long time to run.
```
docker build -t carproc .
docker build --build-arg FLUVIO_VERSION=sdf-beta12 -t carproc .
docker run carproc
```
### Expected Output
Expand Down
4 changes: 3 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
FROM rust:1-slim-bookworm

ARG FLUVIO_VERSION=

RUN rustup target add wasm32-wasip2
RUN apt-get update
RUN apt-get install -y curl unzip
RUN apt-get install -y tini openssl curl
RUN curl -fsS "https://hub.infinyon.cloud/install/install.sh?ctx=sdf-demo" | FLUVIO_VERSION=sdf-beta10 bash
RUN curl -fsS "https://hub.infinyon.cloud/install/install.sh?ctx=sdf-demo" | FLUVIO_VERSION=${FLUVIO_VERSION} bash

ENV PATH "$PATH:/root/.fluvio/bin"
ENV PATH "$PATH:/root/.fvm/bin"
Expand Down
2 changes: 1 addition & 1 deletion docker/start.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build Environment
docker build -t fluvio:sdf .
docker build --build-arg FLUVIO_VERSION=sdf-beta12 -t fluvio:sdf .

# Run SDF in Docker
docker compose up -d
Expand Down