diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-21 16:33:15 +0800 |
---|---|---|
committer | Jimmy Hu <jimmy.hu@dexon.org> | 2018-12-01 00:59:11 +0800 |
commit | 366fa976672a0ae6f9c082c2e5740d670b0b6a91 (patch) | |
tree | 8403be826db0a2bfbd7f91f0bceffd6a10385f5e /scripts | |
parent | f18a34548cd3910ddfca1bde27f56ebfdcdbaab5 (diff) | |
download | dexon-solidity-0.5.0.tar dexon-solidity-0.5.0.tar.gz dexon-solidity-0.5.0.tar.bz2 dexon-solidity-0.5.0.tar.lz dexon-solidity-0.5.0.tar.xz dexon-solidity-0.5.0.tar.zst dexon-solidity-0.5.0.zip |
Update CI settingsv0.5.0
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/bytecodecompare/deploy_key.enc | bin | 1680 -> 1680 bytes | |||
-rwxr-xr-x | scripts/bytecodecompare/storebytecode.sh | 12 | ||||
-rwxr-xr-x | scripts/docker_build.sh | 4 | ||||
-rwxr-xr-x | scripts/docker_deploy.sh | 16 | ||||
-rw-r--r-- | scripts/travis-emscripten/deploy_key.enc | bin | 1680 -> 1680 bytes | |||
-rwxr-xr-x | scripts/travis-emscripten/publish_binary.sh | 6 |
6 files changed, 19 insertions, 19 deletions
diff --git a/scripts/bytecodecompare/deploy_key.enc b/scripts/bytecodecompare/deploy_key.enc Binary files differindex acab2a27..6eddd601 100644 --- a/scripts/bytecodecompare/deploy_key.enc +++ b/scripts/bytecodecompare/deploy_key.enc diff --git a/scripts/bytecodecompare/storebytecode.sh b/scripts/bytecodecompare/storebytecode.sh index ccf6e60e..cca7d0bb 100755 --- a/scripts/bytecodecompare/storebytecode.sh +++ b/scripts/bytecodecompare/storebytecode.sh @@ -3,8 +3,8 @@ #------------------------------------------------------------------------------ # Script used for cross-platform comparison as part of the travis automation. # Splits all test source code into multiple files, generates bytecode and -# uploads the bytecode into github.com/ethereum/solidity-test-bytecode where -# another travis job is triggered to do the actual comparison. +# uploads the bytecode into github.com/dexon-foundation/solidity-test-bytecode +# where another travis job is triggered to do the actual comparison. # # ------------------------------------------------------------------------------ # This file is part of solidity. @@ -92,15 +92,15 @@ EOF if [ "$TRAVIS_SECURE_ENV_VARS" = "true" ] then - openssl aes-256-cbc -K $encrypted_60701c962b9c_key -iv $encrypted_60701c962b9c_iv -in "$REPO_ROOT"/scripts/bytecodecompare/deploy_key.enc -out deploy_key -d + openssl aes-256-cbc -K $encrypted_671c80db_key -iv $encrypted_671c80db_iv -in "$REPO_ROOT"/scripts/bytecodecompare/deploy_key.enc -out deploy_key -d chmod 600 deploy_key eval `ssh-agent -s` ssh-add deploy_key - git clone --depth 2 git@github.com:ethereum/solidity-test-bytecode.git + git clone --depth 2 git@github.com:dexon-foundation/solidity-test-bytecode.git cd solidity-test-bytecode - git config user.name "travis" - git config user.email "chris@ethereum.org" + git config user.name "Travis CI" + git config user.email "dev@dexon.org" git clean -f -d -x DIRNAME=$(cd "$REPO_ROOT" && git show -s --format="%cd-%H" --date=short) diff --git a/scripts/docker_build.sh b/scripts/docker_build.sh index 22657a8c..b179359f 100755 --- a/scripts/docker_build.sh +++ b/scripts/docker_build.sh @@ -2,7 +2,7 @@ set -e -docker build -t ethereum/solc:build -f scripts/Dockerfile . -tmp_container=$(docker create ethereum/solc:build sh) +docker build -t dexonfoundation/dsolc:build -f scripts/Dockerfile . +tmp_container=$(docker create dexonfoundation/dsolc:build sh) mkdir -p upload docker cp ${tmp_container}:/usr/bin/solc upload/solc-static-linux diff --git a/scripts/docker_deploy.sh b/scripts/docker_deploy.sh index 00705725..c8a3c28e 100755 --- a/scripts/docker_deploy.sh +++ b/scripts/docker_deploy.sh @@ -6,16 +6,16 @@ docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; version=$($(dirname "$0")/get_version.sh) if [ "$TRAVIS_BRANCH" = "develop" ] then - docker tag ethereum/solc:build ethereum/solc:nightly; - docker tag ethereum/solc:build ethereum/solc:nightly-"$version"-"$TRAVIS_COMMIT" - docker push ethereum/solc:nightly-"$version"-"$TRAVIS_COMMIT"; - docker push ethereum/solc:nightly; + docker tag dexonfoundation/dsolc:build dexonfoundation/dsolc:nightly; + docker tag dexonfoundation/dsolc:build dexonfoundation/dsolc:nightly-"$version"-"$TRAVIS_COMMIT" + docker push dexonfoundation/dsolc:nightly-"$version"-"$TRAVIS_COMMIT"; + docker push dexonfoundation/dsolc:nightly; elif [ "$TRAVIS_TAG" = v"$version" ] then - docker tag ethereum/solc:build ethereum/solc:stable; - docker tag ethereum/solc:build ethereum/solc:"$version"; - docker push ethereum/solc:stable; - docker push ethereum/solc:"$version"; + docker tag dexonfoundation/dsolc:build dexonfoundation/dsolc:stable; + docker tag dexonfoundation/dsolc:build dexonfoundation/dsolc:"$version"; + docker push dexonfoundation/dsolc:stable; + docker push dexonfoundation/dsolc:"$version"; else echo "Not publishing docker image from branch $TRAVIS_BRANCH or tag $TRAVIS_TAG" fi diff --git a/scripts/travis-emscripten/deploy_key.enc b/scripts/travis-emscripten/deploy_key.enc Binary files differindex e6e9e0e6..6eddd601 100644 --- a/scripts/travis-emscripten/deploy_key.enc +++ b/scripts/travis-emscripten/deploy_key.enc diff --git a/scripts/travis-emscripten/publish_binary.sh b/scripts/travis-emscripten/publish_binary.sh index dd23330b..a5f49af6 100755 --- a/scripts/travis-emscripten/publish_binary.sh +++ b/scripts/travis-emscripten/publish_binary.sh @@ -28,7 +28,7 @@ # (c) 2016 solidity contributors. #------------------------------------------------------------------------------ -set -e +set -x VER=$(cat CMakeLists.txt | grep 'set(PROJECT_VERSION' | sed -e 's/.*set(PROJECT_VERSION "\(.*\)".*/\1/') test -n "$VER" @@ -50,8 +50,8 @@ ssh-add deploy_key git clone --depth 2 git@github.com:dexon-foundation/dsolc-bin.git cd dsolc-bin -git config user.name "Jimmy Hu" -git config user.email "jimmy.hu@dexon.org" +git config user.name "Travis CI" +git config user.email "dev@dexon.org" git checkout -B gh-pages origin/gh-pages git clean -f -d -x |