Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
* upstream/master: (29 commits)
  v166 release date
  update Gems
  ext-rdkafka/4.0.2
  PHP/7.3.13
  PHP/7.2.26
  libcassandra/2.14.1
  ext-uuid/1.1.0, fixes heroku#371
  ext-blackfire/1.29.4
  v165 release date
  ext-rdkafka/4.0.1
  ext-rdkafka/3.1.3
  ext-ev/1.0.7
  ext-newrelic/9.4.0.249
  ext-mongodb/1.6.1
  ext-blackfire/1.29.2
  ext-memcached/3.1.5
  librdkafka/1.3.0
  Fix PHP 7.0 builds picking up generic rather than version-specific `heroku.ini` settings
  PHP/7.3.12
  PHP/7.2.25
  ...
  • Loading branch information
adriancb committed Jan 9, 2020
2 parents 74eaf7b + 8d807ac commit c4a02c3
Show file tree
Hide file tree
Showing 73 changed files with 99 additions and 18 deletions.
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# heroku-buildpack-php CHANGELOG

## v166 (2019-12-20)

### ADD

- PHP/7.2.26 [David Zuelke]
- PHP/7.3.13 [David Zuelke]
- ext-rdkafka/4.0.2 [David Zuelke]

## v165 (2019-12-11)

### ADD

