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
f06372c4
Commit
f06372c4
authored
Jun 20, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding deploy tag
parent
9ee18e00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
playbooks/roles/xqueue/tasks/deploy.yml
+5
-0
No files found.
playbooks/roles/xqueue/tasks/deploy.yml
View file @
f06372c4
...
...
@@ -3,18 +3,21 @@
service
:
name=xqueue state=stopped
tags
:
-
xqueue
-
deploy
# Do A Checkout
-
name
:
git checkout xqueue repo into $app_base_dir
git
:
dest={{xqueue_code_dir}} repo={{xqueue.source_repo}} version={{xqueue.version}}
tags
:
-
xqueue
-
deploy
# Do Post Checkout Tasks.
-
name
:
create xqueue code dir
file
:
path={{xqueue_code_dir}} state=directory owner=www-data group=www-data mode=755
tags
:
-
xqueue
-
deploy
# TODO: Check git.py _run_if_changed() to see if the logic there to skip running certain
...
...
@@ -26,6 +29,7 @@
# Look at the handlers/main.yml in this role for a description of the tasks stated below.
tags
:
-
xqueue
-
deploy
# want deploy handlers to always run when deploy tag is specified, so move into a no op task
-
name
:
run deploy handlers
...
...
@@ -34,3 +38,4 @@
-
invoke all deploy handlers
tags
:
-
xqueue
-
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