Skip to content

Feature: Make buildx Flags Configurable #6191

@neha130

Description

@neha130

🔖 Feature description

Allowing flags to be configurable through a configuration file or environment variables would improve the streamline build workflows.

🎤 Pitch / Usecases

By removing the hardcoding of buildx flags and allowing them to be configured, it can make their build process more efficient, consistent, and scalable. This flexibility improves collaboration, simplifies CI/CD configuration, and ensures that builds are always executed with the correct configuration.

🔄️ Alternative

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Description:
Currently just adding timeout flag out of the --driver-opt. Rest all are managed from build-infra

Reference Ticket:

Tasks:

Qa:

Release Notes Details _____________

Please refer to PR template from this readme - https://github.com/devtron-labs/enterprise-release/blob/release-dev/README.md

PR Links

Microservices

  • Orchestrator
  • Dashboard
  • Devtron-Fe-Lib
  • Kubelink
  • Kubewatch
  • Casbin
  • Git-sensor
  • Image Scanner
  • Notifier
  • CI-Runner
  • Central-API
  • Lens
  • App-Sync
  • Scoop
  • Silver-Surfer

ConfigMap/Secret Changes Involved

microserviceConfigs:
- name: orchestrator
    configurations:
    - key: BUILDX_BUILDER_POD_WAIT_DURATION_SECS
        allowedValues: > 0
        defaultValue: 120
        description: Timeout in seconds to wait for buildx k8s driver builder pods to be ready

Information if it's a hotfix

  • Release on L1 & L2
  • Branch and commit hash if not main and latest hash.

  • Release on L3
  • Branch and commit hash if not (hotfix-*) and latest hash.

  • Release on Specific Enterprise
  • Specific Enterprise and Branch

Additional Release Instructions

This fix is intended for EA - oss and ent

What channels is this release for?

  • OSS+Enterprise
  • Enterprise only
  • OSS only

PR Checklist:

  • PR has relevant title tag (feat, fix, perf, chore)
  • Is this PR synced to enterprise?

Author's Github username

Additional Comments


Feature Branch For Qa


Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions