Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Drop support for Cedar-14 and Heroku-16 (#238)
Browse files Browse the repository at this point in the history
Since they are EOL and it's no longer possible to perform builds
using them.

Closes #214.
GUS-W-10346704.
  • Loading branch information
edmorley authored May 18, 2022
1 parent 2766849 commit ecccc40
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unreleased

* [#238](https://github.com/heroku/heroku-buildpack-static/pull/238) Drop support for Cedar-14 and Heroku-16.

## v7 (2021-03-09)

Expand Down
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
S3_BUCKET ?= heroku-buildpack-static

.PHONY: build build-heroku-16 build-heroku-18 build-heroku-20 sync
.PHONY: build build-heroku-18 build-heroku-20 sync

build: build-heroku-16 build-heroku-18 build-heroku-20

build-heroku-16:
@docker pull heroku/heroku:16-build
@docker run -v "$(shell pwd)":/buildpack --rm -it -e "STACK=heroku-16" heroku/heroku:16-build /buildpack/scripts/build_ngx_mruby.sh
build: build-heroku-18 build-heroku-20

build-heroku-18:
@docker pull heroku/heroku:18-build
Expand Down
5 changes: 1 addition & 4 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@ env_dir=$3
bp_dir=$(dirname $(dirname $0))

case "${STACK}" in
heroku-16|heroku-18|heroku-20)
heroku-18|heroku-20)
nginx_archive_url="https://heroku-buildpack-static.s3.amazonaws.com/${STACK}/nginx-1.19.0-ngx_mruby-2.2.3.tgz"
;;
cedar-14)
nginx_archive_url='https://heroku-buildpack-ruby.s3.amazonaws.com/nginx/cedar-14/nginx-1.9.7-ngx_mruby.tgz'
;;
*)
echo "Stack ${STACK} is not supported!"
exit 1
Expand Down

0 comments on commit ecccc40

Please sign in to comment.