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
21c24e8b
Commit
21c24e8b
authored
Aug 17, 2016
by
Feanil Patel
Committed by
GitHub
Aug 17, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3269 from edx/feanil/dont_bin_update_devstack
Don't install `/edx/bin/update` on devstacks.
parents
c0f91f02
4f6a5d72
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
9 deletions
+24
-9
playbooks/roles/edx_ansible/tasks/deploy.yml
+24
-4
vagrant/release/devstack/Vagrantfile
+0
-5
No files found.
playbooks/roles/edx_ansible/tasks/deploy.yml
View file @
21c24e8b
...
...
@@ -22,7 +22,29 @@
-
install
-
install:app-requirements
-
name
:
Create update and show-repo-heads script
-
name
:
Create update script
template
:
dest
:
"
{{
edx_ansible_app_dir}}/update"
src
:
"
update.j2"
owner
:
"
{{
edx_ansible_user
}}"
group
:
"
{{
edx_ansible_user
}}"
mode
:
"
0755"
when
:
devstack is not defined or not devstack
tags
:
-
install
-
install:configuration
-
name
:
Create symlinks for update script
file
:
src
:
"
{{
edx_ansible_app_dir
}}/update"
dest
:
"
{{
COMMON_BIN_DIR
}}/update"
state
:
link
when
:
devstack is not defined or not devstack
tags
:
-
install
-
install:configuration
-
name
:
Create utility scripts
template
:
dest
:
"
{{
edx_ansible_app_dir}}/{{
item.dest
}}"
src
:
"
{{
item.src
}}"
...
...
@@ -30,19 +52,17 @@
group
:
"
{{
edx_ansible_user
}}"
mode
:
"
0755"
with_items
:
-
{
src
:
'
update.j2'
,
dest
:
'
update'
}
-
{
src
:
'
show-repo-heads.j2'
,
dest
:
'
show-repo-heads'
}
tags
:
-
install
-
install:configuration
-
name
:
Create symlinks for u
pdate and show-repo-heads
scripts
-
name
:
Create symlinks for u
tility
scripts
file
:
src
:
"
{{
edx_ansible_app_dir
}}/{{
item
}}"
dest
:
"
{{
COMMON_BIN_DIR
}}/{{
item
}}"
state
:
link
with_items
:
-
update
-
show-repo-heads
tags
:
-
install
...
...
vagrant/release/devstack/Vagrantfile
View file @
21c24e8b
...
...
@@ -26,11 +26,6 @@ if [ -n "$OPENEDX_RELEASE" ]; then
-e xqueue_version=$OPENEDX_RELEASE \
"
CONFIG_VER=$OPENEDX_RELEASE
# Need to ensure that the configuration repo is updated
# The vagrant-devstack.yml playbook will also do this, but only
# after loading the playbooks into memory. If these are out of date,
# this can cause problems (e.g. looking for templates that no longer exist).
/edx/bin/update configuration $CONFIG_VER
else
CONFIG_VER="master"
fi
...
...
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