initial cleanup (#11542)

* cleanup

* upbork

* review grumble: rename client id prefix

* rpc-tests: make one of the clients open-ethereum

* fix doctest

* README: mention clang version and that our wiki is old
This commit is contained in:
Andronik Ordian
2020-03-09 15:07:15 +01:00
committed by GitHub
parent c190092750
commit 10d82ef119
79 changed files with 340 additions and 863 deletions

View File

@@ -7,7 +7,7 @@
Builds a lightweight non-root Parity docker image:
```
git clone https://github.com/OpenEthereum/open-ethereum.git
cd parity-ethereum
cd open-ethereum
./scripts/docker/centos/build.sh
```

View File

@@ -2,7 +2,7 @@ FROM centos:latest
WORKDIR /build
ADD . /build/parity-ethereum
ADD . /build/open-ethereum
RUN yum -y update && \
yum install -y systemd-devel git make gcc-c++ gcc file binutils && \
@@ -17,9 +17,9 @@ RUN yum -y update && \
gcc -v && \
g++ -v && \
cmake --version && \
cd parity-ethereum && \
cd open-ethereum && \
cargo build --verbose --release --features final && \
strip /build/parity-ethereum/target/release/parity && \
file /build/parity-ethereum/target/release/parity
strip /build/open-ethereum/target/release/parity && \
file /build/open-ethereum/target/release/parity

View File

@@ -13,7 +13,7 @@ docker build --no-cache -t $PARITY_IMAGE_REPO:$PARITY_BUILDER_IMAGE_TAG-$(git lo
echo Creating $PARITY_BUILDER_IMAGE_TAG-$(git log -1 --format="%H"), extracting binary
docker create --name extract $PARITY_IMAGE_REPO:$PARITY_BUILDER_IMAGE_TAG-$(git log -1 --format="%H")
mkdir scripts/docker/centos/parity
docker cp extract:/build/parity-ethereum/target/release/parity scripts/docker/centos/parity
docker cp extract:/build/open-ethereum/target/release/parity scripts/docker/centos/parity
echo Building $PARITY_IMAGE_REPO:$PARITY_RUNNER_IMAGE_TAG
docker build --no-cache -t $PARITY_IMAGE_REPO:$PARITY_RUNNER_IMAGE_TAG scripts/docker/centos/ -f scripts/docker/centos/Dockerfile

View File

@@ -7,7 +7,7 @@ ARG BUILD_DATE
LABEL io.parity.image.authors="devops-team@parity.io" \
io.parity.image.vendor="Parity Technologies" \
io.parity.image.title="parity/parity" \
io.parity.image.description="Parity Ethereum. The Fastest and most Advanced Ethereum Client." \
io.parity.image.description="Open Ethereum. The Fastest and most Advanced Ethereum Client." \
io.parity.image.source="https://github.com/OpenEthereum/open-ethereum/blob/${VCS_REF}/\
scripts/docker/hub/Dockerfile" \
io.parity.image.documentation="https://wiki.parity.io/Parity-Ethereum" \
@@ -33,7 +33,7 @@ RUN set -eux; \
WORKDIR /home/parity
# add parity-ethereum binary to docker image
# add open-ethereum binary to docker image
COPY artifacts/x86_64-unknown-linux-gnu/parity /bin/parity
COPY tools/check_sync.sh /check_sync.sh

View File

@@ -4,8 +4,8 @@ set -e # fail on any error
VERSION=$(cat ./tools/VERSION)
TRACK=$(cat ./tools/TRACK)
echo "Parity Ethereum version = ${VERSION}"
echo "Parity Ethereum track = ${TRACK}"
echo "Open Ethereum version = ${VERSION}"
echo "Open Ethereum track = ${TRACK}"
test "$Docker_Hub_User_Parity" -a "$Docker_Hub_Pass_Parity" \
|| ( echo "no docker credentials provided"; exit 1 )