Azure / Azure/Azure-Functions

Existing files should be removed when switching from portal created JavaScript functions to GitHub deployed functions

Open
#920 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

Repro:

Create a JS function on Azure on a new Function App (HttpTriggerJS1 in my case):
screen shot 2018-08-24 at 5 09 46 pm

Create a new repo on GitHub, configure the Function App to be deployed by that repo, and kick off a deployment by commiting a locally created JavaScript function to the repo (called httpTrigger in my case):
screen shot 2018-08-24 at 5 12 47 pm

Once the deploy is finished you will see both functions there, meaning the old content that was there from when it was created from the portal was not removed as part of the deployment:
screen shot 2018-08-24 at 5 12 54 pm

Customer's expectation was that the code coming from GitHub would be the source of truth and old functions created via the portal would be removed

This might happen with CSX too but haven't tested.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.