Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
nfrtool-dataclay-model
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ELASTIC-H2020
ELASTIC-SA
NFR-Tool
nfrtool-dataclay-model
Commits
7845dd4a
Commit
7845dd4a
authored
Oct 15, 2020
by
dgasull
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Released new elastic-dataClay 1.4 + Changed demos accordingly
parent
08bcbcf3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
8 deletions
+13
-8
.gitignore
.gitignore
+1
-0
Dockerfile
Dockerfile
+1
-1
get_stubs.sh
get_stubs.sh
+9
-5
start_dataclay.sh
start_dataclay.sh
+2
-2
No files found.
.gitignore
View file @
7845dd4a
/.project
**/stubs/
**/stubs.jar
*.iml
Dockerfile
View file @
7845dd4a
FROM
bscdataclay/client:2.
4
FROM
bscdataclay/client:2.
5.dev-alpine
LABEL
maintainer dataClay team <support-dataclay@bsc.es>
# Prepare environment
...
...
get_stubs.sh
View file @
7845dd4a
...
...
@@ -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
...
...
start_dataclay.sh
View file @
7845dd4a
...
...
@@ -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!"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment