Easily author and add Parameterized Executors to the src/executors directory.
Each YAML file within this directory will be treated as an orb executor, with a name which matches its filename.
Executors can be used to parameterize the same environment across many jobs. Orbs nor jobs require executors, but may be helpful in some cases, such as: parameterizing the Node version for a testing job so that matrix testing may be used.
View the included hello.yml example.
Name: isopod
Parameters:
- tag isopod version, default master
- username username for docker registry
- password password for docker registry
Isopod executor is parametrised executor with isopod installed. It is used for running jobs in this orb.
Name: maven_docker
Parameters:
- tag cimg/openjdk image version, default 11.0
A docker executor with java 11 installed (see also Convenience Images: cimg/openjdk:11.0). It is used for running java jobs in this orb.
Name: maven_vm
Parameters: none
A vm executor (ubuntu-2022:current) with java 11 installed. It is used for running java jobs in this orb.
This executor is required in case a build depends on a running docker instance to execute testcontainers.