File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -256,14 +256,6 @@ def integration():
256
256
_set_gateway ('integration.publishing.service.gov.uk' )
257
257
258
258
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
-
267
259
@task
268
260
def all ():
269
261
"""Select all machines in current environment"""
Original file line number Diff line number Diff line change @@ -16,8 +16,6 @@ def _monitoring_hostname(host):
16
16
"""Returns the canonical name (according to our monitoring) for a host"""
17
17
if env ['environment' ] == 'production' :
18
18
return "{0}.publishing.service.gov.uk" .format (host )
19
- elif env ['environment' ] == 'preview' : # FIXME: Remove once Preview is deleted
20
- return "%s.production" % host
21
19
else :
22
20
return "{0}.{1}.publishing.service.gov.uk" .format (host , env ['environment' ])
23
21
You can’t perform that action at this time.
0 commit comments