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
1819cdce
Commit
1819cdce
authored
Jun 20, 2013
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pull in 6.00x using git ssh.
parent
eb9eb489
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
20 deletions
+24
-20
playbooks/roles/common/files/git_ssh.sh
+2
-0
playbooks/roles/common/tasks/main.yml
+18
-0
playbooks/roles/edxapp/tasks/main.yml
+0
-18
playbooks/roles/xserver/tasks/deploy.yml
+2
-0
playbooks/roles/xserver/vars/main.yml
+2
-2
No files found.
playbooks/roles/common/files/git_ssh.sh
0 → 100644
View file @
1819cdce
#!/bin/sh
exec
/usr/bin/ssh
-o
StrictHostKeyChecking
=
no
-i
/etc/git-identity
"
$@
"
playbooks/roles/common/tasks/main.yml
View file @
1819cdce
...
...
@@ -78,6 +78,24 @@
-
logging
-
update
# Install ssh keys for ubuntu account to be able to check out from edx-platform
# Temprory behavior, not needed after June 1. Perhaps still useful as a recipe.
# {{ secure_dir }} is relative to the top-level playbooks dir so there is some
-
name
:
install read-only ssh key for edx-platform repo (private)
copy
:
src={{ secure_dir }}/files/git-identity dest=/etc/git-identity force=yes owner=ubuntu group=adm mode=600
tags
:
-
lms
-
cms
-
update
-
name
:
upload ssh script
copy
:
src=git_ssh.sh dest=/tmp/git_ssh.sh force=yes owner=root group=adm mode=750
tags
:
-
lms
-
cms
-
update
-
include
:
create_venv.yml
-
include
:
edx_logging_base.yml
...
...
playbooks/roles/edxapp/tasks/main.yml
View file @
1819cdce
...
...
@@ -28,24 +28,6 @@
-
lms-env
-
update
# Install ssh keys for ubuntu account to be able to check out from edx-platform
# Temprory behavior, not needed after June 1. Perhaps still useful as a recipe.
# {{ secure_dir }} is relative to the top-level playbooks dir so there is some
-
name
:
install read-only ssh key for edx-platform repo (private)
copy
:
src={{ secure_dir }}/files/git-identity dest=/etc/git-identity force=yes owner=ubuntu group=adm mode=600
tags
:
-
lms
-
cms
-
update
-
name
:
upload ssh script
copy
:
src=git_ssh.sh dest=/tmp/git_ssh.sh force=yes owner=root group=adm mode=750
tags
:
-
lms
-
cms
-
update
-
name
:
install a bunch of system packages on which LMS and CMS rely
apt
:
pkg={{item}} state=present
with_items
:
lms_debian_pkgs
...
...
playbooks/roles/xserver/tasks/deploy.yml
View file @
1819cdce
...
...
@@ -25,6 +25,8 @@
-
name
:
checkout grader code
git
:
dest={{ xserver_grader_dir }} repo={{ xserver_grader_source }} version={{ xserver_grader_version }}
environment
:
GIT_SSH
:
/tmp/git_ssh.sh
tags
:
-
deploy
...
...
playbooks/roles/xserver/vars/main.yml
View file @
1819cdce
...
...
@@ -8,8 +8,8 @@ xserver_source_repo: "git://github.com/edx/xserver.git"
# with the default pointing to the head of master.
xserver_version
:
HEAD
xserver_grader_dir
:
"
{{
app_base_dir
}}/data/content-mit-600x~2012_Fall
/graders
"
xserver_grader_source
:
"
git
://github.com
/MITx/6.00x.git"
xserver_grader_dir
:
"
{{
app_base_dir
}}/data/content-mit-600x~2012_Fall"
xserver_grader_source
:
"
git
@github.com:
/MITx/6.00x.git"
xserver_grader_version
:
HEAD
xserver_sandbox_venv_dir
:
"
{{
venv_dir
}}_apparmor_sandbox"
...
...
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