devxy/r-builds
Watch
2
0
Fork
You've already forked r-builds
0
Commit graph

23 commits

Author SHA1 Message Date
a20cff273b
Allows building deb packages for R on ubuntu-1804 (#12)
* Allows building deb packages for R on ubuntu-1804

this update provides a mechanism for building deb packages on Ubunto
1804. Several changes have been necessary to facilitate this:

* Dockerfile has been updated. It now includes:
    - fpm - a tool tool to create OS specific packages
    - copying the package script into the image
* the OS specific package.ubuntu-1804 packaging script
    - this is the script that uses fpm to build the package
* Updates to build.sh. It now includes:
    - runs the package script if it exists
    - stores the resultant package to s3

* removed duplicate dependencies

* fixed minor bug with output directory creation

* moved package creation to after the clean step

* Changed deb priority to "optional"

The fpm default priority is "extra" which is now deprecated.

https://github.com/jordansissel/fpm/issues/1398

* Added additional package fields

Added 'Bugs', URL (Homepage), 'Description', 'Maintainer' and 'License'

* Fixed the repo URL

* Added passthrough for Jenkins BUILD_NUMBER

Jenkins sets the BUILD_NUMBER environment variable for all jobs.
This change sets that env var inside the container as BUILD_NO.
BUILD_NO is used bythe packaging scripts in place of a version number
for all of the created packages.

* removed liblapack

* Improved consistency of environment variable use

Removed the needless renaming of environment variables to improve
overall consistency and readability

* No longer tries to version the packages

Previous commits relied on the idea that the Jenkins BUILD_NUMBER
environment variable could be used as a version number for the package
itself (in addition to R's existing version numbers). This is not the
case and having a version number for the package is not deemed desirable
at this time. This change pins *all* packages produced to version 1.

* Moved additional apt package installations

Packages were being installed in two places, have rationalised to a
single location to reduce the number of layers in the final container.

* Tidy up of package script

Alphabetised the dependencies to make things easier to find.

* Added additional dependencies

These dependencies were added as they were identified to be missing when
running against the R 3.6.1 build during testing

* Removed an unrequired dependency

Further trimming down the dependency list based on reviewer feedback.

* Swapped liblapack-dev for libopenblas-dev
7y ago
6047fb7b63
Merge pull request #11 from rstudio/openblas
Update BLAS libraries
7y ago
76c0028857
Merge pull request #14 from rstudio/opensuse-image
Update openSUSE base image
7y ago
c3255649a3 Update openSUSE base image
7y ago
799d8b829e Add libopenblas to Ubuntu/Debian
Not necessary to add, but safer since R checks for BLAS compatibility
at configure time.
7y ago
a695a93014 Remove ATLAS from Ubuntu/Debian
7y ago
04abda3bfd Use shared BLAS on CentOS and openSUSE
Note: --enable-BLAS-shlib is already used by default
7y ago
3fd57a3bae
Merge pull request #9 from rstudio/dependabot/pip/urllib3-1.24.2
Bump urllib3 from 1.24.1 to 1.24.2
7y ago
41ec57fc8b
Merge pull request #10 from rstudio/dependabot/npm_and_yarn/js-yaml-3.13.1
Bump js-yaml from 3.12.0 to 3.13.1
7y ago
d907abfbe0
Bump js-yaml from 3.12.0 to 3.13.1
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.12.0...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
7y ago
bcf40e9edf
Bump urllib3 from 1.24.1 to 1.24.2
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.24.1 to 1.24.2.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/master/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.24.1...1.24.2)

Signed-off-by: dependabot[bot] <support@github.com>
7y ago
37f6062d1e
Merge pull request #4 from rstudio/sean-docs
update readme to be more userfacing
7y ago
b3d55f4cef PR feedback and further clarificaiton on how the binary URL is constructed
7y ago
47203e7431
Merge pull request #5 from rstudio/glin-pager
Fix default pager for CentOS and openSUSE builds
7y ago
85f18aec47 Remove dependency on less for CentOS
The configure script will choose less as the default pager if installed.
Don't require less as a dependency for the R binaries.
7y ago
d353cee634 Set PAGER for Ubuntu and Debian only
/usr/bin/pager is specific to Debian/Ubuntu. For other OSs, use the default
pager detected by the configure script, which will either be less or more.

See https://github.com/rstudio/r-builds/issues/3
7y ago
59b63c8f6a update readme to be more userfacing
7y ago
b822b418a0
Merge pull request #2 from rstudio/chore-makefile-targets
tweak make targets
7y ago
ee61de7495 tweak make targets
7y ago
83873e0dcb
Merge pull request #1 from rstudio/jon/no-epel
Remove EPEL Dependency
7y ago
dd8dd86ecc Make aws CLI work
7y ago
cf300bcd3e Remove EPEL Dependency
7y ago
bd3505e426 make repo public
7y ago