Note: This plugin is under active development and subject to change. Use with caution until there has been a 1.0 release.
The run-script-plugin
provides Spinnaker with a preconfigured job stage that allows the operator to run a custom script. This is useful if you need to run an arbitrary script and use the output as part of your pipeline.
TODO
Sample Configuration:
spinnaker:
extensibility:
plugins:
Armory.PreConfiguredJobPlugin.RunScript:
enabled: true
config:
account: kubernetes
credentials: kubernetes
artifactServiceUrl: http://spin-clouddriver.prod:7002
gitArtifactAccount: gitrepo
# Optional: override default init container image
initContainerImage: myrepo/fetch-artifact:latest
At this time, the process of creating a new release for the run-script-plugin is as follows:
- Create and push a new release tag (ie
v0.0.1
). This will kick off the appropriate action to create a gh release and open a PR to the plugins repository. - Navigate to the plugins repository pull requests and merge the update (https://github.com/armory-plugins/pluginRepository/pulls)