Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI "Save As" or "Clone" for a function, or function app to get local clones for sync with azure portal or Allow publishing the same function multiple times with different name #115

Closed
tmtso opened this issue Apr 13, 2017 · 4 comments

Comments

@tmtso
Copy link

tmtso commented Apr 13, 2017

While working with CLI and publishing my function for different customer, they asked me to provide the function twice (one for their productive settings and one for their development).
Afaik I have no option to publish the same function twice without copying the whole project and rename it, which makes it necessary to make double work if I want to change something in my code.

So a new feature request would be to make it possible to upload a function twice and the possibility to rename the function in this process to see the difference inside the portal.

@SteveALee
Copy link

@tmtso

Probably a more general CLI "Save As" or "Clone" for a function, or rather function app, might be more useful to get a local clone that you can then sync.

However, I think this use case is really part of the broader topic of needing the App Service deployment slots feature to work with functions.

You could add your +1 to Azure/Azure-Functions#45

BTW have you seen this on CI?- https://docs.microsoft.com/en-us/azure/azure-functions/functions-continuous-deployment.

@tmtso
Copy link
Author

tmtso commented Apr 13, 2017

@SteveALee

Yeah, that's my first post here on Github (and english is not my native language^^) so I will take your text and rewrite my entry post.

I looked at CI and my problem with this is, that I'm deploying from my TFS but can't connect other customers which have their own azure portal (maybe I'm doing something wrong, but atm I'm using the normal publish feature to deploy to our customers)

@tmtso tmtso changed the title Allow publishing the same function multiple times with different name CLI "Save As" or "Clone" for a function, or function app to get local clones for sync Apr 13, 2017
@tmtso tmtso changed the title CLI "Save As" or "Clone" for a function, or function app to get local clones for sync CLI "Save As" or "Clone" for a function, or function app to get local clones for sync with azure portal Apr 13, 2017
@tmtso tmtso changed the title CLI "Save As" or "Clone" for a function, or function app to get local clones for sync with azure portal CLI "Save As" or "Clone" for a function, or function app to get local clones for sync with azure portal or Allow publishing the same function multiple times with different name Apr 13, 2017
@SteveALee
Copy link

SteveALee commented Apr 13, 2017

@tmtso oh wow, there was no need at all to rewrite your issue! I was not in anyway criticizing your post. Your English is excellent. Rather, I was just commenting and giving some additional thoughts from my perspective!

I'm not a TFS user so I you know much more than me. :)

I'm not part of the Azure team and I'm sure they will have firm views on the matter given their plans ;) Keep on posting as they seem to like it!

@lindydonna
Copy link
Contributor

@SteveALee is right, you'd want to deployment slots for this feature. I'm closing this issue, as it's not directly related to the CLI.

We're actively working on deployment slots.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants