Skip to content

Commit

Permalink
Update stack.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
kartiki975 committed Mar 19, 2024
1 parent 0834c0b commit a1aa436
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/shipit/stack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,14 @@ def trigger_task(definition_id, user, env: nil, force: false)
task
end

def build_deploy(until_commit, user, env: nil, force: false)
def build_deploy(until_commit, user, env: nil, force: false, allow_concurrency: false)
since_commit = last_deployed_commit.presence || commits.first
deploys.build(
user_id: user.id,
until_commit: until_commit,
since_commit: since_commit,
env: filter_deploy_envs(env&.to_h || {}),
allow_concurrency: force,
allow_concurrency: allow_concurrency,
ignored_safeties: force || !until_commit.deployable?,
max_retries: retries_on_deploy,
)
Expand Down

0 comments on commit a1aa436

Please sign in to comment.