From e97b7ddbda8d1bbaf2a9732475b94fd0ab916adb Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Wed, 6 Jan 2016 14:27:23 -0200 Subject: [PATCH 01/28] Bump up to 1.0.0 --- mk-image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk-image b/mk-image index b820990..ec84892 100755 --- a/mk-image +++ b/mk-image @@ -2,7 +2,7 @@ set -e -tag='v0.4.0' +tag='v1.0.0' echo "===> Building fgrehm/devstep:${tag}" docker build -t fgrehm/devstep:${tag} . From 4028b0845371000eceac28d9aa1b1168e23016b9 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Wed, 6 Jan 2016 14:30:31 -0200 Subject: [PATCH 02/28] Remove noisy comments --- Dockerfile | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2004661..cf2951c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,33 +9,16 @@ ENV HOME=/home/devstep \ LC_ALL=en_US.UTF-8 \ LC_CTYPE=en_US.UTF-8 -##################################################################### -# Copy over our build scripts ADD image/ /tmp/build - -##################################################################### -# Install required packages and do some additional setup RUN /tmp/build/prepare.sh -##################################################################### -# Devstep goodies (ADDed at the end to increase image "cacheability") ADD stack $DEVSTEP_PATH -RUN for script in $DEVSTEP_PATH/buildpacks/*/bin/install-dependencies; do \ - $script; \ - done - -##################################################################### -# Fix permissions and set up init -RUN /tmp/build/fix-permissions.sh +RUN for script in $DEVSTEP_PATH/buildpacks/*/bin/install-dependencies; do $script; done \ + && /tmp/build/fix-permissions.sh -##################################################################### -# Setup default user USER developer ENV USER developer -##################################################################### -# Use our init ENTRYPOINT ["/opt/devstep/bin/entrypoint"] -# Start a bash session by default CMD ["/bin/bash"] From 63ebf2027bbb04fc4f4625fa4d82109887ab1ef7 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Wed, 6 Jan 2016 14:31:18 -0200 Subject: [PATCH 03/28] Happy new year :fireworks: --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index a4c9bc4..006a992 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2014 Fabio Rehm +Copyright (c) 2014-2016 Fabio Rehm Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in From 7e73d22715b1b14cdb8db96b335279ed0c6a0b09 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Wed, 6 Jan 2016 14:32:00 -0200 Subject: [PATCH 04/28] I havent used devstep to work on this project for a while now --- devstep.yml | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 devstep.yml diff --git a/devstep.yml b/devstep.yml deleted file mode 100644 index 42eea87..0000000 --- a/devstep.yml +++ /dev/null @@ -1,11 +0,0 @@ -privileged: true -volumes: - # FIXME: This only work on my machine - - '{{env "HOME"}}/devstep/development/docker:/var/lib/docker' - - '{{env "HOME"}}/projects/oss/devstep-examples:/devstep-examples' - - '{{env "HOME"}}/projects/oss/devstep-cli/build/linux_amd64:/home/devstep/bin/devstep' -commands: - make: - # No custom options -provision: - - ['configure-addons', 'docker'] From 2adeaa4544cb8d281b70ec644f14a7754c7951aa Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Wed, 6 Jan 2016 14:41:39 -0200 Subject: [PATCH 05/28] Remove postgresql / mysql clients and tmux --- CHANGELOG.md | 6 ++++++ image/prepare.sh | 7 ------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d2339e..26c1c04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [1.0.0](https://github.com/fgrehm/devstep/compare/v0.4.0...next) (unreleased) + +BREAKING CHANGES: + - baseimage: Removed PostgreSQL and MySQL clients + - baseimage: Removed tmux + ## [0.4.0](https://github.com/fgrehm/devstep/compare/v0.3.1...v0.4.0) (2015-07-06) BREAKING CHANGES: diff --git a/image/prepare.sh b/image/prepare.sh index 44ae294..8cb1e20 100755 --- a/image/prepare.sh +++ b/image/prepare.sh @@ -2,14 +2,10 @@ set -e - ##################################################################### -# * Install and configure PostgreSQL and MySQL clients # * Install bash-completion to save us a few keystrokes # * Install vim because editing files with plain old vi sucks # * Install `htop` because it has a nicer UI than plain old `top` -# * Install tmux so that we can run lots of shells within the same -# bash session (without the need of running through SSH) # * Install nodejs for Rails apps, Bazaar and Mecurial for Golang projects # (will be installed on demand by buildpacks on a future release) # * Python and runit are dependencies for our init script based on @@ -20,13 +16,10 @@ apt-get install -y --force-yes --no-install-recommends \ libreadline5 \ libmcrypt4 \ libffi-dev \ - postgresql-client \ - mysql-client \ sqlite3 \ libsqlite3-dev \ vim \ htop \ - tmux \ mercurial \ bzr \ nodejs-legacy \ From 9672fabb5480ff7d06063a90bafe49d5f6965906 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Wed, 6 Jan 2016 14:43:31 -0200 Subject: [PATCH 06/28] buildpacks/ruby: Set default to 2.3.0 and bundler to 1.11.2 --- docs/buildpacks/ruby.md | 4 ++-- stack/buildpacks/ruby/bin/compile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/buildpacks/ruby.md b/docs/buildpacks/ruby.md index 7e02ec2..8a5e5e3 100644 --- a/docs/buildpacks/ruby.md +++ b/docs/buildpacks/ruby.md @@ -6,8 +6,8 @@ use [Bundler](http://bundler.io/) for dependency management. It will be used if a `Gemfile` is found. The installed Ruby will be the same one that gets installed on Heroku's Cedar 14 -stack with a fallback to a Ruby from the Cedar stack. By default Ruby 2.2.2 and -Bundler 1.10.5 will be installed. +stack with a fallback to a Ruby from the Cedar stack. By default Ruby 2.3.0 and +Bundler 1.11.2 will be installed. To specify a Ruby version, use the [`ruby` directive](http://bundler.io/v1.6/gemfile_ruby.html) of your project's `Gemfile`, the `DEVSTEP_RUBY_VERSION` environmental variable or diff --git a/stack/buildpacks/ruby/bin/compile b/stack/buildpacks/ruby/bin/compile index 1f36486..b501e62 100755 --- a/stack/buildpacks/ruby/bin/compile +++ b/stack/buildpacks/ruby/bin/compile @@ -84,7 +84,7 @@ install_phantomjs() { DEVSTEP_RUBY_VERSION=${DEVSTEP_RUBY_VERSION:-$(version_from_ruby_version)} DEVSTEP_RUBY_VERSION=${DEVSTEP_RUBY_VERSION:-$(version_from_gemfile)} if [ -z "$DEVSTEP_RUBY_VERSION" ]; then - DEVSTEP_RUBY_VERSION='2.2.2' + DEVSTEP_RUBY_VERSION='2.3.0' echo "Unable to identify the project ruby version, setting to ${DEVSTEP_RUBY_VERSION}" fi @@ -118,7 +118,7 @@ fi source ${HOME}/.profile.d/ruby.sh -DEVSTEP_BUNDLER_VERSION=${DEVSTEP_BUNDLER_VERSION:-'1.10.5'} +DEVSTEP_BUNDLER_VERSION=${DEVSTEP_BUNDLER_VERSION:-'1.11.2'} if ! $(which bundle &> /dev/null); then tarball_path=$2/rubies/bundler-${DEVSTEP_BUNDLER_VERSION}.gem From 0ccae9126a77b78f68f6509a8767b6dc318e33b8 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Wed, 6 Jan 2016 14:46:20 -0200 Subject: [PATCH 07/28] buildpacks: Remove `bats` support --- CHANGELOG.md | 1 + docs/buildpacks/bats.md | 5 ----- docs/introduction.md | 1 - docs/template.html | 1 - stack/buildpacks/bats/bin/compile | 19 ------------------- stack/buildpacks/bats/bin/detect | 11 ----------- 6 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 docs/buildpacks/bats.md delete mode 100755 stack/buildpacks/bats/bin/compile delete mode 100755 stack/buildpacks/bats/bin/detect diff --git a/CHANGELOG.md b/CHANGELOG.md index 26c1c04..2fbc406 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ BREAKING CHANGES: - baseimage: Removed PostgreSQL and MySQL clients - baseimage: Removed tmux + - buildpacks: Removed `bats` ## [0.4.0](https://github.com/fgrehm/devstep/compare/v0.3.1...v0.4.0) (2015-07-06) diff --git a/docs/buildpacks/bats.md b/docs/buildpacks/bats.md deleted file mode 100644 index 0defe90..0000000 --- a/docs/buildpacks/bats.md +++ /dev/null @@ -1,5 +0,0 @@ -# Bats buildpack ----------------- - -This buildpack will install the latest release of [Bats](https://github.com/sstephenson/bats) -if a file with the `.bats` extension is found. diff --git a/docs/introduction.md b/docs/introduction.md index 5b1359f..2c41b38 100644 --- a/docs/introduction.md +++ b/docs/introduction.md @@ -64,7 +64,6 @@ _For more information please have a look at the [Dockerfile](https://github.com/ ## Supported buildpacks -* [Bats](buildpacks/bats) * [Golang](buildpacks/golang) * [Inline](buildpacks/inline) * [Node.js](buildpacks/nodejs) diff --git a/docs/template.html b/docs/template.html index 833aa71..071afef 100644 --- a/docs/template.html +++ b/docs/template.html @@ -118,7 +118,6 @@