Home

Awesome

Heroku Buildpack R Build - Second Edition

CI

Build for the heroku-buildpack-r buildpack.

Prerequisites

Usage

To build, test and publish artifacts for the buildpack:

make build
make test
make publish

Variables

The following build variables are available:

VariableDefaultNotes
HEROKU_STACK22Corresponds to numeric suffix of the Heroku Stack. Valid values include 18, 20 and 22.
UBUNTU_IMAGEubuntu:22.04The docker image for the Ubuntu image. Should correspond with the Ubuntu version of the Heroku Stack.
R_VERSION4.2.1The version of R to be built.
CRAN_VERSIONcran40The CRAN repository version.
BUILDPACK_VERSIONlatestVersion of the buildpack. This maps to the directory used on S3. Valid values include at least latest and test.

E.g. To build for the heroku-20 stack

export HEROKU_STACK=20
make build
make test
make publish

Credits

License

MIT License. Copyright (c) 2020 Chris Stefano. See LICENSE for details.