Skip to content

Releases: bibendi/dip

7.0.0

31 Mar 10:20
Compare
Choose a tag to compare
  • Remove Travis CI, use Github Actions
  • Set minimum Ruby version to 2.5
  • Lint with Standard
  • Implement command execution through shell. Now you can any complex command, e.g. calling shell subcommands command: echo $(pwd)
  • Don't replace non-environment variables
  • Allow running a command on the host. Now you can define a command without a service key to be running on the host like a local command.
gem install dip -v 7.0.0

The compiled binary is no more provided since version 7, because of new version of Ruby Packer not released for a long time with the recent Ruby version. Also, there was a lot of work to prepare each release of Dip for MacOS version.

6.1.0

19 Aug 18:08
Compare
Choose a tag to compare
  • New parameter for dip ssh add command #89
gem install dip -v 6.1.0

or

curl -L https://github.com/bibendi/dip/releases/download/v6.1.0/dip-`uname -s`-`uname -m` > /usr/local/bin/dip
chmod +x /usr/local/bin/dip

6.0.0

17 May 08:34
ca4895e
Compare
Choose a tag to compare
  • BREAKING Set minimum Ruby version to 2.4 #85
  • Don't raise an exception when some main config key is missing #84
  • Allow to pass --project-directory to docker-compose command #87
gem install dip -v 6.0.0

or

curl -L https://github.com/bibendi/dip/releases/download/v6.0.0/dip-`uname -s`-`uname -m` > /usr/local/bin/dip
chmod +x /usr/local/bin/dip

5.0.0

24 Feb 10:28
de44ad2
Compare
Choose a tag to compare

Nothing changed from v5.0.0.rc1.

  • Added ConfigFinder to traverse parent directories (#79)
  • Added $DIP_WORK_DIR_REL_PATH special environment variable to change the working dir

Example:

dip.yml

environment:
  WORK_DIR: /app/${DIP_WORK_DIR_REL_PATH}

docker-compose.yml

services:
  app:
    working_dir: ${WORK_DIR:-/app}
  • Added an ability to add interaction commands coinciding with Ruby keywords
  • Added an ability to publish container's ports to the host
dip run -p 3000:3000 bundle exec rackup config.ru 
  • BREAKING: docker-compose config files paths now are relative to dip.yml directory, not to a working directory
gem install dip -v 5.0.0

or

curl -L https://github.com/bibendi/dip/releases/download/v5.0.0/dip-`uname -s`-`uname -m` > /usr/local/bin/dip
chmod +x /usr/local/bin/dip

5.0.0.rc1

11 Jan 13:44
9e803c7
Compare
Choose a tag to compare
5.0.0.rc1 Pre-release
Pre-release
  • Added ConfigFinder to traverse parent directories (#79)
  • Added $DIP_WORK_DIR_REL_PATH special environment variable
  • Added an ability to add interaction commands coinciding with Ruby keywords
  • Added an ability to publish container's ports to the host
  • BREAKING: docker-compose config files paths now are relative to dip.yml directory, not to a working directory
gem install dip -v 5.0.0.rc1
curl -L https://github.com/bibendi/dip/releases/download/v5.0.0.rc1/dip-`uname -s`-`uname -m` > /usr/local/bin/dip
chmod +x /usr/local/bin/dip

4.2.0

06 Nov 06:50
1b27ef6
Compare
Choose a tag to compare
  • Added CLI options allowing to mount SSL certificates into an nginx container.
gem install dip -v 4.2.0
brew install bibendi/dip/dip
curl -L https://github.com/bibendi/dip/releases/download/v4.2.0/dip-`uname -s`-`uname -m` > /usr/local/bin/dip
chmod +x /usr/local/bin/dip

4.1.0

23 Oct 12:07
3bf5481
Compare
Choose a tag to compare
  • Added a key default_args to the command schema.

Usage example:

interaction:
  psql:
    description: Run Postgres psql console
    service: postgres
    default_args: db_dev
    command: psql -h postgres -U postgres

Now, db_dev database name will be passed to the end of the command unless it has typed manually.

gem install dip -v 4.1.0
brew install bibendi/dip/dip
curl -L https://github.com/bibendi/dip/releases/download/v4.1.0/dip-`uname -s`-`uname -m` > /usr/local/bin/dip
chmod +x /usr/local/bin/dip

4.0.1

22 Oct 14:14
9e6443c
Compare
Choose a tag to compare
  • Fixed a bug when using shorthanded run commands.
gem install dip -v 4.0.1
brew install bibendi/dip/dip
curl -L https://github.com/bibendi/dip/releases/download/v4.0.1/dip-`uname -s`-`uname -m` > /usr/local/bin/dip
chmod +x /usr/local/bin/dip

4.0.0

22 Oct 10:48
27d807e
Compare
Choose a tag to compare
  • BREAKING CHANGE: Dropped support for old Ruby less than 2.3.
  • Added endless nesting of sub-commands.
    Now you can catch a command deeper:
    interaction:
      cmd:
        subcommands:
          foo:
            subcommands:
              bar:
  • Added description key to a command.
  • Added dip ls command to list all available run commands.
    dip ls
    
    bash     # Open the Bash shell in app's container
    rails    # Run Rails command
    rails s  # Run Rails server at http://localhost:3000
  • Added a check of Dip version required by a config.
    # Required minimum dip version
    version: '4'
  • Added nesting to compose options. compose_run_method and compose_run_options moved under compose: method:, run_method:. Added backward compatibility.
    sidekiq:
      description: Run sidekiq in background
      service: worker
      compose:
        method: up
        run_options: [detach]
  • Updated README
gem install dip -v 4.0.0
brew install bibendi/dip/dip
curl -L https://github.com/bibendi/dip/releases/download/v4.0.0/dip-`uname -s`-`uname -m` > /usr/local/bin/dip
chmod +x /usr/local/bin/dip

3.8.3

24 Jul 09:06
9719b49
Compare
Choose a tag to compare
  • Fixed regression when passing env vars through argv (e.g. dip VERSION=20190101 rake db:migrate:down)
gem install dip -v 3.8.3
curl -L https://github.com/bibendi/dip/releases/download/v3.8.3/dip-`uname -s`-`uname -m` > /usr/local/bin/dip
chmod +x /usr/local/bin/dip