From a42609f94704557256ff051f739e4dff7d27c8b7 Mon Sep 17 00:00:00 2001 From: morenol <22335041+morenol@users.noreply.github.com> Date: Tue, 26 Nov 2024 20:27:17 -0500 Subject: [PATCH] chore: run CI with beta4 (#62) * chore: run CI with nightly * chore: run with beta4 --------- Co-authored-by: Luis Moreno --- .github/workflows/check.yml | 6 +++++- .github/workflows/ci.yml | 2 +- .github/workflows/nightly.yml | 2 +- README.MD | 2 +- dataflows/car-processing/Dockerfile | 4 ++-- docker/Dockerfile | 4 ++-- packages/mask-ssn/Makefile | 3 ++- packages/mask-ssn/sdf-package.yaml | 3 --- 8 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index d188418..4108c42 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -79,9 +79,13 @@ jobs: run: | fvm install ${{ matrix.sdf-version }} + - name: install fluvio + run: | + fluvio cluster start + - name: Run sdf setup run: | - sdf setup + sdf setup || true - name: Run tests working-directory: ./${{ matrix.example_path }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5e2837..ac14d78 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: checks: uses: ./.github/workflows/check.yml with: - sdf_version: sdf-beta3 + sdf_version: sdf-beta4 branch: ${{ github.ref }} done: diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 3769c98..a94ce9b 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -13,7 +13,7 @@ jobs: checks: uses: ./.github/workflows/check.yml with: - sdf_version: sdf-beta4-dev + sdf_version: sdf-beta5-dev branch: ${{ github.ref }} done: name: Done diff --git a/README.MD b/README.MD index d7a822b..02753eb 100644 --- a/README.MD +++ b/README.MD @@ -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-beta3 + curl -fsS https://hub.infinyon.cloud/install/install.sh | bash fvm install sdf-beta4 ``` * Start Cluster diff --git a/dataflows/car-processing/Dockerfile b/dataflows/car-processing/Dockerfile index 0cafac1..e1da50d 100644 --- a/dataflows/car-processing/Dockerfile +++ b/dataflows/car-processing/Dockerfile @@ -18,11 +18,11 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \ # Install a specific version of Rust rustup install 1.80.0 && \ rustup default 1.80.0 -RUN rustup target add wasm32-wasip1 +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-beta2 + fvm install sdf-beta4 RUN cd /workspace/connectors/ && \ cdk hub download infinyon/http-source@0.4.3 diff --git a/docker/Dockerfile b/docker/Dockerfile index f25c66d..b6f5759 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,6 +1,6 @@ FROM rust:1-slim-bookworm -RUN rustup target add wasm32-wasip1 +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 @@ -9,4 +9,4 @@ RUN curl -fsS "https://hub.infinyon.cloud/install/install.sh?ctx=sdf-demo" | FLU ENV PATH "$PATH:/root/.fluvio/bin" ENV PATH "$PATH:/root/.fvm/bin" -RUN sdf setup +RUN sdf setup || true diff --git a/packages/mask-ssn/Makefile b/packages/mask-ssn/Makefile index 261d6a6..f01f1bd 100644 --- a/packages/mask-ssn/Makefile +++ b/packages/mask-ssn/Makefile @@ -3,6 +3,7 @@ include $(BASE_DIR)/Makefile update: $(SDF_BIN) update || true # do not fail if update fails (update for beta4) + echo '\nregex = "1.1"\n' >> rust/mask-ssn/Cargo.toml build: update - $(SDF_BIN) build \ No newline at end of file + $(SDF_BIN) build diff --git a/packages/mask-ssn/sdf-package.yaml b/packages/mask-ssn/sdf-package.yaml index c680e08..177f31a 100644 --- a/packages/mask-ssn/sdf-package.yaml +++ b/packages/mask-ssn/sdf-package.yaml @@ -8,9 +8,6 @@ meta: functions: mask-ssn: operator: map - dependencies: - - name: regex - version: "1.11" inputs: - name: text type: string