fabienlavocat / vsts-tasks Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Love the tool. Thank you for providing it.
One thing I notice is that it takes north of 3 minutes for this task to complete. However, I can see the change affected usually within a few seconds.
Why does it take so long to complete? Is Unpublish-AzureRmCdnEndpointContent really taking that long when its running in ServiceProvider context?
Any way to speed it up?
Each time this module is run, it complains with a warning (albeit it succeeds). Here's an excerpt from the log:
##[command]Import-Module -Name C:\Program Files\WindowsPowerShell\Modules\AzureRM\2.1.0\AzureRM.psd1 -Global
##[warning]The names of some imported commands from the module 'AzureRM.Websites' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
##[command]Import-Module -Name C:\Program Files\WindowsPowerShell\Modules\AzureRM.Profile\2.1.0\AzureRM.Profile.psm1 -Global
Please add support to enter multiple values for PurgeContent as this supported by Unpublish-AzureRmCdnEndpointContent command.
Hi,
I have the following error which wasn't here yesterday.
Exception Message: The pipeline is not valid. Job Phase_1: Step PurgeAzureCDNEndpoint input ConnectedServiceName expects a service connection of type Azure but the provided service connection VSTS-Gyosa-DEV is of type azurerm. (type PipelineValidationException)
I updated from v1.* to v2.* but i get the same message. Idem after switching the Azure Connection Type.
Any idea why ?
Thanks
Hi @FabienLavocat, I would like to use your plugin in an Azure YAML Pipeline but I don't know how. Could you provide an example on how to use the plugin with yaml?
Hello,
Thanks for your awesome plugin, but we currently got a trouble when use it in Azure Pipeline
2019-07-30T11:07:37.8116544Z ##[error]Operation returned an invalid status code 'NotFound'
2019-07-30T11:07:37.8437968Z ##[section]Finishing: Purge Azure CDN Endpoint
But the task in Azure Pipeline still return successful
I check in Azure Portal, the purge action is failed
Is there any guidance for us?
Thank you
Hi, awesome work, thanks!
I am getting the following warning in the console:
The names of some imported commands from the module 'AzureRM.Websites' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
Is it a fixable issue, or can I just ignore it? It just shows this warning and I would like to silent it, if possible:
Is it maybe something on my side?
Hi, I have added your Azure CDN Purge module and connected it to an Azure subscription/resource group/CDN endpoint.
I get this error while deploying, however:
2018-12-11T14:10:00.4199087Z ##[section]Starting: Purge Azure CDN Endpoint
2018-12-11T14:10:00.4202235Z ==============================================================================
2018-12-11T14:10:00.4202319Z Task : Purge Azure CDN Endpoint
2018-12-11T14:10:00.4202400Z Description : Purge Azure CDN Endpoint
2018-12-11T14:10:00.4202447Z Version : 1.0.1
2018-12-11T14:10:00.4202489Z Author : Fabien Lavocat
2018-12-11T14:10:00.4202556Z Help : [More Information](https://github.com/FabienLavocat/vsts-tasks)
2018-12-11T14:10:00.4202617Z ==============================================================================
2018-12-11T14:10:01.4051354Z ##[command]Import-Module -Name C:\Program Files\WindowsPowerShell\Modules\AzureRM\2.1.0\AzureRM.psd1 -Global
2018-12-11T14:10:06.2116130Z ##[warning]The names of some imported commands from the module 'AzureRM.Websites' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
2018-12-11T14:10:06.2126984Z ##[warning]The names of some imported commands from the module 'AzureRM' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
2018-12-11T14:10:06.3080674Z ##[command]Import-Module -Name C:\Users\VssAdministrator\Documents\WindowsPowerShell\Modules\AzureRM.profile\5.8.2\AzureRM.profile.psd1 -Global
2018-12-11T14:10:06.8870954Z ##[command]Add-AzureRMAccount -ServicePrincipal -Tenant *** -Credential System.Management.Automation.PSCredential
2018-12-11T14:10:08.2602816Z ##[command]Select-AzureRMSubscription -SubscriptionId [id] -TenantId ***
2018-12-11T14:10:08.4081998Z ##[command]Unpublish-AzureRmCdnEndpointContent -ResourceGroupName DefaultResourceGroup -ProfileName DefaultProfile -EndpointName [endpoint] -PurgeContent [path]
2018-12-11T14:10:08.6890367Z ##[error]Method 'AuthenticateAsync' in type 'Microsoft.Azure.Commands.Common.Authentication.KeyStoreApplicationCredentialProvider' from assembly 'Microsoft.Azure.Commands.Common.Authentication, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation.
2018-12-11T14:10:08.7176768Z ##[section]Finishing: Purge Azure CDN Endpoint
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.