Commit Graph

195 Commits

Author SHA1 Message Date
Arjun Roy Chaudhuri f2624e3603 Merge pull request #62 from mmitche/fix-join
Using StringUtils.join (String.join not available in JDK 7)
2016-10-27 15:03:53 -07:00
Matt Mitchell 477813245f Using StringUtils.join (String.join not available in JDK 7) 2016-10-27 14:14:26 -07:00
Arjun Roy Chaudhuri 4265faacfa Merge pull request #61 from arroyc/local-build-successfull
Local build successfull
2016-10-27 12:36:04 -07:00
Matt Mitchell e7835cbb82 Merge remote-tracking branch 'upstream/ARM-dev' into arm-model-rename 2016-10-27 10:14:36 -07:00
Matt Mitchell 8722cfedf4 Add a way to specify the deployment timeout (in case of long deployments)
Fix help message in max VMs
2016-10-27 09:49:32 -07:00
Arjun Roy Chaudhuri a942a70f5a Merge pull request #59 from clguimanMSFT/hide_secrets
Remove secrets from AzureSlave.toString()
2016-10-24 16:38:41 -07:00
Claudiu Guiman ceac4913cd Remove secrets from AzureSlave.toString() 2016-10-21 14:41:05 -07:00
Matt Mitchell dbb10e4beb Make deployment names more unique (to avoid more collisions)
Only create the vnet and subnets in deployment if they are not specifically specified (to avoid overwriting vnet settings)
2016-10-21 07:38:30 -07:00
Matt Mitchell 0017c4669c Temporarily look up VM count by resource group, rather than listAll. Pagination appears broken for listAll 2016-10-19 09:38:27 -07:00
Matt Mitchell 1a574ca93d Clean up VM deployments 2016-10-19 09:38:26 -07:00
Matt Mitchell fa69ef2355 Add deployment cleanup 2016-10-19 09:38:26 -07:00
Matt Mitchell 9039cb1112 Better logging for retry 2016-10-19 09:38:24 -07:00
Matt Mitchell b777388afc Paginated VM vm counting 2016-10-19 09:38:23 -07:00
Matt Mitchell f66ffb4579 Extend timeout 2016-10-19 09:38:22 -07:00
Matt Mitchell 3ae7340ec8 Ensure configuration doesn't expire during provisioning
Make configuration validity a transient property and remove initial verification canProvision will cause the initial verification to happen
2016-10-19 09:38:21 -07:00
Matt Mitchell bbadf7b605 Renaming and cloud SxS
* Rename microsoftopentechnologies -> microsoft namespace
    * slave -> agent refactor (strings, classes, and variable names where possible)
    * Token cache file name should be specific to cloud name
2016-10-19 09:38:20 -07:00
Arjun Roy Chaudhuri c8dba87f0a Merge pull request #58 from clguimanMSFT/unique_storage_account
Updated the ARM templates so the storage account name is unique per r…
2016-10-18 13:28:13 -07:00
Claudiu Guiman c8713852a1 Updated the ARM templates so the storage account name is unique per resource group 2016-10-18 12:42:43 -07:00
Arjun Roy Chaudhuri 5327cbf63f Merge pull request #44 from mmitche/arm-model
ARM Fixes and updates
2016-10-12 15:11:36 -07:00
Matt Mitchell 9c5f40083d Fix httpconnector version
Fix jelly tag in index.jelly
2016-10-12 13:40:41 -07:00
Matt Mitchell 6b53a4e3a3 Azure RM model updates
* Make the resource group configurable
* Update SDK to 0.9.4
* Fix: Token expiration was incorrectly calculated (API is named a bit oddly).
* Fix: Token expiration is in seconds.
* Change VM/deployment names to ones that are valid
* Fix location + VM sizes
  It appears that that the location and VM size APIs do not currently support the AAD based authentication.  The certificate is required.  Rather than re-introduce the cert for just this limited UI scenario, I have decided to hard-code the list based on the returned info from current Azure.  This is a decent short term solution, since a move to the 1.0.0 API (when released) will require that this code be changed anyway and presumably this problem should be fixed for good at that point.
* Proper handling for custom image URIs
* Asynchronous verification of the subscription info
* Asynchronous verification of the azure templates
* Asynchronous provisioning
* Clean up resources after unsuccessful provisioning
* Lots of logging updates
* Fix: SSH launcher - Get channels before connection for exec channels
  Getting the channels after connection introduces a race where we could potentially fail to read from the input streams if they were obtained from the channel after the connection had completed.
* Add diagnostics to image verification messages
* Asynchronous deletion via UI
* Update version of Jsch
* Temporarily disable image verification for reference images
* Allow for initialization scripts to be run as root
* Cleanup of slaves now works properly
    * Doesn't clean up when node is taken offline by user
    * Post build tasks won't kill other runs or show errors in the job logging
    * Retention strategy now for online nodes, cleanup for offline nodes
* Nodes that are marked to shut down on idle can now be restarted properly (before too many could be started)
* Add option to treat failures of the initialization script as a reason to discard the VM (linux only currently)
* Reenable Windows custom script extension for startup
* Update documentation with new sample startup scripts

Add setAcceptingTasks appropriately

doc fixup
2016-10-06 15:06:03 -07:00
Arjun Roy Chaudhuri 10a5b12b42 Merge pull request #55 from mmitche/channel-stream-order
Get channels before connection
2016-09-28 15:46:15 -07:00
Matt Mitchell 96691242c9 Get channels before connection
Getting the channels after connection introduces a race where we could potentially fail to read from the input streams if they were obtained from the channel after the connection had completed.
2016-09-28 15:32:36 -07:00
Arjun Roy Chaudhuri d1c44ed7a3 Merge pull request #54 from arroyc/ARM-dev
make service principle parameters hidden fields
2016-09-28 14:40:28 -07:00
Arjun Roy Chaudhuri f33e5793f6 make service principle parameters hidden fields 2016-09-28 13:06:52 -07:00
Huanhuan Sun 3db762d8a0 Merge pull request #43 from mmitche/fix-sizes
Fix location + VM sizes
2016-09-15 14:19:27 -07:00
Matt Mitchell 0b8775f9cd Fix location + VM sizes
It appears that that the location and VM size APIs do not currently support the AAD based authentication.  The certificate is required.  Rather than re-introduce the cert for just this limited UI scenario, I have decided to hard-code the list based on the returned info from current Azure.  This is a decent short term solution, since a move to the 1.0.0 API (when released) will require that this code be changed anyway and presumably this problem should be fixed for good at that point.
2016-09-15 09:57:47 -07:00
Huanhuan Sun 9099105b56 Merge pull request #42 from mmitche/fix-1
A couple fixes
2016-09-13 13:50:40 -07:00
Matt Mitchell f2cce2ea88 A couple fixes
Update SDK to 0.9.4
Token expiration was incorrectly calculated (API is named a bit oddly)
2016-09-13 11:06:47 -07:00
fmartelli 7e104410fb fix for build #102 2015-09-04 15:45:48 +02:00
fmartelli 9df1a3997b azuresdk version updated 2015-09-04 12:50:24 +02:00
fmartelli 8ad20f7780 Implements access token cache with file persistence 2015-07-31 12:20:53 +02:00
fmartelli 2c6bb7a711 Provides cache for access token + includes changes provided by merged PR #8 2015-07-30 15:03:04 +02:00
fmartelli 187c6a66ac [#12] Implements re-authentication at every request 2015-07-28 16:52:41 +02:00
fmartelli ebae6d893c Fix for log 2015-07-24 16:54:27 +02:00
fmartelli 749be4c07b This commit is just for documemtation. I'm still waiting for some fixes into azure-sdk-for-java-pr in order to perform more accurate tests 2015-07-23 17:37:30 +02:00
fmartelli d5653cf55c Providing arm deployment templates 2015-07-23 17:10:53 +02:00
fmartelli 1733e74ded some code formatting 2015-07-14 10:06:40 +02:00
Francesco Chicchiriccò 6537d3b8fa Some cleanup 2015-07-10 16:45:35 +02:00
Francesco Chicchiriccò 88bcc2e6d4 Initial migration to Azure SDK for Java 0.8.0-SNAPSHOT (using ARM but not yet JSON templates) 2015-07-09 13:17:56 +02:00
Suresh Nallamilli 58b6d51881 [maven-release-plugin] prepare for next development iteration 2015-05-26 05:00:55 +00:00
Suresh Nallamilli 775ea70e70 [maven-release-plugin] prepare release azure-slave-plugin-0.3.2 2015-05-26 05:00:53 +00:00
Suresh Nallamilli 923a79f3f8 Decreasing retry attempts 2015-04-21 17:36:30 -07:00
Suresh Nallamilli 9638edbfc2 slave clean up action refactoring - partII 2015-04-21 09:33:56 -07:00
unknown 335d10fc9f Refactored Azure slave clean up task 2015-04-20 17:09:39 -07:00
Suresh Nallamilli 441999d246 [maven-release-plugin] prepare for next development iteration 2015-01-27 20:37:54 +00:00
Suresh Nallamilli 6bc6a1bea7 [maven-release-plugin] prepare release azure-slave-plugin-0.3.1 2015-01-27 20:37:52 +00:00
Suresh Nallamilli ccece7e234 Merge pull request #7 from akirakw/fix-myimage-with-affinity
Fixed NPE when verifing template with my image on storage account with affinity group.
2015-01-23 14:37:50 -08:00
Suresh Nallamilli 3b098ade48 Merge pull request #6 from mmitche/fix-provision-nullref
Avoid null-deref in logging
2015-01-23 14:34:57 -08:00
Matt Mitchell dfa4474006 Avoid null-deref in logging when we have a null label, but no azure templates allow for running on the null label. 2015-01-22 11:06:01 -08:00