Giter Club home page Giter Club logo

dicon's People

Contributors

ericmj avatar lexmag avatar whatyouhide avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dicon's Issues

Versioned structure

Make dicon.deploy task to require second argument (version) and provide new structure:

<target_dir>/<version>

Introduce dicon.switch (creates symlink to <target_dir>/current) and probably dicon.versions.

SSH connection timing out too soon

** (MatchError) no match of right hand side value: {:error, :timeout}

This can happen because it takes time to stop the running application (dicon.control stop) or whatever, I think we need a longer timeout for a start.

Chunk size upper limit

If the chunk size is >= 262120, :ssh_sftp.write/4 fails with {:error, {:exit_status, 11}} (11 means "File already exists" in SFTP, so definitely not helpful ๐Ÿ˜„).

We should likely have fixed-size chunks and calculate the percentages for the progress bar in a slightly smarter way.

Per-host and global application environments

Example use case: we have an application to deploy that connects to Cassandra. We want to deploy it on two machines, and we want each running instance of the application to connect to a different Cassandra node. We want to of course build the release once, deploy the archive once, then change the config.

This can be solved by taking advantage of the -Application Par Val command-line args (http://erlang.org/doc/man/erl.html) we can pass to the app executable in the release when performing commands through mix dicon.control.

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.