Commit 7845dd4a authored by dgasull's avatar dgasull

Released new elastic-dataClay 1.4 + Changed demos accordingly

parent 08bcbcf3
/.project
**/stubs/
**/stubs.jar
*.iml
FROM bscdataclay/client:2.4
FROM bscdataclay/client:2.5.dev-alpine
LABEL maintainer dataClay team <support-dataclay@bsc.es>
# Prepare environment
......
......@@ -12,11 +12,15 @@ function printMsg {
}
printMsg "Get stubs"
rm -rf $PWD/stubs
mkdir -p $PWD/stubs/
ID=$(docker create dataclay-elastic-model)
docker cp $ID:/elastic/stubs $PWD
docker rm $ID
USER=ElasticUser
PASS=ElasticPass
NAMESPACE=ElasticNS
STUBSPATH=/elastic/stubs
docker run --rm --network=dataclay_default \
-v $PWD/cfgfiles/:/home/dataclayusr/dataclay/cfgfiles/:ro \
-v $PWD/stubs:/elastic/stubs:rw \
bscdataclay/client:2.5.dev-alpine GetStubs ${USER} ${PASS} ${NAMESPACE} ${STUBSPATH}
echo "$blu
Stubs stored at $PWD/stubs/ directory
......
......@@ -19,8 +19,8 @@ docker-compose up -d
popd
# wait for dataClay to be alive
docker run --network=dataclay_default -v $PWD/cfgfiles/:/home/dataclayusr/dataclay/cfgfiles/:ro \
bscdataclay/client:2.4 WaitForDataClayToBeAlive 10 5
docker run --rm --network=dataclay_default -v $PWD/cfgfiles/:/home/dataclayusr/dataclay/cfgfiles/:ro \
bscdataclay/client:2.5.dev-alpine WaitForDataClayToBeAlive 10 5
printMsg "dataClay successfully started!"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment