зеркало из https://github.com/SteeltoeOSS/Samples.git
wait longer between service status checks
let RMQ instance persist let buildpack set start command
This commit is contained in:
Родитель
8963812958
Коммит
1773524c34
|
@ -4,7 +4,6 @@ applications:
|
|||
buildpacks:
|
||||
- dotnet_core_buildpack
|
||||
memory: 256M
|
||||
command: cd ${HOME} && ./MySql
|
||||
env:
|
||||
ASPNETCORE_ENVIRONMENT: Development
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT: "true"
|
||||
|
|
|
@ -4,7 +4,6 @@ applications:
|
|||
buildpacks:
|
||||
- dotnet_core_buildpack
|
||||
memory: 256M
|
||||
command: cd ${HOME} && ./MySqlEFCore
|
||||
env:
|
||||
ASPNETCORE_ENVIRONMENT: Production
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT: "true"
|
||||
|
|
|
@ -13,5 +13,5 @@ def setup(context):
|
|||
service = 'p.rabbitmq'
|
||||
plan = 'single-node'
|
||||
instance = 'myRabbitMQService'
|
||||
cf.delete_service(instance)
|
||||
#cf.delete_service(instance)
|
||||
cf.create_service(service, plan, instance)
|
||||
|
|
|
@ -89,7 +89,7 @@ class CloudFoundry(object):
|
|||
self._context.log.info('service instance "{}" status not yet available'.format(service_instance))
|
||||
else:
|
||||
self._context.log.info('service instance "{}" status: "{}"'.format(service_instance, status))
|
||||
time.sleep(1)
|
||||
time.sleep(5)
|
||||
|
||||
def create_user_provided_service(self, service_instance, credentials=None):
|
||||
"""
|
||||
|
|
Загрузка…
Ссылка в новой задаче