From 65a93b77e1804cd47e6f56137a107297eab94e12 Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Thu, 4 Apr 2024 12:59:50 +0200 Subject: [PATCH] Use FreeBSD autoscaler for "stress" tests The FreeBSD autoscaler has been configured to utilize the new "instance" GitLab Runner executor to spawn "stress" test CI jobs on AWS EC2 dynamically. A shared GitLab Runner named "freebsd-instance-autoscaler" has been set up in GitLab CI/CD to communicate with EC2, provisioning VM instances on demand based on a FreeBSD 13 AMI image. This image is the same as the one previously used for FreeBSD "stress" tests before the implementation of autoscaling (specifically, the "freebsd13-amd64-bind9stress.aws.lab.isc.org" GitLab Runner in CI/CD). --- .gitlab-ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a774362780..e4bd2bece8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -99,14 +99,16 @@ stages: - runner-manager - aarch64 -# Stress-testing runners +# Autoscaling GitLab Runner on AWS EC2 (FreeBSD) .freebsd-stress-amd64: &freebsd_stress_amd64 tags: - - amd64 + - bsd-stress-test - aws - - bsd-stress - - stress + - autoscaler + - shell + - stress-test + - amd64 ### Docker Image Templates