зеркало из https://github.com/Azure/azure-cli.git
Update readme for edge build update
This commit is contained in:
Родитель
f7d4fd7861
Коммит
6d5d3ea58e
28
README.md
28
README.md
|
@ -19,7 +19,7 @@ A list of common install issues and their resolutions are available at [install
|
|||
### Developer Installation (see below)
|
||||
|
||||
- [Docker](#docker)
|
||||
- [Nightly Builds](#nightly-builds)
|
||||
- [Edge Builds](#edge-builds)
|
||||
- [Developer Setup](#developer-setup)
|
||||
|
||||
## Usage
|
||||
|
@ -131,30 +131,26 @@ $ docker run -v ${HOME}:/root -it azuresdk/azure-cli-python:<version>
|
|||
|
||||
See our [Docker tags](https://hub.docker.com/r/azuresdk/azure-cli-python/tags/) for available versions.
|
||||
|
||||
### Nightly Builds
|
||||
### Edge Builds
|
||||
|
||||
Install nightly builds with pip in a virtual environment.
|
||||
If you want to get the latest build from the master branch, you can use our "edge" builds feed. Here's an example of
|
||||
installing edge dev builds with pip in a virtual environment.
|
||||
|
||||
```bash
|
||||
$ pip install --pre azure-cli --extra-index-url https://azureclinightly.blob.core.windows.net/packages
|
||||
$ virtualenv env
|
||||
$ . env/bin/activate
|
||||
$ pip install --pre azure-cli --extra-index-url https://azurecliprod.blob.core.windows.net/edge
|
||||
```
|
||||
|
||||
To upgrade your current nightly build pass the `--upgrade` option.
|
||||
To upgrade your current edge build pass the `--upgrade` option. The `--no-cache-dir` option is also recommended since
|
||||
the feed is frequently updated.
|
||||
|
||||
```bash
|
||||
$ pip install --upgrade --pre azure-cli --extra-index-url https://azureclinightly.blob.core.windows.net/packages
|
||||
$ pip install --upgrade --pre azure-cli --extra-index-url https://azurecliprod.blob.core.windows.net/edge --no-cache-dir
|
||||
```
|
||||
|
||||
- Builds happen at 21:00:00 PDT each night. They are published shortly afterwards.
|
||||
- Whilst all command modules are built each night, not all are included on install.
|
||||
- Install additional components with:
|
||||
```
|
||||
$ export AZURE_COMPONENT_PACKAGE_INDEX_URL=https://azureclinightly.blob.core.windows.net/packages
|
||||
```
|
||||
```
|
||||
$ az component update --add <component_name> --private
|
||||
```
|
||||
- To view the list of installed packages, run ``az component list``
|
||||
The edge build is generated for each push to the `master` branch as a part of the Travis CI build. The version of the edge build follows
|
||||
|
||||
|
||||
## Developer Setup
|
||||
If you would like to setup a development environment and contribute to the CLI, see
|
||||
|
|
Загрузка…
Ссылка в новой задаче