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
54766b63
Commit
54766b63
authored
Oct 10, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
only change permissions when git checkout changes
parent
596b20cb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
playbooks/roles/edxapp/tasks/deploy.yml
+9
-2
No files found.
playbooks/roles/edxapp/tasks/deploy.yml
View file @
54766b63
...
...
@@ -27,6 +27,7 @@
# Do A Checkout
-
name
:
edxapp | checkout edx-platform repo into {{edx_platform_code_dir}}
git
:
dest={{edx_platform_code_dir}} repo={{edx_platform_repo}} version={{edx_platform_commit}}
register
:
edx_platform_checkout
tags
:
-
lms
-
cms
...
...
@@ -35,6 +36,7 @@
-
name
:
git clean after checking out edx-platform
shell
:
cd {{edx_platform_code_dir}} && git clean -xdf
when
:
edx_platform_checkout.changed
tags
:
-
lms
-
cms
...
...
@@ -68,6 +70,7 @@
file
:
path={{edx_platform_code_dir}} state=directory owner=www-data group=www-data recurse=yes
# Post Checkout tasks will get run as handlers when the {{ edx_platform_code_dir }} is ready.
# Look at the handlers/main.yml in this role for a description of the tasks stated below.
when
:
edx_platform_checkout.changed
tags
:
-
lms
-
cms
...
...
@@ -76,14 +79,18 @@
# Ruby plays that need to be run after platform updates.
-
name
:
gem | gem install bundler
shell
:
RBENV_ROOT={{ rbenv_root }} GEM_HOME={{ gem_home }} {{ rbenv_root }}/shims/gem install bundle chdir={{ edx_platform_code_dir }}
shell
:
>
RBENV_ROOT={{ rbenv_root }} GEM_HOME={{ gem_home }} {{ rbenv_root }}/shims/gem install bundle
chdir={{ edx_platform_code_dir }}
tags
:
-
ruby
-
deploy
-
install
-
name
:
bundle | bundle install
shell
:
RBENV_ROOT={{ rbenv_root }} GEM_HOME={{ gem_home }} {{ gem_home }}/bin/bundle install --binstubs chdir={{ edx_platform_code_dir }}
shell
:
>
RBENV_ROOT={{ rbenv_root }} GEM_HOME={{ gem_home }} {{ gem_home }}/bin/bundle install --binstubs
chdir={{ edx_platform_code_dir }}
tags
:
-
ruby
-
deploy
...
...
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