Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
6b74d64a
Unverified
Commit
6b74d64a
authored
Feb 17, 2020
by
kladko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-2077 Fixed Naming
parent
b07a72b0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
Dockerfile
Dockerfile
+1
-1
docker_test.py
scripts/docker_test.py
+4
-2
No files found.
Dockerfile
View file @
6b74d64a
...
...
@@ -33,6 +33,6 @@ RUN ./configure
RUN
make
RUN
mkdir
/usr/src/sdk/sgx_data
RUN
pip
install
executor
COPY
docker/start.sh ./
ENTRYPOINT
["/usr/src/sdk/start.sh"]
scripts/docker_test.py
View file @
6b74d64a
...
...
@@ -23,6 +23,8 @@
#
import
sys
,
os
,
subprocess
,
socket
,
time
from
executor
import
execute
os
.
chdir
(
".."
)
topDir
=
os
.
getcwd
()
+
"/sgxwallet"
print
(
"Starting build push"
)
...
...
@@ -44,8 +46,8 @@ print("Running tests for branch " + BRANCH);
assert
subprocess
.
call
([
"docker"
,
"image"
,
"inspect"
,
FULL_IMAGE_NAME
])
==
0
;
assert
subprocess
.
call
([
"docker"
,
"run"
,
"-v"
,
topDir
+
"/sgx_data:/usr/src/sdk/sgx_data"
,
"-ti"
,
"--name"
,
"sgxwallet"
,
"--network=host"
,
"skalenetwork/"
+
IMAGE_NAME
+
":"
+
TAG_POSTFIX
,
"-t"
]
)
==
0
assert
execute
(
"docker run -ti -v "
+
topDir
+
"/sgx_data:/usr/src/sdk/sgx_data"
+
" --name sgxwallet --network=host skalenetwork/"
+
IMAGE_NAME
+
":"
+
TAG_POSTFIX
+
" -t"
)
==
0
assert
subprocess
.
call
([
"docker"
,
"kill"
,
"sgxwallet"
])
==
0
assert
subprocess
.
call
([
"docker"
,
"rm"
,
"sgxwallet"
])
==
0
...
...
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