Comments (8)
In gitlab by @treeder on May 26, 2017, 11:10
This happens so often, seems like it would be an annoyance to force this.
from fn.
In gitlab by @carimura on May 26, 2017, 11:14
I'm worried about destruction of production apps on accident.... so...easy.
from fn.
In gitlab by @hibooboo2 on May 26, 2017, 11:17
Could have a flag that you put on apps / routes that label them as prod and require confirmation / force...
from fn.
In gitlab by @treeder on May 26, 2017, 11:52
Wouldn't everyone just always use --force
then? The only time you wouldn't would be the first time you create the route.
from fn.
In gitlab by @carimura on May 26, 2017, 11:53
@hibooboo2 that feels like an interesting middle ground... @treeder I wouldn't want my prod routes easily overwritable, especially if the name of the function is something completely different than what it was before.
from fn.
In gitlab by @hibooboo2 on May 26, 2017, 11:56
@treeder If users choose to always --force that is on them. Take git for example. you can git push or you can git push --force
from fn.
In gitlab by @treeder on May 26, 2017, 12:11
@hibooboo2 Totally different things. Although if git push --force
was required to do any push, then maybe this would be similar, but that would make git really annoying.
Setting a flag on production to allow pushes without --force
might be OK, but again, then you just add --force to your scripts and it wouldn't prevent anything.
The real way to prevent mistakes is to to push to production through CI/CD. Most likely that would be the only way for an important app. And only the CI user would have access to push to prod.
from fn.
In gitlab by @hibooboo2 on May 26, 2017, 12:44
This is true that that is a better way... My point was just that gits --force has to be used for destructive things. So maybe you only need to force if the image name changed for a route or the timeout or the format etc.. but if it is just bumping the image to a new version it doesn't require force...
That kinda thing.
from fn.
Related Issues (20)
- "No Consumer text/html"
- [fnserver] `fn invoke myapp hello` on Windows: Error invoking function. status: 502 message: Container failed to initialize HOT 13
- @FnConfiguration not able to run when i'm setting in child class
- No new commits?
- Support for OCI fss
- Fn function times out before the actual timeout HOT 3
- Error on Debian 10: Cannot get the proper memory information to size server.
- Deploy without building
- fn create app myapp errors out with "read: connection reset by peer" HOT 1
- Project Status
- ARM binaries / ARM Docker images HOT 2
- fnserver container has no access to internal cluster network - cannot ping mysql database
- Wrong time zone in fn logs HOT 2
- fn - ERROR - Could not find config file HOT 1
- Is this project DEAD? HOT 6
- External API invocation is failing with 502 error
- Project Discontinuation? HOT 1
- Vulnerability of dependency "golang.org/x/text" HOT 2
- Is there any way to set the go runtime env $GORPOXY?
- How to import a JavaScript file located outside the directory of a function with Node.js?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fn.