Code Monkey home page Code Monkey logo

Comments (6)

cf-gitbot avatar cf-gitbot commented on July 21, 2024

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.

betty-qe avatar betty-qe commented on July 21, 2024

When the manifest file start with --, the error happens after running cf push, see the image attached
selection_225

from cli.

emalm avatar emalm commented on July 21, 2024

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.

betty-qe avatar betty-qe commented on July 21, 2024

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

But I got following error:
selection_226

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.

emalm avatar emalm commented on July 21, 2024

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.

scottruitt avatar scottruitt commented on July 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.