From b4fd86b6c3e6a0510f4d6627fb4a0e8491a88aef Mon Sep 17 00:00:00 2001 From: fsilberstein Date: Fri, 13 Oct 2023 16:34:56 +0200 Subject: [PATCH] feat(executors): add python executor --- src/executors/python.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/executors/python.yml diff --git a/src/executors/python.yml b/src/executors/python.yml new file mode 100644 index 0000000..5b8fff6 --- /dev/null +++ b/src/executors/python.yml @@ -0,0 +1,26 @@ +description: | + Python executor using [CircleCI images](https://circleci.com/developer/images/image/cimg/python) +docker: + - image: cimg/python:<< parameters.python-version >><< parameters.variant >> + auth: + username: <> + password: <> +parameters: + python-version: + default: "3.10" + description: | + The version of Python to use. This can be a full SemVer point release (such as 3.8.1) or just the minor release (such as 3.8). + type: string + variant: + default: "" + description: | + Variant tags, if available, can optionally be used. For example, the Node.js variant could be used like this: "-node" + type: string + username: + type: string + description: Docker hub username + default: $DOCKER_HUB_USERNAME + password: + type: string + description: Docker hub password + default: $DOCKER_HUB_PASSWORD