Skip to content

Commit

Permalink
Check for deployment overview being present
Browse files Browse the repository at this point in the history
Sometimes CodeDeploy returns as "InProgress" but there's no overview to present.
  • Loading branch information
pixeltrix committed Feb 23, 2024
1 parent af46518 commit 97ebb3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/package_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,8 @@ def deployment_complete(deployment, &block)
end

def deployment_progress(deployment)
return unless deployment.deployment_overview

id = deployment.deployment_id
created_at = deployment.create_time
duration = Time.current - created_at
Expand Down

0 comments on commit 97ebb3c

Please sign in to comment.