Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
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
edx
configuration
Commits
052e4e33
Commit
052e4e33
authored
Jul 27, 2014
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update db-clone job to use create_dbs script.
parent
4e357da1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
util/vpc-tools/db-clone.py
+3
-2
No files found.
util/vpc-tools/db-clone.py
View file @
052e4e33
...
@@ -154,8 +154,9 @@ if __name__ == '__main__':
...
@@ -154,8 +154,9 @@ if __name__ == '__main__':
for
secret_var_file
in
args
.
secret_var_files
:
for
secret_var_file
in
args
.
secret_var_files
:
extra_args
+=
" -e@{}"
.
format
(
secret_var_file
)
extra_args
+=
" -e@{}"
.
format
(
secret_var_file
)
db_cmd
=
"""cd {play_path} && ansible-playbook -c local -i 127.0.0.1, update_edxapp_db_users.yml """
\
db_cmd
=
"""cd {play_path} && ansible-playbook -c local -i 127.0.0.1, create_dbs.yml """
\
"""{extra_args} -e "edxapp_db_root_user=root edxapp_db_root_pass={root_pass} """
\
"""{extra_args} -e "edxapp_db_root_user=root xqueue_db_root_user=root" """
\
""" -e "db_root_pass={root_pass}" """
\
"""EDXAPP_MYSQL_HOST={db_host}" """
.
format
(
"""EDXAPP_MYSQL_HOST={db_host}" """
.
format
(
root_pass
=
args
.
password
,
root_pass
=
args
.
password
,
extra_args
=
extra_args
,
extra_args
=
extra_args
,
...
...
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