forked from hyperledger-archives/indy-sdk
-
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.
merges vcx-ci with evernym indy-sdk fork (hyperledger-archives#15)
* merges vcx-ci with evernym indy-sdk fork Signed-off-by: Ryan Marsh <ryan.marsh44@gmail.com> * accepts libindy 1.7.0~942 Signed-off-by: Ryan Marsh <ryan.marsh44@gmail.com>
- Loading branch information
Showing
37 changed files
with
563 additions
and
213 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,22 @@ | ||
#!/bin/bash | ||
|
||
if [ $# -ne "1" ]; then | ||
echo USAGE: `basename "$0"` INDY_DIR | ||
exit 1 | ||
elif [ ! -e $INDY ]; then | ||
echo "Incorrect Indy Location" | ||
fi | ||
|
||
INDY=$1 | ||
|
||
ls -al | ||
ls -alr vcx/* | ||
ls -alr vcx/libvcx/* | ||
|
||
|
||
cp -rn $INDY/vcx/* vcx | ||
mkdir -p wrappers/rust | ||
cp -rn $INDY/wrappers/rust/* wrappers/rust | ||
ls -al | ||
ls -alr vcx/* | ||
ls -alr vcx/libvcx/* |
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,16 @@ | ||
FROM libindy | ||
ARG uid=1000 | ||
RUN useradd -ms /bin/bash -u $uid python | ||
|
||
RUN apt-get update && apt-get install -y python3 | ||
|
||
RUN apt-get install -y python3-pip | ||
|
||
RUN pip3 install pytest==4.1.0 qrcode pytest-asyncio | ||
|
||
ENV PYTHONPATH=vcx/wrappers/python3 | ||
|
||
RUN find . -name \*.pyc -delete | ||
COPY vcx/libvcx/target/debian/*.deb . | ||
RUN dpkg -i *.deb | ||
USER python |
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,11 +1,23 @@ | ||
#!/bin/bash | ||
set -e | ||
OUTPUTDIR=output | ||
CURDIR=$(pwd) | ||
export PATH=${PATH}:$(pwd)/vcx/ci/scripts | ||
cd vcx/libvcx/ | ||
echo "Updating Version in Cargo.toml file" | ||
cargo update-version | ||
cargo test --no-default-features --features "ci" -- --test-threads=1 | ||
echo "Updating Cargo" | ||
if [ "$1" != "--no-test" ]; then | ||
echo "Testing libvcx.so" | ||
cargo test --no-default-features --features "ci" -- --test-threads=1 | ||
fi | ||
echo "Building libvcx.so" | ||
cargo build --no-default-features --features "ci" | ||
echo "Updating libvcx.so File with Version" | ||
cargo update-so | ||
echo "Creating Libvcx Debian File" | ||
cargo deb --no-build | ||
echo "Moving Libvcx Debian File to Output Directory" | ||
cp target/debian/*.deb $CURDIR/$OUTPUTDIR | ||
|
||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.