From 86041bc3e1622c4489818738094520fdbeca23b5 Mon Sep 17 00:00:00 2001 From: Nick Miyake Date: Mon, 21 Oct 2024 11:58:10 -0700 Subject: [PATCH] Add "resource_class" as a parameter to the "check" job Allows the resource class for the executor to be specified. Fixes #56 --- src/jobs/check.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/jobs/check.yml b/src/jobs/check.yml index d6104ae..f51ec5b 100644 --- a/src/jobs/check.yml +++ b/src/jobs/check.yml @@ -6,6 +6,8 @@ description: | docker: - image: cimg/base:<> +resource_class: << parameters.resource_class >> + parameters: exclude: description: > @@ -52,6 +54,11 @@ parameters: Shellcheck is included in the CircleCI authored `cimg/base` docker image (Feb 2022 onward), installed via the official Ubuntu packages. By default the most current stable release of this image will be used, but you may statically set the image tag with this parameter. https://circleci.com/developer/images/image/cimg/base + resource_class: + description: Configure the executor resource class + type: enum + enum: ["small", "medium", "medium+", "large", "xlarge", "2xlarge", "2xlarge+"] + default: "medium" shell: type: string default: ""