Commit graph

300 commits

Author SHA1 Message Date
Greg Lin
a2ffb1371d Run GHA tests on pull requests 2023-01-12 12:52:01 -06:00
Gábor Csárdi
6e831a235c
Merge pull request #152 from gaborcsardi/feature/arm64 2023-01-12 09:46:17 +01:00
Gábor Csárdi
fc4212278b
Merge branch 'main' into feature/arm64 2023-01-10 20:30:58 +01:00
Gábor Csárdi
3e927c5055 Tell arch to nfpm 2023-01-10 19:45:32 +01:00
Gábor Csárdi
be9465a997 Use uname -m instead of uname -p, for Debian
On Debian uname -p returns 'unknown'.
2023-01-10 16:25:31 +01:00
Gábor Csárdi
3b3a13513d Support arm64 builds 2023-01-10 14:41:12 +01:00
Greg Lin
1a4f8a8fb3
Merge pull request #148 from rstudio/main-posit
Update RStudio references to Posit
2023-01-09 11:57:34 -06:00
Greg Lin
597462d115
Merge pull request #150 from rstudio/gha-deprecation
Update GHA for set-output deprecation
2023-01-06 11:48:02 -06:00
Greg Lin
17c2536abe Update GHA for set-output deprecation 2023-01-05 17:40:42 -06:00
Greg Lin
f91ce41bb2 Use curl instead of wget for consistency with docs.posit.co 2022-11-30 17:36:56 -06:00
Greg Lin
744b8d2a18 Update RStudio references to Posit 2022-11-30 15:58:14 -06:00
Greg Lin
5aba4ea44b Update default branch to main 2022-11-30 15:50:40 -06:00
Greg Lin
2e09c60108
Merge pull request #147 from rstudio/quickinstall-versions
Don't install prerelease R versions by default in quickinstall script
2022-09-21 12:04:39 -06:00
Greg Lin
25ad44362f Don't install prerelease R versions by default in quickinstall script 2022-09-21 12:22:32 -05:00
Greg Lin
cc4b40a6df
Merge pull request #146 from rstudio/fix-rhel9-pcre2
Fix missing PCRE2 dependency in R 3.x builds for RHEL 9
2022-09-09 09:38:19 -06:00
Greg Lin
f66f829e57 Fix missing PCRE2 dependency in R 3.x builds for RHEL 9 2022-09-08 17:36:49 -05:00
Greg Lin
6705d0334c Fix R builds tests not returning error codes correctly 2022-09-08 17:29:41 -05:00
Greg Lin
76da757506
Merge pull request #145 from rstudio/spot-instance-termination
Mitigate EC2 Spot instance interruptions
2022-09-07 14:02:08 -06:00
Greg Lin
2da405d505 Mitigate EC2 Spot instance interruptions
Some jobs are failing because EC2 is terminating Spot instances from being
outbid (BidEvictedEvents in CloudTrail).

* Increase bid percentage to 100%
* Remove highly interrupted instance types, leaving only instance types with
  <5% frequency of interruption. https://aws.amazon.com/ec2/spot/instance-advisor/
2022-09-07 14:31:07 -05:00
Greg Lin
dc64e625d3
Merge pull request #144 from rstudio/limit-instance-sizes
Limit instance sizes to mitigate Docker timeout failures
2022-09-01 16:04:49 -05:00
Greg Lin
b2c157f047 Limit instance sizes to mitigate Docker timeout failures
* Limit InstanceTypes to specific sizes (xlarge or 2xlarge) so only 1-2 jobs
  can run at a time, instead of potentially 10+. Reduce the number of Docker
  images being pulled at one time to mitigate the 4m Docker image pull
  timeout failures from ECS.
* Restore the r5/r5a instance families for consistency with other serverless
  projects.
2022-09-01 15:42:42 -05:00
Joshua C. Forest
1d4f97f076
Merge pull request #143 from rstudio/remove-userdata-for-now
remove for testing purposes
2022-09-01 18:20:42 +00:00
Joshua C. Forest
0b6c741323 remove for testing purposes 2022-09-01 13:57:17 -04:00
Greg Lin
40a7ab7218
Merge pull request #141 from rstudio/more-nfpm
Migrate remaining platforms to nFPM
2022-08-31 17:20:45 -05:00
Greg Lin
aeca9f91d9
Merge pull request #142 from rstudio/update-instance-types
Update instance types; trigger infrastructure update for the compute environments
2022-08-31 14:26:57 -05:00
Greg Lin
4cb2d64968 Update instance types, removing memory optimized instances
The main purpose of this change is to trigger an infrastructure update for
the Batch compute environment, since changing the LaunchTemplateData doesn't
trigger that.

