0001-cook-wait-for-secondary-hobo-to-be-deployed-33653.patch
hobo/environment/management/commands/cook.py | ||
---|---|---|
124 | 124 |
slug = 'hobo-%s' % slugify(title) |
125 | 125 |
self.create_site(Hobo, url, title, slug, |
126 | 126 |
template_name='', variables=None) |
127 |
# deploy and wait for new site |
|
128 |
notify_agents(None) |
|
129 |
self.wait_operationals(timeout=self.timeout) |
|
130 |
# switch context to new hobo |
|
127 | 131 |
domain = get_domain(url) |
128 | 132 |
tenant = TenantMiddleware.get_tenant_by_hostname(domain) |
129 | 133 |
connection.set_tenant(tenant) |
130 |
- |