screwdriver-executor-router
Advanced tools
Comparing version 0.1.3 to 1.0.0
{ | ||
"name": "screwdriver-executor-router", | ||
"version": "0.1.3", | ||
"version": "1.0.0", | ||
"description": "A generic plugin for routing builds to specified executors", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,2 +6,8 @@ # Executor Router | ||
An executor is an engine that is capable of running a set of docker containers together. | ||
i.e. Jenkins, Kubernetes, ECS, Mesos | ||
The executor router will allow multiple executors to be used in a Screwdriver cluster. | ||
## Usage | ||
@@ -13,2 +19,28 @@ | ||
### Interface | ||
It will initialize any routers specified in the [default.yaml](https://github.com/screwdriver-cd/screwdriver/blob/master/config/default.yaml#L89-L119) under the `executor` keyword. To specify a default executor plugin, indicate it at the `plugin` keyword. If no default is specified, the first executor defined will be the default. | ||
**Example executor yaml section:** | ||
``` | ||
executor: | ||
plugin: k8s | ||
k8s: | ||
options: | ||
kubernetes: | ||
host: kubernetes.default | ||
token: sometokenhere | ||
launchVersion: stable | ||
docker: | ||
options: | ||
docker: {} | ||
launchVersion: stable | ||
k8s-vm: | ||
options: | ||
kubernetes: | ||
host: kubernetes.default | ||
token: sometokenhere | ||
launchVersion: stable | ||
``` | ||
## Testing | ||
@@ -15,0 +47,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
9329
0
64