Граф коммитов

42 Коммитов

Автор SHA1 Сообщение Дата
Feng Zhou b5b000b899
move propagate_env_change.exe to storage account (#12401) 2020-03-04 10:04:48 +08:00
ritwik8119 85ad0a4219 Updated azure-mgmt-monitor to 0.7.0 and added new action-group features (#11051) 2019-11-08 11:36:55 +08:00
Zunli Hu 980983b372
update .gitignore for user files in .vscode (#10149) 2019-08-05 18:17:43 +08:00
Zunli Hu f83eb35164 tool: ignore ./vscode files (#10071) 2019-07-26 14:45:04 -07:00
Jon 2798267a3c Remove generated zone test files (#9702) 2019-06-17 18:57:31 -07:00
Martin Strobel 8f768b4bea
Dockerize Linux Builds (#8000)
* Adding CentOS 7 Dockerfile

* Adding 'docker save' step to RPM pipeline script

* WIP

* Removing parallelization of builder and execution phase.

* Fixing line-endings by running dos2unix.

Docker for Windows copies over files containing \r\n instead of the
standard \n. For that reason, files which prove to be senstive to it
need to be run through dos2unix before they are published. It becomes
effectively a no-op for people using other Docker clients.
2019-01-09 16:32:25 -08:00
Troy Dai be601b7cfe
Make telemetry be compatible with Python 2 (#6959)
* Make telemetry be compatible with Python 2
* Add unit test stage
2018-08-02 16:12:22 -07:00
Troy Dai 7e6d3cc542
Overhaul Azure CLI telemetry upload process (#6682)
1. Stop starting upload process after each command;
2. Save telemetry to telemetry temp folder under user profile;
3. Start telemetry upload process when enough telemetry data is
accumulated.
4. One telemetry upload at a time.
2018-08-01 16:10:58 -07:00
Troy Dai 25ae82de6d
Add dependency check to CI (#6828) 2018-07-20 15:06:12 -07:00
Troy Dai f3efddeb62
Upgrade paramiko to 2.4.1 (#6711) 2018-07-03 13:42:23 -07:00
Troy Dai 48fa526f44
Improve telemetry upload reliability (#6345)
1. Remove retry. Once failed stop uploading.
2. Update the process start configuration to prevent upload process from
blocking the CLI process.
2018-05-30 22:48:05 -07:00
Travis Prescott 7888fad93e
Command and Parameter Test Coverage Script (#6039)
* Command and parameters coverage.

* CI fixes.

* Updates. Test fixes to boost network `tags` coverage.

* Code review comments. Fix issues discovered by test coverage.

* Fix tests
2018-04-10 10:39:07 -07:00
Derek Bekoe d10aa1a178 Delete empty file (accidentally committed?) (#5558)
* Delete empty file (accidentally commited?)

* Add to gitignore
2018-02-14 11:08:28 -08:00
Derek Bekoe c0b0ff6a56
Build all 6 debian packages & Add debian yum publish script (#5470) 2018-02-05 15:19:17 -08:00
Troy Dai bc2368b4c9 Knack - Storage Command Module (#5076)
* Update azdev to list commands information

* Convert storage command modules to knack
2017-12-14 12:20:29 -08:00
Derek Bekoe 13d2f3ec69 Support local builds for all installers (Docker, MSI, Pip, Debian, RPM) (#4696)
- packaged_releases -> build_scripts
- Docker: build Docker image from src code directory, support private SDKs
- Debian: local builds
- MSI: local builds
- remove old scripts
- RPM: local builds
2017-10-18 09:39:23 -07:00
Troy Dai e2edf10e6b
Fix issue in storage api version and command reg 2017-08-04 16:39:21 -07:00
Jingtao Ren 2a59cee5b6 Add acs module support for version 2017-07-01 (#4010) 2017-07-13 10:43:38 -07:00
Troy Dai a8e08a0235
Enable https only storage account creation 2017-07-10 16:45:32 -07:00
Edward Samson c8e6b3772d Fix file truncation in Service Fabric commands (#3796) 2017-06-29 14:26:57 -07:00
Mohammad Derakhshani 0ef94e4176 cosmosdb: add support for default ttl (#3761)
* documentdb cli minor improvement

* updates help description for credentials
* minor change to formatting of failure error message
* --coll-name changed to --collection-name

* documentdb: minor error message change

* pyproj updated to include all cosmosdb files

* cosmosdb: add support for collection default ttl

* cosmosdb: history file updated

* updated pyproj files

* fixed code style

* cosmosdb: review comments addressed

* addressed code style issue

* code style issue fixed

* logic simplified

* fixed history

* remove unwanted stashed changes

* remove unwanted files
2017-06-19 22:04:16 -07:00
Ed Samson 2b563f4af6 Adding tests for Service Fabric commands and fixing some arugment parsing logic (#3424) 2017-06-08 14:05:16 -07:00
Sam Ed 9e1433fa8f Adding support for Service Fabric client commands (#3136)
* Adding ServiceFabric commands for version 5.6
2017-05-04 22:13:48 -07:00
Troy Dai a198a63373 Initiate Jenkins pipeline (#2840)
* Initiate Jenkins pipeline

1. Add build task
2. Add basic performance test task
3. Add performance measure script
2017-04-12 15:32:34 -07:00
Derek Bekoe b4ec58f857 Windows MSI Build Scripts (#2655) 2017-03-31 09:36:34 -07:00
Troy Dai a897493ef7 Mitigate AI SDK's problem with numeric in properties (#2397) 2017-03-08 08:50:45 -08:00
Jared Moore 372306113e SQL core commands (server, db, and elastic pool) (#2253)
* sql server create: param aliases

* sql db: server_name param alias

* sql db create: param aliases and ignores

* sql db data-warehouse: comment out these commands

* sql db transparent-data-encryption: comment out these commands

* sql db service-tier-advisor: comment out these commands

* sql db/server show-usage: comment out these commands

* sql elastic-pools: rename to elastic-pool

* sql elastic-pool recommended: comment out these commands

* sql db restore-point: comment out these commands

* sql db replication-link: -d param alias

* sql server firewall: add -s param alias

* sql server firewall allow-all-azure-ips: implement custom command

* Added CommandGroup.custom_command helper for constructing custom commands

* sql server service-objective: added -s alias

* sql elastic-pool db: Removed group. Added --elastic-pool parameter to sql db list.

* sql db update: Add convenience params

Fixes #1764

* sql db create/update: extract common param aliases

* sql db create/update: refactor common ignored params

* sql db create: Wrapper function that determines location

* sql db create, sql elastic-pool db: fixed tests

* sql elastic-pool create: add wrapper that determines server location

* sql server update: add convenience params

* sql server firewall allow-all-azure-ips: added test

* Organized file contents into alphabetically ordered sections

* sql server firewall: updated help text

* sql elastic-pool update: add convenience arguments

* sql db create-copy: added this new custom command

* sql db create-copy: added unit test

* sql db create-replica: implement new custom command

* sql db copy/create-replica: switched point of view

It looks like source and dest sub id must always be the same, so removing source_subscription_id param and switching point of view from source->this to this->dest.

* sql db restore: added basic implementation

It's currently broken because restorePointInTime is not yet in Swagger spec, but otherwise should theoretically work.

* Tweaking param names for db copy/create-secondary/restore

* sql server firewall: rename group to firewall-rule

* Rename --server-name to --server

* Rename --elastic-pool-name to --elastic-pool

* Rename --database-name to --database

* Rename --service-objective-name to --service-objective

* Rename --admin-login to --admin-user

* Comment out db restore and firewll allow-all-azure-ips.

db restore is currently broken, and allow-all-azure-ips is hopefully not needed if the firewall create/update help text is clear enough (which I have updated in Swagger).

* Added missing help text and commented out unneeded help test

* Rename rg-name

* Add missing param help, and fixed dest/secondary param aliases

* sql db update: Added test and fixed bugs.

Other update commands will also need to be tested and updated because I misunderstood how generic update command works.

* az sql firewall-rule update: Found issues, commented out for now

* sql server firewall-rule update: implement as custom command

* Impl/test for elastic-pool update and db update --elastic-pool

* Fixed pylint errors

* Fixed flake8 errors

* Attempt to fix url quote import

* Ignore pylint no-name-in-module for url quote import

* Ignore pylint import-error for url quote import

* db copy: use dest server location, not source

* Standardized on replica terminology.

create-secondary is now create-replica. replication-link is now replica-link.

* sql db show: remove --expand param

* Doc improvements.

Removed redundant 'Azure SQL' terminology.
Added doc for sql db list --elastic-pool param.

* Minor doc tweaks

* sql db create: disallow creating datawarehouse

* Update azure-mgmt-sql dependency to 0.3.0

* Added sql db restore command.

Also updated params for other db creation commands:
- Ignore service_objective_id param for all.
- Updated create-mode specific params

* Remove and git ignore debug.log files

* service-objective list: don't verify response length.

The number of service-objectives returned is variable depending on feature light-up and subscription capabilities. It's best not to assume how many service objectives exist currently or in the future.

* sql elastic-pool list-dbs: new command

* Use 'six' compat library to import url quote

* Added unit converter and use it for storage params

* Corrected capitalization of byte unit (B)
2017-03-01 10:08:21 -08:00
Troy Dai e8993db043 Run code coverage during tests (#2295) 2017-02-27 12:39:21 -08:00
Courtney (CJ) Oka a6bb10ba7e Fix storage seconds (#1888)
* Fix storage bugs #1560 #1563

* 2 space inline comment

* removed else

* abstracted date_string

* abstraction through nested functions

* removed f

* cleared up parameters and error message

* change function calls

* change function calls
2017-01-27 09:48:24 -08:00
Troy Dai f564c907f5 Reorganize test run in automation (#1624)
* Reorganize test run in automation

* Remove unnessary change in the VM test

* Address review comments
2017-01-05 10:56:06 -08:00
Troy Dai 7495dc628a Run module tests in parallel (#1262)
* Run module tests in parallel

* In test run summary print the test duration
2016-11-08 10:27:42 -08:00
erich-wang e7e8ce74b7 add document source for each group (#712)
* add document source for each group

* add doc source using dedicated doc source map
2016-08-18 15:40:15 -07:00
Travis Prescott 46f3a49a4a Created versioned 'public_ip_address' create. Add scripts for automated
smare creates.
2016-06-13 16:58:57 -07:00
Yugang Wang cb204b10e2 vm extension: support 'set' and 'list' (#326)
* list extension image list

* extract common helper logic to vm_utils
2016-05-25 13:37:53 -07:00
Derek Bekoe 3579d8b6f4 Basic script to get command coverage (#245)
Basic script to get command coverage
2016-05-12 12:16:49 -07:00
Derek Bekoe e309d4eebb Ignore vscode workspace settings file 2016-03-24 15:03:07 -07:00
Travis Prescott 71440f9ed5 Remove extraneous line from gitignore. 2016-03-23 16:02:15 -07:00
Travis Prescott 506457ed69 Ignore virtual environment director for Python 2.7. 2016-03-21 16:33:49 -07:00
Johan Stenberg 1564efcfdf Add env27 to gitignore to allow developers to create a 2.7 virtual environment 2016-02-19 17:04:59 -08:00
Steve Dower d014e9b38b Replaces gettext loc with custom
Adds tool to extract strings
Allows config file to specify locale
2016-02-16 11:25:00 -08:00
Steve Dower 4d75912f9e Fixes line endings and adds some INFO and TODO comments 2016-02-09 08:26:49 -08:00
Steve Dower cb12532cbc Initial creation. 2016-02-05 21:24:52 -08:00