Skip to content

Conversation

@zmotso
Copy link
Member

@zmotso zmotso commented Oct 15, 2024

Pull Request Template

Description

Changed the logic to use a queue-based approach
instead of creating a pending PipelineRun.
The operator now puts CDStageDeploy objects into a queue, processes them sequentially based on their creation timestamps, and creates a PipelineRun only after the previous one has completed.

Fixes #147

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Pull Request contains one commit. I squash my commits.

@zmotso zmotso added the enhancement New feature or request label Oct 15, 2024
@zmotso zmotso self-assigned this Oct 15, 2024
@zmotso zmotso requested a review from a team as a code owner October 15, 2024 09:49
@zmotso zmotso force-pushed the f/14487 branch 2 times, most recently from 8db1402 to def6f43 Compare October 15, 2024 09:58
Changed the logic to use a queue-based approach
instead of creating a pending PipelineRun.
The operator now puts CDStageDeploy objects into a queue,
processes them sequentially based on their creation timestamps,
and creates a PipelineRun only after the previous one has completed.
@SergK SergK merged commit a1df437 into master Oct 15, 2024
2 checks passed
@SergK SergK deleted the f/14487 branch October 15, 2024 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Update Auto-Stable Strategy for PipelineRun Creation

3 participants