Skip to content

Conversation

@bsquizz
Copy link
Contributor

@bsquizz bsquizz commented Nov 14, 2023

Fixes a bug that is found when using the bonfire deploy-iqe-cji command. If IQE_PLUGINS is not provided by the CJI, we expect it to be set by Clowder by looking up the ClowdApp .spec.testing.iqePlugin value. However, if a CJI is applied with env var set to: {name: "IQE_PLUGINS", "value": ""} then the empty env var will end up being passed to the pod. This changes the updateEnvVars function to only override env vars when they have a non-empty value.

@bsquizz
Copy link
Contributor Author

bsquizz commented Nov 14, 2023

/retest

1 similar comment
@LightOfHeaven1994
Copy link

/retest

@psav psav merged commit 2bf0871 into master Nov 15, 2023
@psav psav deleted the fix_cji_overrides branch February 20, 2024 13:08
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.

3 participants