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
OpenEdx
configuration
Commits
8228ade7
Commit
8228ade7
authored
Apr 29, 2015
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1974 from edx/feanil/connect_clone_bugfix
Feanil/connect clone bugfix
parents
9b524726
d0dbf3ec
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
playbooks/edx-east/connect_sandbox.yml
+1
-1
util/jenkins/ansible-provision.sh
+1
-2
util/jenkins/connect-sandbox-to-prod-clone.sh
+1
-1
No files found.
playbooks/edx-east/connect_sandbox.yml
View file @
8228ade7
...
...
@@ -36,5 +36,5 @@
-
name
:
call update on edx-platform
shell
:
>
/edx/bin/update edx-platform
master
/edx/bin/update edx-platform
{{ edxapp_version }}
tags
:
update_edxapp_mysql_host
util/jenkins/ansible-provision.sh
View file @
8228ade7
...
...
@@ -260,8 +260,7 @@ fi
# deploy the edx_ansible role
run_ansible edx_ansible.yml
-i
"
${
deploy_host
}
,"
$extra_var_arg
--user
ubuntu
cat
$extra_vars_file
|
grep
-v
"_version"
>
${
extra_vars_file
}
_clean
cat
${
extra_vars_file
}
_clean
cat
$extra_vars_file
|
grep
-v
-E
"_version|migrate_db"
| tee
${
extra_vars_file
}
_clean
ansible
-c
ssh
-i
"
${
deploy_host
}
,"
$deploy_host
-m
copy
-a
"src=
${
extra_vars_file
}
_clean dest=/edx/app/edx_ansible/server-vars.yml"
-u
ubuntu
-b
ret
=
$?
if
[[
$ret
-ne
0
]]
;
then
...
...
util/jenkins/connect-sandbox-to-prod-clone.sh
View file @
8228ade7
...
...
@@ -38,4 +38,4 @@ if [[ -z $sandbox_to_update ]]; then
fi
cd
$WORKSPACE
/configuration/playbooks/edx-east
ansible-playbook connect_sandbox.yml
-i
$sandbox_to_update
,
-e
@
${
WORKSPACE
}
/configuration-secure/ansible/vars/clone-db.yml
-e
EDXAPP_MYSQL_HOST
=
$EDXAPP_MYSQL_HOST
--user
ubuntu
-v
ansible-playbook connect_sandbox.yml
-i
$sandbox_to_update
,
-e
@
${
WORKSPACE
}
/configuration-secure/ansible/vars/clone-db.yml
-e
EDXAPP_MYSQL_HOST
=
$EDXAPP_MYSQL_HOST
-
e
edxapp_version
=
${
edxapp_version
}
-
-user
ubuntu
-v
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