-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Enable CARGO_TERM_COLOR automatically in GitLab CI #16969
Copy link
Copy link
Open
Labels
A-console-outputArea: Terminal output, colors, progress bar, etc.Area: Terminal output, colors, progress bar, etc.C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Metadata
Metadata
Assignees
Labels
A-console-outputArea: Terminal output, colors, progress bar, etc.Area: Terminal output, colors, progress bar, etc.C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Problem
I would like to have automatic colored output from Cargo in GitLab CI. Currently, I have to manually set
CARGO_TERM_COLOR: alwaysin my CI config to enable it. This would be a nice convenience feature to have.Proposed Solution
Detect if Cargo is running in GitLab CI/CD and enable colored output.
Notes
No response