Skip to content

Commit

Permalink
Merge pull request #550 from gliderlabs/master
Browse files Browse the repository at this point in the history
Release 0.5.10
  • Loading branch information
josegonzalez authored Apr 1, 2020
2 parents b25bc32 + 440a297 commit a971ec8
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 6 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ All notable changes to this project will be documented in this file.

### Changed

## [0.5.10] - 2020-04-01

### Changed
- @josegonzalez Update ruby to version v213

## [0.5.9] - 2020-03-31
### Changed
- @josegonzalez Update go to version v139
Expand Down Expand Up @@ -639,7 +644,8 @@ All notable changes to this project will be documented in this file.
- User for `buildpack-build` is `$USER` or randomized
- User for `procfile-exec` is `$USER` or detected from `/app`

[unreleased]: https://github.com/gliderlabs/herokuish/compare/v0.5.9...HEAD
[unreleased]: https://github.com/gliderlabs/herokuish/compare/v0.5.10...HEAD
[0.5.10]: https://github.com/gliderlabs/herokuish/compare/v0.5.9...v0.5.10
[0.5.9]: https://github.com/gliderlabs/herokuish/compare/v0.5.8...v0.5.9
[0.5.8]: https://github.com/gliderlabs/herokuish/compare/v0.5.7...v0.5.8
[0.5.7]: https://github.com/gliderlabs/herokuish/compare/v0.5.6...v0.5.7
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apt-get update -qq \
&& mv /etc/ImageMagick-6/policy.xml.custom /etc/ImageMagick-6/policy.xml \
&& apt-get clean \
&& rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/* /var/tmp/*
RUN curl "https://github.com/gliderlabs/herokuish/releases/download/v0.5.9/herokuish_0.5.9_linux_x86_64.tgz" \
RUN curl "https://github.com/gliderlabs/herokuish/releases/download/v0.5.10/herokuish_0.5.10_linux_x86_64.tgz" \
--silent -L | tar -xzC /bin
RUN /bin/herokuish buildpack install \
&& ln -s /bin/herokuish /build \
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
NAME = herokuish
HARDWARE = $(shell uname -m)
VERSION ?= 0.5.9
VERSION ?= 0.5.10
IMAGE_NAME ?= $(NAME)
BUILD_TAG ?= dev

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Circle CI](https://circleci.com/gh/gliderlabs/herokuish.png?style=shield)](https://circleci.com/gh/gliderlabs/herokuish)
[![IRC Channel](https://img.shields.io/badge/irc-%23gliderlabs-blue.svg)](https://kiwiirc.com/client/irc.freenode.net/#gliderlabs)
[![Docker Hub](https://img.shields.io/badge/docker%20hub-v0.5.9-blue)](https://hub.docker.com/r/gliderlabs/herokuish)
[![Docker Hub](https://img.shields.io/badge/docker%20hub-v0.5.10-blue)](https://hub.docker.com/r/gliderlabs/herokuish)

A command line tool for emulating Heroku build and runtime tasks in containers.

Expand All @@ -19,7 +19,7 @@ Download and uncompress the latest binary tarball from [releases](https://github
For example, you can do this directly in your Dockerfiles installing into `/bin` as one step:

```
RUN curl --location --silent https://github.com/gliderlabs/herokuish/releases/download/v0.5.9/herokuish_0.5.9_linux_x86_64.tgz \
RUN curl --location --silent https://github.com/gliderlabs/herokuish/releases/download/v0.5.10/herokuish_0.5.10_linux_x86_64.tgz \
| tar -xzC /bin
```

Expand Down
2 changes: 1 addition & 1 deletion buildpacks/buildpack-ruby/buildpack-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v212
v213
2 changes: 2 additions & 0 deletions tests/unit/fixtures/complicated_envfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
foo='Hello'$'\n'' '\''world'\'' '
bar='te'\''st'
nested_foo=foo
nested_bar=${nested_foo}
14 changes: 14 additions & 0 deletions tests/unit/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ T_envfile-parse(){
local fixture_filename
local foo_expected='Hello'$'\n'' '\''world'\'' '
local bar_expected='te'\''st'
local nested_foo_expected=foo
local nested_bar_expected=foo

fixture_filename="$(dirname "${BASH_SOURCE[0]}")/fixtures/complicated_envfile"
eval "$(cat "$fixture_filename" | _envfile-parse)"
Expand All @@ -20,6 +22,18 @@ T_envfile-parse(){
echo "Expected bar = $bar_expected got: $bar"
return 2
fi

# shellcheck disable=2154
if [[ ! "$nested_foo_expected" == "$nested_foo" ]]; then
echo "Expected nested_foo = $nested_foo_expected got: $nested_foo"
return 3
fi

# shellcheck disable=2154
if [[ ! "$nested_bar_expected" == "$nested_bar" ]]; then
echo "Expected nested_bar = $nested_bar_expected got: $nested_bar"
return 4
fi
}

T_procfile-parse-valid() {
Expand Down

0 comments on commit a971ec8

Please sign in to comment.