Git Product home page Git Product logo

Comments (4)

edanaher avatar edanaher commented on August 16, 2024

IIRC, the idea was that the manifest should specify required dependencies, so we can check that at deploy time instead of the running service mysteriously failing because dependencies don't exist.

On the other hand, the actual dependencies need to be set via Manager configuration, since they're environment-dependent.

So my instinct is that what we have now is actually a reasonable solution, unless we can somehow detect required dependencies from the application automatically. (This may actually be possible - we could require dependencies to be read via a special library that we could actually run at build time to determine required dependencies...)

from atlantis-manager.

alekar avatar alekar commented on August 16, 2024

I agree, this is a knee-jerk response to some debugging where teams forgot to add dependencies in the manifest. It took a bit to hunt this down, since the dependencies resolve correctly in the UI but were not available in the container.

How about we always resolve all dependencies as specified in the manager? After all have resolved, if there are any missing, we can refuse to deploy. I know you are going to say that this is no better: a dependency the application requires, but the developers missed adding in the manifest will cause different problems.

Perhaps a notification if there is a mismatch between dependencies in zk and in the manifest?

from atlantis-manager.

edanaher avatar edanaher commented on August 16, 2024

I know we (possibly Jigish and I) discussed adding warnings in the UI if dependencies exist in the manager but aren't in the manifest. I think that would resolve most issues in practice; we just haven't done it yet.

from atlantis-manager.

alekar avatar alekar commented on August 16, 2024

Good thing we have an issue for it now.

from atlantis-manager.

Related Issues (5)

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.