Skip to content

refactor: enhance CI job environment resolution and add dynamic value constraint scripting support#6971

Open
vivekanandan-devtron wants to merge 2 commits into
mainfrom
fix/ci-job-auto-trigger-issue
Open

refactor: enhance CI job environment resolution and add dynamic value constraint scripting support#6971
vivekanandan-devtron wants to merge 2 commits into
mainfrom
fix/ci-job-auto-trigger-issue

Conversation

@vivekanandan-devtron

@vivekanandan-devtron vivekanandan-devtron commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Fixes devtron-labs/sprint-tasks#2905

Description

Fixes #

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit/api test cases.

Does this PR introduce a user-facing change?


Summary by Bito

  • Refactored environment lookup logic in getEnvironmentForJob to support CI environment mapping when EnvironmentId is not explicitly provided.
  • Updated BuildxGlobalFlags struct definition to fix minor indentation inconsistencies in field tags.

Ash-exp
Ash-exp previously approved these changes Jun 24, 2026
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants