Allow path attribute in a manifest to be a remote file
Allow the path attribute in a manifest to be a remote file, for example from an artefact server or similar.
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/72401448.
Curious, what's the use case here, @bendodd ? Have you setup a build system for an app such that when it completes you want to cf push the app from the remote server that stores the final built artifacts?
We've tried really hard to make scripting v6 of the CLI easy, so I'm curious why you'd want this behavior baked into the CLI? From what I've learned about pushing apps to CF, I don't think we'd be able to do anything clever, we'd still need to download the entire app to your machine (although we could clean up afterwards). For example, if you had a 10GB app and you only have 256MB free on your hard drive, cf push with a path to a remote file still wouldn't work.
The reason I'm asking so many (potentially silly) questions is that this is a very different use case from what we've seen and heard of other users doing, so I'd like to know as much about what you're doing as possible to ensure we understand your use case and needs.
@tjarratt I have a distributed platform, consisting of 10-12 micro apps, which I'd like to be able to deploy based on a single multi-application manifest file. This would be especially useful when testing, I.e. to be able to deploy a new version of one of the apps, and deploy the rest from a known good state.
I can, of course, do the tooling work to checkout/fetch all the apps and then use a single manifest, but I was hoping to avoid this, should other people be doing similar things.
Oh that's interesting. That's not too dissimilar to what a few other users do with multiple application manifests. Thank you so much for explaining that!
Do these micro apps communicate with each other? Is that configured through the manifest or some other mechanism?
They either communicate by sharing services (via queues/workers) or RESTfully using URLs defined in env vars in the manifest
Pinging @lcddave to reply.
I'm going to keep this issue open now since we don't have a story for it yet, but it is an input we want to have in future manifest work.
@bendodd Is this request still in play? Or have you found a better methodology to accomplish the same objective? There's been no progress on this in the 5 months since the last update so I'm trying to understand current status & current need. Thanks
@goehmen I still think this functionality would be useful (especially if the app is then download directly by CF - i.e. not via the client and the host computer - although I appreciate the complexity of this approach)
Closing for now. Please follow the Tracker story for updates on progress.
We have an use case where our app can deploy other applications themselves, and we don't ship the zips/jars with the app. We have this functionality in Marathon and it would be really helpful. For now we're going to have to remediate by doing this with scripting or in code until the feature is developed.
There is an use case where a user needs to push artifacts from a remote site, such as cf push try -p https://abc.net/sample-1.0.jar so we would like to reopen this feature request.
Thanks @Agraham21 reopening this issue.
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/163795830
The labels on this github issue will be updated when the story is started.
Hi @bendodd thanks for creating this issue. There is a feature narrative for Build Service which might support this use case. Please comment or provide feedback here. Build service support is likely to happen on the V7 CLI.
Any updates on this please....
Looping in CC API team. On v3 API, the manifest is handled by the CAPI team (cc @ssisil @selzoc).
Hi @arnavjain82 I think that any support for remote file paths will come via the build service/kpack integration, which are just starting to explore now!
Thanks, Chris
Hi @selzoc Can it be done for cf cli also please> Need this functionality to work with cf push.