Commit graph

565 commits

Author SHA1 Message Date
Ricardo Andrade
be34efabd7 Add help command and standard CLI switches 2019-09-06 15:13:13 -05:00
Ricardo Andrade
5a394f7990 Tweaks: blank line and plural "versions" 2019-09-06 14:50:39 -05:00
Ricardo Andrade
b95b27f625 Takes version as 2nd argument, list versions switch, silent json fetch 2019-09-06 14:38:38 -05:00
Greg Lin
47312dbe9a
Merge pull request #33 from rstudio/glin/libicu
Use non-devel libicu for CentOS 6 rpm
2019-09-06 09:40:03 -05:00
Greg Lin
685c8228ba Set the HTTP user agent in the system Rprofile 2019-09-05 16:29:49 -05:00
Greg Lin
a541837927 Add OS identifier to the default HTTP user agent 2019-09-05 16:29:49 -05:00
Greg Lin
d453ac42ca
Merge pull request #30 from rstudio/user-agent
Set default HTTP user agent
2019-09-05 16:29:21 -05:00
Greg Lin
171e0b0bf8 Use non-devel libicu for CentOS 6 rpm
RHEL 6 doesn't come with libicu-devel by default, only libicu.
2019-09-05 14:52:41 -05:00
Greg Lin
75b9a0d60d Only set user agent for R 3.6.0 and later 2019-09-04 16:44:06 -05:00
Greg Lin
92028bb31b Set user agent during build process 2019-09-04 16:44:06 -05:00
Greg Lin
c452bacb94 Switch user agent format 2019-09-04 16:44:06 -05:00
Greg Lin
e496419e09 Preserve the default HTTP user agent for R 3.6+ 2019-09-04 16:44:06 -05:00
sellorm
9a8d2ee4ef
Allows building of RPMs for CentOS 6 (#32)
* Allows building of RPMs for CentOS 6

Builds on earlier work and provides the tooling required to create Linux OS packages (deb in this case).

Modifies: Dockerfile.centos-6

So that it includes the fpm package build tool and also copies in the packaging script

Adds: package.centos-6

which is the packaging script which runs fpm with the required parameters and dependencies

* Added additional font dependency
2019-09-04 22:28:52 +01:00
Jonathan Yoder
674f5fe48e Tweaks 2019-08-28 11:25:55 -04:00
Jonathan Yoder
4d2b666c84 Quick Install Script 2019-08-28 11:09:30 -04:00
Greg Lin
8966611fa6
Merge pull request #29 from rstudio/glin/readme
Update README with deb/rpm installation steps
2019-08-26 11:13:11 -05:00
Greg Lin
d9c352ee6a Add CentOS/RHEL 6 instructions 2019-08-23 16:23:54 -05:00
Greg Lin
296af0280a Update README with deb/rpm installation instructions 2019-08-22 12:59:52 -05:00
Steve Nolen
52e3795f27
Merge pull request #28 from rstudio/chore-staging
add staging env
2019-08-16 12:08:35 -04:00
Steve Nolen
9bc7dafa5a #doitlive 2019-08-16 09:03:07 -04:00
Steve Nolen
0c35c12451 add serverless to deps 2019-08-16 08:56:09 -04:00
Steve Nolen
d08c8ffa85 support deploying to multiple envs 2019-08-16 08:55:53 -04:00
Steve Nolen
bcc8aac0f4 name stepf by env 2019-08-16 08:55:37 -04:00
Steve Nolen
099ca72df5 create a staging s3 bucket 2019-08-16 08:55:25 -04:00
Steve Nolen
e3fc28cb82 larger disks for ecs instances 2019-08-16 07:38:37 -04:00
Steve Nolen
314a3f41a8 add staging env attributes 2019-08-16 07:37:58 -04:00
Greg Lin
7aa0fbd928
Merge pull request #27 from rstudio/glin/suse-fixes
SUSE compatibility fixes
2019-08-15 13:21:32 -05:00
Greg Lin
015c13de8e Replace pango-tools with libpango for openSUSE 2019-08-14 18:12:13 -05:00
Greg Lin
8faee1ca21 Use libreadline7 for the openSUSE 15 package 2019-08-14 18:10:31 -05:00
Greg Lin
70ee9a9771 Build with an older xz on openSUSE 42
For compatibility with SLES 12 SP3+. openSUSE 42.3 uses xz 5.2.2
while SLES 12 SP3+ uses xz 5.0.5.
2019-08-14 17:53:57 -05:00
sellorm
426a9a0582
Enables building of RPMs for opensuse (#25)
* Enables OS package building on opensuse

Added the tooling necessary to enable the building of RPMs for opensuse

* Fixed the vendor and added additional dependency
2019-08-12 20:45:42 +01:00
Greg Lin
834c4ad40a
Merge pull request #22 from rstudio/glin/centos7-deps
Remove unnecessary CentOS 7 package dependencies
2019-08-09 10:51:37 -05:00
Greg Lin
844c1cc972 Add unzip and zip to CentOS 7 package 2019-08-08 15:58:46 -05:00
Greg Lin
656da3e9cd Remove unnecessary dependencies for CentOS 7 packages 2019-08-08 15:49:49 -05:00
sellorm
60474b593b
Enables output of Linux OS packages for CentOS 7 (#20)
* Enables output of Linux OS packages for CentOS 7

* Changed vendor to RStudio

* Added post install script to swap in openBLAS shared library

* tidied up some dependencies

* Added a post remove step to cleanup install dir

As we swap in the openBlas shared object file during installation
the RPM database knows that the RPM installation has been "interefered"
with. Because of this `yum remove` does not clean out the full directory
tree. This update therefore prunes the directory tree at
/opt/R/R_VERSION
2019-08-06 23:17:45 +01:00
sellorm
782e4ec3a1
Enables creation of Linux packages for Ubuntu 1604 (#21) 2019-08-06 00:26:53 +01:00
sellorm
d00b1c5e68
Enables output of Linux OS packages for Debian 9 (#19)
* Enables output of Linux OS packages for Debian 9

* added vendor

* Changed vendor to RStudio
2019-07-30 21:04:21 +01:00
sellorm
1938cc5399
Added 'vendor' to the package config (#18)
* Added 'vendor' to the package config

* Changed vendor to RStudio
2019-07-30 21:03:00 +01:00
sellorm
74c1334ac7
removed dependency xdg-utils (#17) 2019-07-30 21:01:49 +01:00
Sean Lopp
f8dc075cda
Merge pull request #16 from blairj09/readme-updates
Minor fixes to README.md
2019-07-23 16:12:38 -06:00
James Blair
38a2c6e466 Minor fixes to README.md 2019-07-22 16:09:37 -06:00
sellorm
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
2019-07-20 01:17:48 +01:00
Greg Lin
6047fb7b63
Merge pull request #11 from rstudio/openblas
Update BLAS libraries
2019-07-15 12:48:44 -05:00
Greg Lin
76c0028857
Merge pull request #14 from rstudio/opensuse-image
Update openSUSE base image
2019-07-08 10:31:20 -05:00
Greg Lin
c3255649a3 Update openSUSE base image 2019-07-05 10:05:32 -05:00
Dan Buch
e6fecd3c7f
Remove duplicate .tar.gz extension in local artifact dest 2019-07-03 12:46:10 -04:00
Greg Lin
799d8b829e Add libopenblas to Ubuntu/Debian
Not necessary to add, but safer since R checks for BLAS compatibility
at configure time.
2019-06-27 13:26:45 -05:00
Greg Lin
a695a93014 Remove ATLAS from Ubuntu/Debian 2019-06-24 18:13:38 -05:00
Greg Lin
04abda3bfd Use shared BLAS on CentOS and openSUSE
Note: --enable-BLAS-shlib is already used by default
2019-06-24 18:13:38 -05:00
Joshua Spiewak
3fd57a3bae
Merge pull request #9 from rstudio/dependabot/pip/urllib3-1.24.2
Bump urllib3 from 1.24.1 to 1.24.2
2019-06-17 13:58:22 -04:00