Skip to content

Commit

Permalink
chore: run CI with beta4 (#62)
Browse files Browse the repository at this point in the history
* chore: run CI with nightly

* chore: run with beta4

---------

Co-authored-by: Luis Moreno <[email protected]>
  • Loading branch information
morenol and morenol authored Nov 27, 2024
1 parent d70fa90 commit a42609f
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 12 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
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-beta3
sdf_version: sdf-beta4
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-beta4-dev
sdf_version: sdf-beta5-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-beta3
curl -fsS https://hub.infinyon.cloud/install/install.sh | bash fvm install sdf-beta4
```

* Start Cluster
Expand Down
4 changes: 2 additions & 2 deletions dataflows/car-processing/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
3 changes: 2 additions & 1 deletion packages/mask-ssn/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
$(SDF_BIN) build
3 changes: 0 additions & 3 deletions packages/mask-ssn/sdf-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ meta:
functions:
mask-ssn:
operator: map
dependencies:
- name: regex
version: "1.11"
inputs:
- name: text
type: string
Expand Down

0 comments on commit a42609f

Please sign in to comment.