-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
56 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM rust:slim-bullseye | ||
RUN apt-get update && apt-get install pkg-config libssl-dev -y | ||
COPY Cargo.toml Cargo.lock /plugin-src/ | ||
COPY src/ /plugin-src/src | ||
WORKDIR /plugin-src | ||
RUN cargo build --release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
|
||
( | ||
cd .. | ||
docker build -f Dockerfile.build -t modality-dlt-build . | ||
) | ||
|
||
if [ -f ~/.config/modality/license ]; then | ||
key=$(< ~/.config/modality/license) | ||
echo "MODALITY_LICENSE_KEY=${key}" > .env | ||
fi | ||
|
||
docker compose build | ||
docker compose up --abort-on-container-exit test-collector | ||
docker compose --profile test-collector build | ||
docker compose --profile test-import build | ||
|
||
docker compose --profile test-collector up --abort-on-container-exit test-collector | ||
docker compose --profile test-import up --abort-on-container-exit test-import |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
behavior "injected log messages" | ||
nominal case "injected log messages are observed" | ||
log@ECU1(_.payload.0 = 1 and _.payload.1 = "fooo") -> | ||
log@ECU1(_.payload.0 = 2 and _.payload.1 = "fooo") -> | ||
log@ECU1(_.payload.0 = 3 and _.payload.1 = "fooo") -> | ||
log@ECU1(_.payload.0 = 4 and _.payload.1 = "fooo") | ||
end | ||
end |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
|
||
/modality-reflector import --ingest-protocol-parent-url ${INGEST_PROTOCOL_PARENT_URL} dlt /foo.dlt | ||
|
||
/modality workspace sync-indices | ||
/conform spec eval --file /imported.speqtr --dry-run |