Skip to content

Commit

Permalink
refactor: add previosVersionDockerImageTag to connector rollout start…
Browse files Browse the repository at this point in the history
… input (#14632)

Co-authored-by: Pedro S. Lopez <[email protected]>
  • Loading branch information
clnoll and pedroslopez committed Nov 16, 2024
1 parent f103b4d commit 729ba94
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ open class ConnectorRolloutHandler
rollout.id,
connectorRolloutWorkflowStart.updatedBy,
rollout.rolloutStrategy,
actorDefinitionService.getActorDefinitionVersion(rollout.initialVersionId).dockerImageTag,
rollout,
),
)
Expand All @@ -497,6 +498,7 @@ open class ConnectorRolloutHandler
connectorRolloutUpdate.id,
connectorRolloutUpdate.updatedBy,
getRolloutStrategyForManualUpdate(connectorRollout.rolloutStrategy),
actorDefinitionService.getActorDefinitionVersion(connectorRollout.initialVersionId).dockerImageTag,
connectorRollout,
),
)
Expand Down Expand Up @@ -538,6 +540,7 @@ open class ConnectorRolloutHandler
connectorRolloutFinalize.id,
connectorRolloutFinalize.updatedBy,
getRolloutStrategyForManualUpdate(connectorRollout.rolloutStrategy),
actorDefinitionService.getActorDefinitionVersion(connectorRollout.initialVersionId).dockerImageTag,
connectorRollout,
),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ data class ConnectorRolloutActivityInputStart(
var rolloutId: UUID,
var updatedBy: UUID? = null,
var rolloutStrategy: ConnectorEnumRolloutStrategy? = null,
var initialVersionDockerImageTag: String? = null,
var connectorRollout: ConnectorRollout? = null,
)
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ class ConnectorRolloutWorkflowImplTest {
USER_ID,
ROLLOUT_STRATEGY,
null,
null,
),
)
}
Expand Down

0 comments on commit 729ba94

Please sign in to comment.