The documentation you're currently reading is for version 2.3.2. Click here to view documentation for the latest stable version.
This runner is currently in an experimental phase which means that there might be bugs and the external user facing API might change.
CloudSlang is an open source orchestration tool for managing deployed applications. It allows you to rapidly automate your DevOps and everyday IT operations use cases.
The CloudSlang language is a YAML-based DSL for writing workflows. Using CloudSlang you can define a workflow in a structured, easy-to-understand format.
There are two main types of CloudSlang content, operations and flows. An operation contains an action, which can be written in Python or Java. Operations perform the “work” part of the workflow. A flow contains tasks, which stitch together the actions performed by operations, navigating and passing data from one to the other based on operation results and outputs. Flows perform the “flow” part of the workflow.
The CloudSlang project also includes a repository of ready-made content to perform common tasks as well as content that integrates with many of today’s hottest technologies, such as Docker and CoreOS.
The following is a simple example to give you an idea of how CloudSlang flows and operations are structured:
namespace: examples.hello_world imports: ops: examples.hello_world flow: name: hello_world workflow: - sayHi: do: ops.print: - text: "'Hello, World'"
namespace: examples.hello_world operation: name: print inputs: - text action: python_script: print text results: - SUCCESS