Skip to content

Commit 521ca22

Browse files
committed
Remove references to preview.
Preview was migrated to integration on 2015-12-30
1 parent c74c7e1 commit 521ca22

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

fabfile.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -256,14 +256,6 @@ def integration():
256256
_set_gateway('integration.publishing.service.gov.uk')
257257

258258

259-
# FIXME: Remove once Preview environment is deleted
260-
@task
261-
def preview():
262-
"""Select preview environment"""
263-
env['environment'] = 'preview'
264-
_set_gateway('preview.alphagov.co.uk')
265-
266-
267259
@task
268260
def all():
269261
"""Select all machines in current environment"""

nagios.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ def _monitoring_hostname(host):
1616
"""Returns the canonical name (according to our monitoring) for a host"""
1717
if env['environment'] == 'production':
1818
return "{0}.publishing.service.gov.uk".format(host)
19-
elif env['environment'] == 'preview': # FIXME: Remove once Preview is deleted
20-
return "%s.production" % host
2119
else:
2220
return "{0}.{1}.publishing.service.gov.uk".format(host, env['environment'])
2321

0 commit comments

Comments
 (0)