Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pub
node config generator
Commits
60cf8e2a
Commit
60cf8e2a
authored
Sep 10, 2019
by
Sergey Shiktarev
Browse files
fix jcp source
parent
afd3bcdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
launcher.py
View file @
60cf8e2a
...
...
@@ -67,16 +67,13 @@ if __name__=="__main__":
print
(
"Setting --existing-genesis to no, because there are no file "
+
'{}/genesis_backup.conf'
.
format
(
get_current_path
()))
options
.
use_existing_genesis
=
'no'
src_dir
=
"../../../lib"
jcp_name
=
"jcp-2.0.39014.tar.gz"
src_jcp
=
"{}/{}"
.
format
(
src_dir
,
jcp_name
)
dst_jcp
=
"./tmp/"
if
not
os
.
path
.
exists
(
dst_jcp
):
os
.
mkdir
(
dst_jcp
)
if
os
.
path
.
exists
(
dst_jcp
):
shutil
.
rmtree
(
dst_jcp
)
os
.
mkdir
(
dst_jcp
)
copyfile
(
src_jcp
,
"{}/{}"
.
format
(
dst_jcp
,
jcp_name
))
urllib
.
request
.
urlretrieve
(
'https://artifacts.vostokservices.com/repository/fileshare/node_build/jcp-2.0.39014.zip'
,
"{}/{}"
.
format
(
dst_jcp
,
jcp_name
))
build_image_cmd
=
[
docker
,
'build'
,
'-t'
,
'node_config_generator'
,
'.'
]
subprocess
.
run
(
build_image_cmd
)
...
...
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