Skip to content

fix: Imported variables are not used in other variables#2432

Merged
FabianKramm merged 4 commits intodevspace-sh:mainfrom
pratikjagrut:import.vars
Nov 21, 2022
Merged

fix: Imported variables are not used in other variables#2432
FabianKramm merged 4 commits intodevspace-sh:mainfrom
pratikjagrut:import.vars

Conversation

@pratikjagrut
Copy link
Copy Markdown
Contributor

What issue type does this pull request address? (keep at least one, remove the others)
/kind bugfix

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
resolves #2408

Please provide a short message that should be published in the DevSpace release notes
Fixed an issue where DevSpace was not using imported variables in defining another variable in main devspace.yaml

Copy link
Copy Markdown
Collaborator

@lizardruss lizardruss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There could be unexpected behavior with the current implementation. I'll ask for a second opinion as well.

Comment thread pkg/devspace/config/loader/variable/resolver.go Outdated
Comment thread e2e/tests/imports/testdata/conditional/devspace.yaml
@FabianKramm FabianKramm dismissed lizardruss’s stale review November 21, 2022 13:55

Not needed anymore

@FabianKramm FabianKramm merged commit b79251b into devspace-sh:main Nov 21, 2022
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.

Imported variables cannot be used in other variables

3 participants