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
5a394476
Unverified
Commit
5a394476
authored
6 years ago
by
Kevin Falcone
Committed by
GitHub
6 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4584 from edx/jibsheet/cleanup-unused-cd-playbooks
We removed use of these from GoCD a while ago
parents
1e58dc73
bd1997ff
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
80 deletions
+0
-80
playbooks/continuous_delivery/discovery_refresh_metadata.yml
+0
-40
playbooks/continuous_delivery/haystack_update_index.yml
+0
-40
No files found.
playbooks/continuous_delivery/discovery_refresh_metadata.yml
deleted
100644 → 0
View file @
1e58dc73
# This playbook will run the refresh_course_metadata management command. It is intended solely for usage with the
# Catalog/Course Discovery Service.
#
# Required variables for this playbook:
#
# - APPLICATION_PATH - the top-level path of the Django application; the application lives underneath
# this directory in a directory with the same name as APPLICATION_NAME.
# - APPLICATION_NAME - The name of the application that we are migrating.
# - APPLICATION_USER - user which is meant to run the application
# - HIPCHAT_TOKEN - API token to send messages to hipchat
# - HIPCHAT_ROOM - ID or name of the room to send the notification
# - HIPCHAT_URL - URL of the hipchat API (defaults to v1 of the api)
#
# Example command line to run this playbook:
# ansible-playbook -vvvv -i "localhost," -c local \
# -e @overrides.yml \
# discovery_refresh_metadata.yml
#
-
hosts
:
all
vars
:
HIPCHAT_URL
:
https://api.hipchat.com/v2/
COMMAND_PREFIX
:
"
.
{{
APPLICATION_PATH
}}/{{
APPLICATION_NAME
}}_env;
/edx/bin/python.{{
APPLICATION_NAME
}}
/edx/bin/manage.{{
APPLICATION_NAME
}}"
gather_facts
:
False
tasks
:
-
name
:
Refresh metadata
shell
:
'
{{
COMMAND_PREFIX
}}
refresh_course_metadata'
become_user
:
"
{{
APPLICATION_USER
}}"
-
name
:
Send Hipchat notification
hipchat
:
api
:
"
{{
HIPCHAT_URL
}}"
token
:
"
{{
HIPCHAT_TOKEN
}}"
room
:
"
{{
HIPCHAT_ROOM
}}"
msg
:
"
Catalog
metadata
has
been
refreshed."
ignore_errors
:
yes
when
:
HIPCHAT_TOKEN is defined
This diff is collapsed.
Click to expand it.
playbooks/continuous_delivery/haystack_update_index.yml
deleted
100644 → 0
View file @
1e58dc73
# This playbook will run the update_index management command. It is intended solely for usage by services using
# Haystack.
#
# Required variables for this playbook:
#
# - APPLICATION_PATH - the top-level path of the Django application; the application lives underneath
# this directory in a directory with the same name as APPLICATION_NAME.
# - APPLICATION_NAME - The name of the application that we are migrating.
# - APPLICATION_USER - user which is meant to run the application
# - HIPCHAT_TOKEN - API token to send messages to hipchat
# - HIPCHAT_ROOM - ID or name of the room to send the notification
# - HIPCHAT_URL - URL of the hipchat API (defaults to v1 of the api)
#
# Example command line to run this playbook:
# ansible-playbook -vvvv -i "localhost," -c local \
# -e @overrides.yml \
# update_index.yml
#
-
hosts
:
all
vars
:
HIPCHAT_URL
:
https://api.hipchat.com/v2/
COMMAND_PREFIX
:
"
.
{{
APPLICATION_PATH
}}/{{
APPLICATION_NAME
}}_env;
/edx/bin/python.{{
APPLICATION_NAME
}}
/edx/bin/manage.{{
APPLICATION_NAME
}}"
gather_facts
:
False
tasks
:
-
name
:
Update index
shell
:
'
{{
COMMAND_PREFIX
}}
update_index'
become_user
:
"
{{
APPLICATION_USER
}}"
-
name
:
Send Hipchat notification
hipchat
:
api
:
"
{{
HIPCHAT_URL
}}"
token
:
"
{{
HIPCHAT_TOKEN
}}"
room
:
"
{{
HIPCHAT_ROOM
}}"
msg
:
"
Search
index
updated."
ignore_errors
:
yes
when
:
HIPCHAT_TOKEN is defined
This diff is collapsed.
Click to expand it.
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