Skip to content

Feature: Runtime Parameters as Environment Variables in Devtron CI Pipelines #6511

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
pawan-59 opened this issue Apr 10, 2025 · 0 comments
Open
2 tasks done
Assignees
Labels
enhancement New feature or request ENT-IPC needs-triage Issue is not approved or ready-to-work on

Comments

@pawan-59
Copy link
Contributor

🔖 Feature description

Currently, Devtron CI allows passing runtime parameters during pipeline execution, but these parameters are not automatically exposed as environment variables within the CI pipeline steps. This limits the usability of dynamic configurations and custom scripting within the build process.

If anyone wants to use the variable value in any scripting then they have use JQ or some other tool to grep the value from CI_CD_EVENTS variable, which obviously is not known by any end user.

🎤 Pitch / Usecases

We have a use case to update the Base Docker image, which we can pass from the build args of the docker build, and we are passing the value of base Image using a runtime Parameter to grep the value I'm passing build args like this

Key: BASE_IMAGE
Value: (echo $CI_CD_EVENT | jq -r .commonWorkflowRequest.runtimeEnvironmentVariables.BASE_IMAGE)

By enabling this feature, the user can directly use the Value like $BASE_IMAGE

🔄️ 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?

@pawan-59 pawan-59 added enhancement New feature or request needs-triage Issue is not approved or ready-to-work on labels Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ENT-IPC needs-triage Issue is not approved or ready-to-work on
Projects
None yet
Development

No branches or pull requests

4 participants