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
7a639872
Commit
7a639872
authored
Feb 01, 2017
by
George Song
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflict in discovery role
parent
1af47b7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
30 deletions
+19
-30
playbooks/roles/discovery/tasks/main.yml
+19
-30
No files found.
playbooks/roles/discovery/tasks/main.yml
View file @
7a639872
...
...
@@ -56,64 +56,54 @@
-
install
-
install:system-requirements
-
name
:
install application requirements
command
:
make production-requirements
args
:
chdir
:
"
{{
discovery_code_dir
}}"
-
name
:
install nodenv
pip
:
name
:
"
nodeenv"
version
:
"
1.1.0"
# NOTE (CCB): Using the "virtualenv" option here doesn't seem to work.
executable
:
"
{{
discovery_venv_dir
}}/bin/pip"
become_user
:
"
{{
discovery_user
}}"
environment
:
"
{{
discovery_environment
}}"
tags
:
-
install
-
install:app-requirements
-
name
:
install development requirements
command
:
make requirements
args
:
chdir
:
"
{{
discovery_code_dir
}}"
become_user
:
"
{{
discovery_user
}}"
environment
:
"
{{
discovery_environment
}}"
tags
:
-
devstack
-
devstack:install
-
install:system-requirements
# See https://github.com/ekalinin/nodeenv/issues/182
# This can be removed once https://github.com/ekalinin/nodeenv/pull/183 is merged
-
name
:
R
emove nodeenv src
-
name
:
r
emove nodeenv src
file
:
path
:
"
{{
discovery_nodeenv_dir
}}/src"
state
:
absent
become_user
:
"
{{
discovery_user
}}"
tags
:
-
install
-
install:
app
-requirements
-
install:
system
-requirements
-
name
:
create nodeenv
shell
:
"
{{
discovery_venv_dir
}}/bin/nodeenv
{{
discovery_nodeenv_dir
}}
--node={{
discovery_node_version
}}
--prebuilt
--force"
become_user
:
"
{{
discovery_user
}}"
tags
:
-
install
-
install:
app
-requirements
-
install:
system
-requirements
-
name
:
install node dependencies
npm
:
executable
:
"
{{
discovery_nodeenv_bin
}}/npm"
path
:
"
{{
discovery_code_dir
}}"
production
:
yes
state
:
latest
-
name
:
install application requirements
command
:
make production-requirements
args
:
chdir
:
"
{{
discovery_code_dir
}}"
become_user
:
"
{{
discovery_user
}}"
environment
:
"
{{
discovery_environment
}}"
tags
:
-
install
-
install:app-requirements
-
name
:
install
bower dependencie
s
shell
:
"
.
{{
discovery_nodeenv_bin
}}/activate
&&
{{
discovery_node_bin
}}/bower
install
--production
--config.interactive=false"
-
name
:
install
development requirement
s
command
:
make requirements
args
:
chdir
:
"
{{
discovery_code_dir
}}"
become_user
:
"
{{
discovery_user
}}"
environment
:
"
{{
discovery_environment
}}"
tags
:
-
install
-
install:app-requirements
-
devstack
-
devstack:install
-
name
:
migrate database
command
:
make migrate
...
...
@@ -257,4 +247,3 @@
tags
:
-
install
-
install:vhosts
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