Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Environment variables are not being parsed properly in the volume mapping configuration. #1534

Open
dima1034 opened this issue Feb 5, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dima1034
Copy link

dima1034 commented Feb 5, 2023

Dear development team of Tye,

I want to extend my gratitude for all the hard work that you've put into this project. Your efforts have resulted in a well-made product, and I am impressed with the outcome.

In the near future, I plan on forking Tye and continuing its development within my own company. I believe that this project has a lot of potential, and I am eager to explore its possibilities.

Once again, thank you for your dedication and skill in creating Tye. I am truly grateful for your efforts.

@jkotalik @davidfowl @rynowak @philliphoff



Describe the bug

Environment variables are not being parsed properly in the volume mapping configuration.

Steps to reproduce

In the configuration file, the following line is used to map a volume:

name: vsdbg
source: ${HOME}/.vsdbg
target: /remote_debugger

Expected behavior

Environment variables, such as ${HOME}, should be expanded to their actual values.

Actual behavior

Environment variables are not being expanded and are showing as is in the configuration file.

Solution

Implement parsing of environment variables in the volume mapping configuration.

name: vsdbg
source: ~/.vsdbg
target: /remote_debugger

Further technical details

  • tye --version
    0.11.0-alpha.22111.1+3edef5428949c518c078844d6438e5ba86fce600
  • The platform (macOS)
@dima1034 dima1034 added the bug Something isn't working label Feb 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant