I use Autoscale AWS EC2 with docker+machine executor for my CI. I would like to attach to the runner a specific EBS volume (with some data which needs to persist between CI runs). I know there is a REX-Ray plugin that enables that. However, how to combine it with the gitlab-runner configuration? I guess in runners.machine section I would need to specify a script that would install and configure the plugin on the machine, so when the actual docker image is being launched, proper volume is bound (through volume in runners.docker). Unfortunately, I didn’t find such a possibility in runners.machine options.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Current best practice for autoscaling CI runner on AWS (EC2, ECS, ...) | 1 | 1247 | January 22, 2021 | |
Autoscaling GitLab Runner on AWS EC2 & Docker+Machine? | 1 | 1426 | December 30, 2021 | |
Autoscale GitLab CI/CD with AWS Fargate but use a docker container for the runner manager | 0 | 356 | April 19, 2024 | |
EC2 Autoscale mentions Docker Machine but this is deprecated | 0 | 409 | October 8, 2021 | |
Gitlab-runner autoscale not registering | 0 | 887 | June 14, 2022 |