Git Product home page Git Product logo

vsts-tasks's People

Contributors

fabienlavocat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vsts-tasks's Issues

Purge takes several minutes to complete

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?

Service connection on error

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

Warning in Pipeline

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:
https://i.imgur.com/LETx8Hn.png

Is it maybe something on my side?

Purge reports a warning

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

bilde

[error]Operation returned an invalid status code 'NotFound'

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

Long running operation failed with status 'Failed'.

As you can see in the images, I got the error "Long running operation failed with status 'Failed'." but the task ends succesfully.

001

Here the task's log.
002

I know that the error is thrown by the comand "Unpublish-AzureRmCdnEndpointContent" but shouldn't the task fail?

'AuthenticateAsync' error

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.