Skip to content

Commit

Permalink
feat: allow passing executor name to job (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavientois authored Mar 1, 2023
1 parent 3c8e4e2 commit 1e6e364
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/jobs/render-config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
description: Render the provided template and run it as a dynamic config continuation pipeline

executor:
name: default
tag: << parameters.tag >>
executor: << parameters.executor >>

parameters:
template-file:
Expand Down Expand Up @@ -46,12 +44,10 @@ parameters:
Whether to install gomplate or not. If you are using a custom executor
that already has gomplate installed, you can set this to false.
type: boolean
tag:
default: "stable"
description: >
Pick a specific circleci/base image variant:
https://hub.docker.com/r/cimg/base/tags
type: string
executor:
default: default
type: executor
description: The executor to run the job
resource_class:
default: small
description: Resource class to use
Expand Down

0 comments on commit 1e6e364

Please sign in to comment.