Skip to content

Comments

[GitLab] Improve env var setting#61

Merged
ispasov merged 1 commit intomasterfrom
is/env-vars-improvements
Jul 8, 2025
Merged

[GitLab] Improve env var setting#61
ispasov merged 1 commit intomasterfrom
is/env-vars-improvements

Conversation

@ispasov
Copy link
Contributor

@ispasov ispasov commented Jul 4, 2025

Description

  • [GitLab CI] Improve env var setting

Allow env vars to either be set with or without CUSTOM_ENV_ prefix.
The prefix is added automatically by GitLab if the var is set from the UI.
If the variable is set from the container, it is not prefixed.
Both approaches are valid so support both.

Testing

Contact me for more information

@spikeburton
Copy link

Can we update the title of the PR to accurately reflect the changes here? :))

@ispasov ispasov changed the title [GitLab] Delete VM on retry [GitLab] Improve env var setting Jul 8, 2025
@ispasov ispasov force-pushed the is/deploy-attempts branch from 3b0e9ce to 87c7c76 Compare July 8, 2025 11:40
Base automatically changed from is/deploy-attempts to master July 8, 2025 11:43
Allow env vars to either be set with or without CUSTOM_ENV_ prefix.
The prefix is added automatically by GitLab if the var is set from the UI.
If the variable is set from the container, it is not prefixed.
Both approaches are valid so support both.
@ispasov ispasov force-pushed the is/env-vars-improvements branch from c1af185 to a54e354 Compare July 8, 2025 11:43
@ispasov ispasov merged commit 78be972 into master Jul 8, 2025
1 check passed
@ispasov ispasov deleted the is/env-vars-improvements branch July 8, 2025 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants