Giter VIP home page Giter VIP logo

azure-functions-devops-build's People

Contributors

dolko avatar francisco-gamino avatar microsoft-github-policy-service[bot] avatar spboyer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

azure-functions-devops-build's Issues

Azure devops build fails to deploy python function

I am trying to deploy a python function to Azure function app using Linux ubuntu-18.04 agent.
It is failing with below error

Syncing triggers...
Request:
Method: POST, RequestUri: 'https://management.azure.com/subscriptions/XXXXXXXX/resourceGroups/XXXXX/providers/Microsoft.Web/sites/YYYYYYY/hostruntime/admin/host/synctriggers?api-version=2015-08-01', Version: 2.0, Content: System.Net.Http.StringContent, Headers:
{
Authorization:
User-Agent: functions-core-tools/2.7.1724
Accept: application/json
x-ms-request-id: b9f510cb-a473-4885-90df-7bf7de5dd730
Content-Type: application/json; charset=utf-8
}
null

Response:
StatusCode: 400, ReasonPhrase: 'Bad Request', Version: 1.1, Content: System.Net.Http.HttpConnection+HttpConnectionResponseContent, Headers:
{
Cache-Control: no-cache
Pragma: no-cache
Strict-Transport-Security: max-age=31536000; includeSubDomains
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
x-ms-ratelimit-remaining-subscription-writes: 1198
x-ms-request-id: a98cd971-21f5-42d0-9011-e944e847e5ed
x-ms-correlation-request-id: a98cd971-21f5-42d0-9011-e944e847e5ed
x-ms-routing-request-id: CENTRALUS:20191019T015647Z:a98cd971-21f5-42d0-9011-e944e847e5ed
X-Content-Type-Options: nosniff
Date: Sat, 19 Oct 2019 01:56:46 GMT
Content-Length: 331
Content-Type: application/json; charset=utf-8
Expires: -1
}
{"Code":"Unauthorized","Message":"Encountered an error (Forbidden) from extensions API.","Target":null,"Details":[{"Message":"Encountered an error (Forbidden) from extensions API."},{"Code":"Unauthorized"},{"ErrorEntity":{"Code":"Unauthorized","Message":"Encountered an error (Forbidden) from extensions API."}}],"Innererror":null}

Add PowerShell Support

add the ability to create a pipeline for a PowerShell function
@ahmedelnably will check the needed steps and circle back with requirements

Target Milestone: Azure CLI Milestone 59

Unable to correctly deploy function with sample_yaml_builds/dotnet-windows.yml

I am using sample_yaml_builds/dotnet-windows.yml as a template for building and publishing an azure function project in Azure DevOps. I am not building and deploying in the same step, rather I intend to publish the zip file as a build artifact and deploy from a separate pipeline.

I have both pipelines (build and deploy) set up, and they both run successfully, however I am unable to see my functions through azure portal after deployment. The portal does show that a package has been deployed and even correctly indiactes the build from which it is deployed. However the functions are not available.

I examined my build artifact and compared that to the results of publishing to a folder from Visual Studio and found that the build artifact zip contained an additional root folder (with the same name as my solution file) that then contained the published outputs; the results of publishing to a folder from VS did not contain this additional directory layer.

I modified my build file, setting modifyOutputPath: false for the DotNetCoreCLI task, and this result was then consistent with VS publish. The new artifact deployed successfully to Azure with expected results.

I am submitting this issue for repro with the suggestion that modifyOutputPath be set to false if generated build artifacts do not deploy as expected

Add support for slots

in the publish step we can add the following to support slots
note that slots is not supported in Linux conusmption

deployToSlotOrASE: true
resourceGroupName: 'funcgbbdemocli'
slotName: 'stage'

User does not have access to MSA created organization

When creating an organization in Azure CLI with a Microsoft account (not an Azure Active Directory account), I don't have access to my own Azure Devops projects.

Everytime when I try to create one, an error message shows up:
TF400813: The user 'Windows Live ID\[email protected]' is not authorized to access this resource.

This may due to the organization creation process does not have "X-VSS-ForceMsaPassThrough" header set in the VSTS API request.

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.