-
Notifications
You must be signed in to change notification settings - Fork 11
Expose ServiceTerraformTemplate#execute without wait #99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
# this is essentially launch_terraform_template_queue | ||
# | ||
# @returns [Numeric] task_id (passed into wait_for_taskid) | ||
def execute_no_wait(action) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In automate we use refresh_sync
and I know we don't want to rename this execute_sync
since it is used in a bunch of places but what about execute_async
?
Just a dumb naming question otherwise can't wait to get rid of the synchronous execute ❤️ |
Moving the wait_on_task into workflows - don't want to block this here
update:
|
s.add_resource!(stack1, :name => ResourceAction::PROVISION) | ||
case action | ||
when ResourceAction::RECONFIGURE | ||
s.add_resource!(stack2, :name => ResourceAction::RECONFIGURE) | ||
when ResourceAction::RETIREMENT | ||
s.add_resource!(stack2, :name => ResourceAction::RECONFIGURE) | ||
s.add_resource!(stack3, :name => ResourceAction::RETIREMENT) | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need these stacks to be added as resources for anything that is being tested here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One question but nothing to hold this up
Moving the wait_on_task into workflows - don't want to block this here
This has been split into an async and a blocking version.