Comments (5)
I thought that
deis create
would have created a remote repo that I could then point to locally in a separate step if I so wished.
For what it's worth, this is do-able, but it requires flipping on a few extra option flags (again, tooting the "Heroku compatibility" horn again):
$ deis create myappname --no-remote
$ deis git:remote --app myappname
This missing functionality in the ticket is the one gap in the matrix we've probably missed in future Heroku updates.
from workflow-cli.
Part of why I found this confusing wasn't just the difference with Heroku's behaviour, it was also conceptual. I'm creating a deis app on a remote box - It didn't seem obvious to me that my location in a local shell would affect that.
I though that deis create
would have created a remote repo that I could then point to locally in a separate step if I so wished.
Example work flow
# create deis app for my service
$ deis create
$ cd my-service
$ git remote add production PATH_TO_DEIS_REPO
Many thanks to all the team @deis, I've been delighted with it all!
from workflow-cli.
Ah I can understand that point of view. While there is a remote git repository stored at the builder, I wouldn't rely on it as a persistent git repo store for your application source code. Leave that for GitHub/BitBucket/your own git server etc.
If the builder is rebooted, the repositories are gone because we don't have them backed by persistent disk or anything. The database WAL logs, registry images, built Heroku tarballs, and build caches are, though. The git repos in the builder are created on-the-fly when you push the local contents of the repository to the builder via git push deis
, so they aren't created on builder's end when you do a deis create
, either.
Again, this is similar to Heroku... However they DO store it persistently, but nobody in reality uses Heroku as their backing store for their git repos because it requires deploying your app to Heroku on EVERY push, even if you want to push in-progress branches.
Does that help clarify some things?
from workflow-cli.
Absolutely, though I never intended to use the git repo for a source control, just as a deployment pathway.
from workflow-cli.
This issue was moved to teamhephy/workflow-cli#9
from workflow-cli.
Related Issues (20)
- Buildpack for Ruby fails to parse a particular syntax HOT 3
- use go-rootcerts to support custom PKI on darwin HOT 3
- deis config should handle base64 encoded SSH_KEY
- master branch not building; codecov issue? HOT 1
- Custom HTTP-Headers for Readiness-Checks ignored HOT 2
- Support Heroku app.json file HOT 2
- config:push with .env doesn't handle export or double quotes HOT 4
- feat(client): Teach option flag for tracing requests HOT 2
- config:push with .env does not support multline HOT 11
- Publisher fails to parse HEALTHCHECK_INITIAL_DELAY if the value contains `\r` HOT 2
- Add config:diff
- [Feature request] Automatic deis profile selection based on git remote HOT 1
- Move workflow-cli binaries to Azure Blob Storage HOT 1
- Get rid of stdin for deis config:push HOT 2
- Consider disabling automatic Procfile lookup for deis pull HOT 2
- apps:destroy should have a more explicit help message HOT 5
- deis releases returns requested URL not found HOT 5
- deis registry:unset unauthorized HOT 4
- Url : permission denied HOT 1
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 workflow-cli.