-
Notifications
You must be signed in to change notification settings - Fork 41
uenv 8.1 docs #125
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
uenv 8.1 docs #125
Conversation
|
preview available: https://docs.tds.cscs.ch/125 |
|
preview available: https://docs.tds.cscs.ch/125 |
|
preview available: https://docs.tds.cscs.ch/125 |
|
preview available: https://docs.tds.cscs.ch/125 |
|
preview available: https://docs.tds.cscs.ch/125 |
msimberg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was too slow. I'll open a PR with the small suggestions.
| uenv build $SCRATCH/recipes/myapp myapp/v3@daint%gh200 | ||
| ``` | ||
|
|
||
| The output of the above command will print a url that links to a status page, for you to follow the progress of the build. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| The output of the above command will print a url that links to a status page, for you to follow the progress of the build. | |
| The output of the above command will print a URL that links to a status page where you can follow the progress of the build. |
?
| ``` | ||
|
|
||
| The output of the above command will print a url that links to a status page, for you to follow the progress of the build. | ||
| After a successful build, the uenv can be pulled using an address from the status page: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| After a successful build, the uenv can be pulled using an address from the status page: | |
| After a successful build, the uenv can be pulled using a name from the status page: |
?
| | key | description | default | values | | ||
| | --- | ----------- | -------- | ------ | | ||
| | [`color`][ref-uenv-configure-options-color] | Use color output | automatically chosen according to environment | `true`, `false` | | ||
| | [`repo`][ref-uenv-configure-options-repo] | The default repo location for downloaded uenv images | `$SCRATCH/.uenv-images` | An absolute path | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth mentioning here that $SCRATCH/.uenv-images is exempt from the cleanup policy? Putting it in another directory in scratch may lead to surprising issues with the uenv database if images are deleted, no?
| The repo is selected according to the following process: | ||
|
|
||
| * if the `--repo` CLI arguement overrides | ||
| * else if `color` is set in the config file, use that setting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| * else if `color` is set in the config file, use that setting | |
| * else if `repo` is set in the config file, use that setting |
| # Deploying uenv | ||
|
|
||
| [](){#ref-uenv-deploy-versions} | ||
| ## Versioning and Labeling |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ## Versioning and Labeling | |
| ## Versioning and labeling |
|
|
||
| # this can be used to search for all uenv on daint: | ||
| uenv image find @daint | ||
| The new [`eigen.alps.cscs.ch`][ref-cluster-eiger] deployment has version 8.1.0 of uenv installed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| The new [`eigen.alps.cscs.ch`][ref-cluster-eiger] deployment has version 8.1.0 of uenv installed. | |
| The new [`eiger.alps.cscs.ch`][ref-cluster-eiger] deployment has version 8.1.0 of uenv installed. |
| The output above lists all of the uenv that are available on the current system ([Eiger][ref-cluster-eiger] in this case). | ||
| The search can be refined by providing a [label][ref-uenv-labels]. | ||
|
|
||
| ??? example "using labels to refine search" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ??? example "using labels to refine search" | |
| ??? example "Using labels to refine search" |
| ``` | ||
|
|
||
| !!! info | ||
| All uenv commands that take a [label][ref-uenv-labels] as an arguement use the same flexible syntax [label descriptions][ref-uenv-labels-examples]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| All uenv commands that take a [label][ref-uenv-labels] as an arguement use the same flexible syntax [label descriptions][ref-uenv-labels-examples]. | |
| All uenv commands that take a [label][ref-uenv-labels] as an argument use the same flexible syntax [label descriptions][ref-uenv-labels-examples]. |
| Before uenv can be used, you need to log out then back in again and type `which uenv` to verify that uenv has been installed in your `$HOME` path. | ||
|
|
||
| [](){#ref-uenv-labels} | ||
| ## uenv Labels |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ## uenv Labels | |
| ## uenv labels |
| [](){#ref-uenv-labels} | ||
| ## uenv Labels |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's some overlap between this description of labels and the one in deploy.md. Can deploy.md link to here?
Refactor uenv docs.