Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC] Document setting environment variable #765

Merged
merged 7 commits into from
Feb 29, 2024
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions docusaurus-docs/conda-store-ui/tutorials/create-envs.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,22 @@ To install packages published only on [PyPI][pypi] using [`pip`][pip], include a

-->

### Set environment variables

:::note
This feature is available *after* conda-store-ui version 2024.1.1.

Currently, only the `CONDA_OVERRIDE_CUDA` environment variable can be specified, which allows setting the CUDA version for building packages with GPU support.
Learn more in the [conda documentation][conda-docs-override-packages]
:::

You can set environment variables in the YAML-editor with the following syntax:
trallard marked this conversation as resolved.
Show resolved Hide resolved

```yaml
variables:
CONDA_OVERRIDE_CUDA: '12.0'
trallard marked this conversation as resolved.
Show resolved Hide resolved
```

## Trigger environment creation

Once the name, description, required packages, and channels are specified, click on the "Create" button at the bottom of the screen to trigger environment creation:
Expand All @@ -100,3 +116,4 @@ The "Status" will change to "Status: Completed in ... min" once the environment

[pypi]: https://pypi.org
[pip]: https://pip.pypa.io/en/stable/installation/
[conda-docs-override-packages]: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-virtual.html#overriding-detected-packages
Loading