-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(jobs): add
resource_class
overrides (#152)
- Add the ability to set resource classes for jobs, setting the default `resource_class` to `medium`. - Add a new `default` executor here; replacing the one we called from CircleCI-Public/circleci-cli-orb - Update cimg python executor to `cimg/python:3.10.5`
- Loading branch information
Showing
6 changed files
with
57 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
description: > | ||
The circleci-cli Docker image, which includes the CircleCI CLI | ||
parameters: | ||
tag: | ||
type: string | ||
default: latest | ||
description: > | ||
What version of the CircleCI CLI Docker image? For full list, see | ||
https://hub.docker.com/r/circleci/circleci-cli/tags | ||
resource_class: | ||
description: Configure the xecutor resource class | ||
type: enum | ||
enum: ["small", "medium", "medium+", "large", "xlarge", "2xlarge", "2xlarge+"] | ||
default: "medium" | ||
|
||
resource_class: << parameters.resource_class >> | ||
docker: | ||
- image: circleci/circleci-cli:<< parameters.tag >> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters