-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from zama-ai/fix/version-mismatch
fixture: fix mismatch for kms-service-dev + add check to compare if …
- Loading branch information
Showing
5 changed files
with
54 additions
and
2 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
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
# Check if a file name is provided as an argument | ||
if [ $# -eq 0 ]; then | ||
echo "Usage: $0 <filename> <docker_image>" | ||
exit 1 | ||
fi | ||
|
||
# Assign the first argument to a variable | ||
file="$1" | ||
docker_image="$2" | ||
|
||
# Check if the file exists | ||
if [ ! -f "$file" ]; then | ||
echo "File does not exist: $file" | ||
exit 1 | ||
fi | ||
|
||
|
||
# Extracting the version using grep and awk | ||
version=$(grep 'ghcr.io/zama-ai/'$docker_image "$file" | awk -F':' '{print $3}' | tr -d '[:space:]') | ||
|
||
echo $version |
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,9 @@ | ||
#!/bin/bash | ||
|
||
make init-ethermint-node | ||
# Run fhEVM + full KMS components | ||
make run-full | ||
# Deploy ACL, Gateway ..., please wait until the end before testing!!! | ||
make prepare-e2e-test | ||
# This test will fail (first event catch is buggy - we are on it) | ||
make run-async-test |
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