Skip to content

Conversation

Alexhuszagh
Copy link
Contributor

@Alexhuszagh Alexhuszagh commented Jun 3, 2022

Allow the following syntax:

[build.env]
passthrough = ["VAR=VALUE"]

Closes #743.

Allow the following syntax:

```toml
[build.env]
passthrough = ["VAR=VALUE"]
```
@Alexhuszagh Alexhuszagh added enhancement A-config Area: cross-toml config labels Jun 3, 2022
@Alexhuszagh Alexhuszagh requested a review from a team as a code owner June 3, 2022 02:37
@otavio
Copy link
Contributor

otavio commented Jun 3, 2022

bors r+

@bors
Copy link
Contributor

bors bot commented Jun 3, 2022

Build succeeded:

@bors bors bot merged commit 9a23e02 into cross-rs:main Jun 3, 2022
bors bot added a commit that referenced this pull request Jun 3, 2022
750: Allow key-value pairs in config volumes. r=otavio a=Alexhuszagh

Allow volumes to use the `["VOL=/path/to/volume"]' syntax as well, so additional mount points can be defined by value in the `env.volumes` section of the config file. Allows the following syntax:

```toml
[build.env]
volumes = ["VOL=/path/to/mount/"]
```

Not implementing it with the `env.passthrough` was a complete oversight on my part, related to #743 and #748.

Co-authored-by: Alex Huszagh <ahuszagh@gmail.com>
@Emilgardis Emilgardis added this to the v0.2.2 milestone Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-config Area: cross-toml config enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow Environment Variable Definitions in env.passthrough.
3 participants