- ext-apcu/5.1.18 [David Zuelke]
- ext-raphf/2.0.1 [David Zuelke]
- ext-phalcon/3.4.5 [David Zuelke]
- ext-redis/5.1.1 [David Zuelke]
- PHP/7.2.25 [David Zuelke]
- PHP/7.3.12 [David Zuelke]
- ext-memcached/3.1.5 [David Zuelke]
- ext-mongodb/1.6.1 [David Zuelke]
- ext-newrelic/9.4.0.249 [David Zuelke]
- ext-ev/1.0.7 [David Zuelke]
- ext-rdkafka/3.1.3 [David Zuelke]
- ext-rdkafka/4.0.0 [David Zuelke]
- ext-blackfire/1.29.4 [David Zuelke]
- ext-uuid/1.1.0 (#371) [David Zuelke]

### CHG

- Composer/1.9.1 [David Zuelke]
- librdkafka/1.3.0 [David Zuelke]
- libcassandra/2.14.1 [David Zuelke]

### FIX

- Revert ext-newrelic/9.2.0.247 due to startup failure [David Zuelke]
- PHP 7.0 builds picking up generic rather than version-specific `heroku.ini` settings [David Zuelke]

## v164 (2019-10-24)

### ADD
Expand Down
32 changes: 17 additions & 15 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,59 +1,61 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (5.2.3)
activesupport (6.0.2.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2)
concurrent-ruby (1.1.5)
diff-lcs (1.3)
erubis (2.7.0)
excon (0.66.0)
excon (0.71.1)
heroics (0.0.25)
erubis (~> 2.0)
excon
moneta
multi_json (>= 1.9.2)
heroku_hatchet (4.0.12)
heroku_hatchet (4.0.13)
excon (~> 0)
minitest-retry (~> 0.1.9)
platform-api (~> 2)
repl_runner (~> 0.0.3)
rrrretry (~> 1)
thor (~> 0)
threaded (~> 0)
i18n (1.6.0)
i18n (1.7.0)
concurrent-ruby (~> 1.0)
minitest (5.11.3)
minitest (5.13.0)
minitest-retry (0.1.9)
minitest (>= 5.0)
moneta (1.0.0)
multi_json (1.13.1)
parallel (1.17.0)
parallel_tests (2.29.2)
multi_json (1.14.1)
parallel (1.19.1)
parallel_tests (2.30.0)
parallel
platform-api (2.2.0)
heroics (~> 0.0.25)
moneta (~> 1.0.0)
rake (12.3.3)
rake (13.0.1)
repl_runner (0.0.3)
activesupport
rrrretry (1.0.0)
rspec-core (3.8.2)
rspec-support (~> 3.8.0)
rspec-expectations (3.8.4)
rspec-core (3.9.0)
rspec-support (~> 3.9.0)
rspec-expectations (3.9.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-retry (0.6.1)
rspec-support (~> 3.9.0)
rspec-retry (0.6.2)
rspec-core (> 3.3)
rspec-support (3.8.2)
rspec-support (3.9.0)
sem_version (2.0.1)
thor (0.20.3)
thread_safe (0.3.6)
threaded (0.0.4)
tzinfo (1.2.5)
thread_safe (~> 0.1)
zeitwerk (2.2.2)

PLATFORMS
ruby
Expand Down
4 changes: 2 additions & 2 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ fi
mkdir -p $build_dir/.heroku/php-min
ln -s $build_dir/.heroku/php-min /app/.heroku/php-min

curl_retry_on_18 --fail --silent --location -o $build_dir/.heroku/php-min.tar.gz "${s3_url}php-min-7.3.11.tar.gz" || {
curl_retry_on_18 --fail --silent --location -o $build_dir/.heroku/php-min.tar.gz "${s3_url}php-min-7.3.13.tar.gz" || {
mcount "failures.bootstrap.download.php-min"
error <<-EOF
Failed to download minimal PHP for bootstrapping!
Expand All @@ -231,7 +231,7 @@ curl_retry_on_18 --fail --silent --location -o $build_dir/.heroku/php-min.tar.gz
tar xzf $build_dir/.heroku/php-min.tar.gz -C $build_dir/.heroku/php-min
rm $build_dir/.heroku/php-min.tar.gz

curl_retry_on_18 --fail --silent --location -o $build_dir/.heroku/composer.tar.gz "${s3_url}composer-1.9.0.tar.gz" || {
curl_retry_on_18 --fail --silent --location -o $build_dir/.heroku/composer.tar.gz "${s3_url}composer-1.9.1.tar.gz" || {
mcount "failures.bootstrap.download.composer"
error <<-EOF
Failed to download Composer for bootstrapping!
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ touch /tmp/heroku.ext-newrelic.newrelic-daemon.${PORT}.log
tail -qF -n 0 /tmp/heroku.ext-newrelic.newrelic-daemon.${PORT}.log 1>&2 &
# daemon start
/app/.heroku/php/bin/newrelic-daemon --foreground --port "@newrelic-daemon" --logfile "/tmp/heroku.ext-newrelic.newrelic-daemon.${PORT}.log" --loglevel "${NEW_RELIC_DAEMON_LOG_LEVEL}" --pidfile "/tmp/newrelic-daemon.pid" &
/app/.heroku/php/bin/newrelic-daemon --watchdog-foreground --port "@newrelic-daemon" --logfile "/tmp/heroku.ext-newrelic.newrelic-daemon.${PORT}.log" --loglevel "${NEW_RELIC_DAEMON_LOG_LEVEL}" --pidfile "/tmp/newrelic-daemon.pid" &
# give it a moment to connect
sleep 2
Expand Down
21 changes: 21 additions & 0 deletions support/build/extensions/no-debug-non-zts-20151012/uuid
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/env bash

dep_name=$(basename $BASH_SOURCE)

# we need libuuid1 already installed
needed=( libuuid1 )
missing=$(comm -1 -3 <(dpkg-query -W -f '${package}\n' | sort) <(IFS=$'\n'; echo "${needed[*]}" | sort))
if [[ "$missing" ]]; then
echo "Error! Missing libraries: $missing"
exit 1
fi

# we need uuid-dev to compile
needed=( uuid-dev )
missing=$(comm -1 -3 <(dpkg-query -W -f '${package}\n' | sort) <(IFS=$'\n'; echo "${needed[*]}" | sort))
if [[ "$missing" ]]; then
apt-get update -qq || { echo "Failed to 'apt-get update'. You must build this formula using Docker."; exit 1; }
apt-get install -q -y $missing
fi

source $(dirname $BASH_SOURCE)/../pecl
5 changes: 5 additions & 0 deletions support/build/extensions/no-debug-non-zts-20151012/uuid-1.1.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php
# Build Deps: php-7.0.*

source $(dirname $0)/../no-debug-non-zts-20151012/uuid
5 changes: 5 additions & 0 deletions support/build/extensions/no-debug-non-zts-20160303/uuid-1.1.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php
# Build Deps: php-7.1.*

source $(dirname $0)/../no-debug-non-zts-20151012/uuid
5 changes: 5 additions & 0 deletions support/build/extensions/no-debug-non-zts-20170718/uuid-1.1.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php
# Build Deps: php-7.2.*

source $(dirname $0)/../no-debug-non-zts-20151012/uuid
5 changes: 5 additions & 0 deletions support/build/extensions/no-debug-non-zts-20180731/uuid-1.1.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php
# Build Deps: php-7.3.*

source $(dirname $0)/../no-debug-non-zts-20151012/uuid
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit c4a02c3

Please sign in to comment.