This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 734
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 #18 from hyperledger/master
Merging master from hyperledger
- Loading branch information
Showing
200 changed files
with
15,162 additions
and
2,145 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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
cargo-registry | ||
target | ||
build | ||
Cargo.lock | ||
.idea | ||
.venv | ||
.cache | ||
.DS_Store | ||
Podfile.lock | ||
|
||
Podfile.lock |
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
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,25 @@ | ||
#!/bin/bash | ||
|
||
if [ "$1" = "--help" ] ; then | ||
echo "Usage: $0 <commit> $1 <key>" | ||
fi | ||
|
||
commit="$1" | ||
key="$2" | ||
|
||
version=$(wget -q https://raw.githubusercontent.com/hyperledger/indy-sdk/$commit/Cargo.toml -O - | grep -E '^version =' | head -n1 | cut -f2 -d= | tr -d '" ') | ||
|
||
[ -z $version ] && exit 1 | ||
[ -z $commit ] && exit 2 | ||
[ -z $key ] && exit 3 | ||
|
||
dpkg-buildpackage | ||
|
||
cat <<EOF | sftp -v -oStrictHostKeyChecking=no -i $key repo@192.168.11.111 | ||
mkdir /var/repository/repos/deb/indy-sdk | ||
mkdir /var/repository/repos/deb/indy-sdk/$version | ||
cd /var/repository/repos/deb/indy-sdk/$version | ||
put -r /var/lib/jenkins/workspace/indy-sdk-dev_"$version"_amd64.deb | ||
put -r /var/lib/jenkins/workspace/indy-sdk_"$version"_amd64.deb | ||
ls -l /var/repository/repos/deb/indy-sdk/$version | ||
EOF |
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,21 @@ | ||
FROM ubuntu:16.04 | ||
|
||
ARG uid=1000 | ||
|
||
RUN apt-get update && apt-get install openjdk-8-jdk -y | ||
|
||
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64 | ||
|
||
RUN apt-get install -y \ | ||
maven \ | ||
gdebi \ | ||
apt-utils | ||
|
||
ADD https://repo.evernym.com/deb/indy-sdk/0.1.1/indy-sdk_0.1.1_amd64.deb . | ||
|
||
RUN gdebi -n indy-sdk_0.1.1_amd64.deb | ||
|
||
RUN useradd -ms /bin/bash -u $uid indy | ||
USER indy | ||
|
||
WORKDIR /home/indy |
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,28 @@ | ||
FROM ubuntu:16.04 | ||
|
||
ARG uid=1000 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
gdebi \ | ||
apt-utils \ | ||
software-properties-common | ||
|
||
RUN add-apt-repository ppa:jonathonf/python-3.6 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
python3.6 \ | ||
python3-pip | ||
|
||
ADD https://repo.evernym.com/deb/indy-sdk/0.1.1/indy-sdk_0.1.1_amd64.deb . | ||
|
||
RUN gdebi -n indy-sdk_0.1.1_amd64.deb | ||
|
||
RUN useradd -ms /bin/bash -u $uid indy | ||
USER indy | ||
|
||
WORKDIR /home/indy | ||
|
||
|
||
|
Oops, something went wrong.