The instance types change is arbitrary, but memory optimized instances
aren't really necessary either.
2022-08-31 13:34:57 -05:00
Greg Lin
b219b1ce4f
Merge pull request #140 from rstudio/container-timeout
Increase ECS_CONTAINER_CREATE_TIMEOUT to 10m to mitigate Docker timeouts
2022-08-30 11:28:46 -05:00
Greg Lin
f6447d8408 Increase ECS_CONTAINER_CREATE_TIMEOUT to 10m to mitigate Docker timeouts
Many jobs were failing to start from an error:

DockerTimeoutError: Could not transition to created; timed out after waiting 4m0s

Try to mitigate this by increasing the Docker timeout from the default 4m to 10m.
ECS_CONTAINER_CREATE_TIMEOUT is not documented in the AWS developer guide, but
it does seem to be a real setting from the ECS agent repo README:
a5f8d25f66/README.md
2022-08-29 15:53:29 -05:00
Greg Lin
a575edc2af
Merge pull request #139 from rstudio/fix-device-name
Update block device name for Amazon Linux 2
2022-08-26 15:05:15 -05:00
Greg Lin
27472d6bc3 Update block device name for Amazon Linux 2
Amazon Linux 1 AMIs had a separate /dev/xvdcz volume used for Docker storage.
Amazon Linux 2 AMIs now only have a single root volume at /dev/xvda.

https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-ami-storage-config.html
2022-08-26 14:41:10 -05:00
Greg Lin
8a74b32f18
Merge pull request #138 from rstudio/fix-launch-template
Use latest version of the launch template
2022-08-26 13:32:55 -05:00
Greg Lin
4c91f1e9d6 Use latest version of the launch template
Changes to the launch template (e.g., ECS volume type/size) were not being
applied because the launch template was set to the default version 1 rather
than the latest changed version.
2022-08-26 12:52:00 -05:00
Greg Lin
254e1ac65f
Merge pull request #137 from rstudio/bump-ecs-volume
Increase ECS volume size to 96 GiB
2022-08-25 12:25:45 -05:00
Greg Lin
1e34ec86b5 Increase ECS volume size to 96 GiB 2022-08-25 11:48:19 -05:00
Greg Lin
ef86564f8f Replace fpm with nFPM for all other platforms 2022-08-24 11:53:58 -05:00
Greg Lin
92ef513670
Merge pull request #136 from rstudio/fix-fpm
Fix openSUSE 15.4 image build; begin replacing fpm with nFPM
2022-08-24 11:53:34 -05:00
Greg Lin
1552c23b3c Replace fpm with nfpm for the newest platforms
fpm has had multiple Ruby gem dependency issues, and nfpm has better support
for code signing if we wanted to do that in the future. The rest of the
platforms may be migrated to nfpm later.
2022-08-23 11:58:10 -05:00
Greg Lin
a245fc65d9 Fix fpm installation on openSUSE 15.4; switch to nfpm
fpm currently fails to install because the public_suffix gem dependency
requires Ruby 2.6, which openSUSE 15.4 doesn't provide. Because there have
been so many Ruby dependency issues with fpm in the past, switch to the fewer-
dependency nfpm, which also has better support for code signing if we want to
do that in the future.
2022-08-22 19:00:01 -05:00
Greg Lin
708314a1a2
Merge pull request #134 from rstudio/suse154
Add R builds for openSUSE 15.4/SLES 15 SP4
2022-08-19 12:08:59 -05:00
Greg Lin
8301c552f1
Merge pull request #133 from rstudio/rhel9
Add R builds for RHEL 9
2022-08-19 12:08:42 -05:00
Greg Lin
f8392bdea8 Add R builds for openSUSE 15.4/SLES 15 SP4 2022-08-18 13:15:45 -05:00
Greg Lin
979efa5b32 Add documentation about how we link against BLAS/LAPACK 2022-08-17 18:07:33 -05:00
Greg Lin
38b7be9f98
Merge pull request #131 from rstudio/gha
Add GitHub Actions workflow to test R builds
2022-08-17 16:31:18 -05:00
Greg Lin
b088d31a7a
Merge pull request #130 from rstudio/glin-test
Add tests for R binaries and packages
2022-08-17 16:26:24 -05:00
Greg Lin
53bc157354 Update quick install script for RHEL 9 2022-08-17 15:30:54 -05:00
Greg Lin
218b2dfed6 Make check for R 3.3.x bug easier to maintain
CentOS 7 is the last distro affected by this bug, so invert the logic to
make maintenance easier.
2022-08-17 15:30:54 -05:00
Greg Lin
768316ab6f Add R builds for RHEL 9 2022-08-17 15:30:54 -05:00
Greg Lin
b863122cd4 Disable fail-fast on matrix jobs since there seem to be a lot of transient errors 2022-08-17 14:36:23 -05:00
Greg Lin
534f225b0c Trigger workflow on workflow changes 2022-08-17 14:36:18 -05:00
Greg Lin
225b7da1f7 Try parallelizing R version builds 2022-08-17 14:36:13 -05:00