зеркало из https://github.com/microsoft/azure-cli.git
eb9a2f48ee
* Initial support for VM and single zone VMSS (#14) * wire up the initial zone support work * add output * add tests * disable package verifications * use a private copy of network sdk with zone support (#15) * Support for zoned public IP. Make global zone_type and zones_type. (#16) * Support for zoned public IP. Make global zone_type and zones_type. * Code review feedback. * apply api version range on vm zone test (#19) * show zone in the table output (#20) * install: support to build out a msi installer from local sources (#17) * doc:add command examples using availability zones (#21) * Installer: build debian bundle from a local clone (#28) * skip a few expeneive travis builds * test: update tests to work with new azure-mgmt-compute with zone support * network: support zone in network lb create (#37) * VNet peering examples. (#51) * Add BrazilUS and Dogfood cloud config files. (#50) * undo all changes specifically for private repository * fix help per review feedback * fix lint error * use newer nrp sdk version |
||
---|---|---|
.. | ||
README.md | ||
debian_build.sh | ||
debian_dir_creator.sh |
README.md
Debian Packaging
Updating the Debian package
On a build machine (e.g. new Ubuntu 14.04 VM), run the build script.
For example:
First copy the build scripts onto the build machine.
> ~/debian_build.sh; editor ~/debian_build.sh
> ~/debian_dir_creator.sh; editor ~/debian_dir_creator.sh
chmod +x ~/debian_build.sh ~/debian_dir_creator.sh
Then execute it with the appropriate environment variable values.
export CLI_VERSION=2.0.9 \
&& export CLI_DOWNLOAD_SHA256=e74150b2db2975e8b17710eb7ef270ded16e6a8c27f77929544533f6b4c33b76 \
&& export BUILD_ARTIFACT_DIR=$(mktemp -d)\
&& ~/debian_build.sh ~/debian_dir_creator.sh
Now you have built the package, upload the package to the apt repository.
Verification
sudo dpkg -i azure-cli_${CLI_VERSION}-1_all.deb
az
az --version