Code Monkey home page Code Monkey logo

Comments (3)

zmerlynn avatar zmerlynn commented on May 12, 2024

Do you want to store the deployment at all if the expansion fails? I was just surprised by:

$ dm deploy templates/spark/v1/spark.yaml
2015/11/19 16:45:55 cannot deploy configuration named spark.yaml: status code: 400 status: 400 Bad Request : cannot expand template named spark.yaml (template expansion: expandybird response:
error expanding template: error expanding template spark.yaml: Traceback (most recent call last):
  File "./expansion/expansion.py", line 372, in <module>
    main()
  File "./expansion/expansion.py", line 369, in main
    print Expand(template, imports, env=env, validate_schema=validate_schema)
  File "./expansion/expansion.py", line 57, in Expand
    raise ExpansionError('config', str(e))
__main__.ExpansionError: unexpected '}' Resource: config
):
imports:
- path: spark.jinja

resources:
- name: spark
  type: spark.jinja


zml@zml:~/deployment-manager$ dm deploy templates/spark/v1/spark.yaml 
2015/11/19 16:49:12 cannot deploy configuration named spark.yaml: status code: 400 status: 400 Bad Request : Deployment spark.yaml already exists

from helm.

vaikas avatar vaikas commented on May 12, 2024

Yeah, so the thinking was that the flow would be deploy, if it fails, you'd look at the errors and update. However, if it seems like it's more natural to fail fast and not even create a deployment, I can change the semantics. Unless somebody complains loudly about this, I can make the change.

from helm.

bmelville avatar bmelville commented on May 12, 2024

That change will be hard to keep around once we move to an asynchronous API.

On Mon, Nov 23, 2015 at 11:46 AM, vaikas-google [email protected]
wrote:

Yeah, so the thinking was that the flow would be deploy, if it fails,
you'd look at the errors and update. However, if it seems like it's more
natural to fail fast and not even create a deployment, I can change the
semantics. Unless somebody complains loudly about this, I can make the
change.


Reply to this email directly or view it on GitHub
#79 (comment)
.

from helm.

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.