Skip to content

Commit

Permalink
[IN-15] Parametrized JSDK build process.
Browse files Browse the repository at this point in the history
Currently the JSDK CI jobs runs against fabric V1.0.0
and latest commits. This patch enables parametrize build
process to test with differnt combinations.

This patch set by default enables fabric 1.0.5 and JSDK
1.0.0

Change-Id: Ib06614f5420e773ce79ba9301bbcdecd409f18cc
Signed-off-by: Sambhav Nidamarty <sambhavdutt@gmail.com>
  • Loading branch information
sambhavdutt committed Jan 22, 2018
1 parent 25d8d39 commit 0efa9d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/cirun.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ ORG_HYPERLEDGER_FABRIC_SDKTEST_VERSION=${ORG_HYPERLEDGER_FABRIC_SDKTEST_VERSION:
if [ "$ORG_HYPERLEDGER_FABRIC_SDKTEST_VERSION" == "1.0.0" ]; then
export ORG_HYPERLEDGER_FABRIC_SDKTEST_ITSUITE="-Dorg.hyperledger.fabric.sdktest.ITSuite=IntegrationSuiteV1.java"
export V11_IDENTITIES_ALLOWREMOVE=""
export IMAGE_TAG_FABRIC=:x86_64-1.0.0
export IMAGE_TAG_FABRIC_CA=:x86_64-1.0.0
else
export ORG_HYPERLEDGER_FABRIC_SDKTEST_ITSUITE=""
export IMAGE_TAG_FABRIC=:latest
export IMAGE_TAG_FABRIC_CA=:latest
fi

cd $WD/src/test/fixture/sdkintegration
Expand Down

0 comments on commit 0efa9d3

Please sign in to comment.