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
e4a0ee50
Commit
e4a0ee50
authored
Oct 15, 2013
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove DNS logic into its own script.
parent
1abd2503
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
29 deletions
+0
-29
util/jenkins/create_stack.py
+0
-29
No files found.
util/jenkins/create_stack.py
View file @
e4a0ee50
...
...
@@ -58,32 +58,3 @@ def create_stack(stack_name, template, region='us-east-1', blocking=True):
create_stack
(
stack_name
,
template
,
region
)
print
(
'Stack({}) created.'
.
format
(
stack_name
))
#
## Create DNS for edxapp and xqueue.
#dns_settings = {
# 'edxapp' : [ 'courses', 'studio' ],
# 'xqueue' : [ 'xqueue' ],
# 'rabbit' : [ 'rabbit' ],
# 'xserver' : [ 'xserver' ],
# 'worker' : [ 'worker' ],
#}
#
## Create a zone for the stack.
#zone_name = "{}.vpc.edx.org".format(stack_name)
#
##TODO Make this a function instead of a class method.
#zone = get_or_create_hosted_zone(zone_name)
#
#elbs = boto.connect_elb()
#
##TODO Implement this.
#stack_elbs = elbs_for_stack_name(stack_name)
#for elb in stack_elbs:
# for service, dns_prefixes in dns_settings.items():
# if service in elb.dns_name.lower():
# for prefix in dns_prefixes:
# # TODO: Make this function.
# create_service_dns(elb, prefix, zone_name)
#
#
#
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