Releases: bibendi/dip
Releases · bibendi/dip
7.0.0
- 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
6.0.0
- 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
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
- 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
- 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
- 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
4.0.0
- 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
andcompose_run_options
moved undercompose: 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
- 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