Comments (6)
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: http://www.pivotaltracker.com/story/show/65676896
from cli.
When the manifest file start with --, the error happens after running cf push, see the image attached
from cli.
Hi, @betty-qe,
Thanks for the error report! Is simply having that '--' on the first line of the manifest file sufficient to reproduce this bug? If not, could you please provide a minimal example of a manifest file and app that exhibits this failure?
-CF Community Pair (@ematpl & @mmb)
from cli.
Hi Eric,
The bug was reproduced having ‘--’ on the first line, today I’ve been isolate it a little more and I found that when you enter an invalid parameter like: ‘--', ‘-122’, ‘-eunc’, special character ($$%^), the error happens after running cf push. This seems that when cf push is entered with a invalid line into manifest file, CF is not validating this.
By the way, I have a problem when I try to add an app on Cloud Foundry, I’ve been trying to add this apps (spring-hello-env) using following command:
$ cf push app-hello –b https://github.com/cloudfoundry-samples/spring-hello-env
I tried to add the apps using manifest file:
applications:
- name: spring-env
memory: 512M
instances: 1
host: spring-env-test
url: cfapps.io
path: .
But I got the same error.
Please let me know if you can help me with error mentioned above.
Thanks in advance
from cli.
Hi, @betty-qe,
Thanks for the confirmation on how to reproduce this error. We'll move the tracker story over to the CLI team to address this.
Also, with regard to your problem pushing an app, it looks like you're specifying your app bits as your buildpack (with that -b option). If you're pushing a sample Java app, you might find the instructions on our documentation site helpful. Good luck!
-CF Community Pair (@ematpl & @mmb)
from cli.
Thanks, @betty-qe. I just verified that we'll properly error out if given something other than '---' on the first line. You can grab an updated binary here: https://github.com/cloudfoundry/cli#edge-releases-master
from cli.
Related Issues (20)
- Unmapping route: Something unexpected happened. HOT 3
- Typo in the V8 CLI Installation Guide wiki HOT 1
- Display service offerings metadata
- cf cli slow in large space due to page size of 50 when calling CF API
- 'cf a' should print out available information even if an app process was not found HOT 1
- service key as true JSON
- Publish json schema for cf manifest as to enable IDE coding assist features (completion, syntax validation, inline doc) HOT 1
- Update the cli libraries HOT 1
- Using `cf create-service` with v8 CLI does not consider current targeted space HOT 2
- Output CPU Entitlement metrics rather than the old CPU metric HOT 14
- cf restart [APP] --strategy rolling - getting timeout in spite CF_STARTUP_TIMEOUT env variable set to 15 minutes HOT 2
- `{{` in App Environment Variable values break the `cf env` command HOT 2
- CLI V8 fails to install with the official installation method for Debian and Fedora HOT 13
- CLI V8 fails to install on debian with official installation method HOT 1
- "--wait" option doesn't take effective when "cf update-service"
- More-inclusive name for command HOT 1
- parallel invocation of cf oauth-token sporadically leads to io errors HOT 2
- Getting Certitificate Error While installing the cf cli using azure Market Place HOT 1
- Expired Certitificate Azure Pipeline HOT 2
- We are facing issue in Azure DevOps release pipeline in a pne of the task to install cloud Foundry CLI
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 cli.