diff --git a/.gitignore b/.gitignore index 96c0ecc..7773828 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -docs/ \ No newline at end of file +dist/ \ No newline at end of file diff --git a/content/articles/config.md b/content/articles/config.md index f82b211..f6fc6ee 100644 --- a/content/articles/config.md +++ b/content/articles/config.md @@ -35,6 +35,7 @@ The key for the group item is the name of the group. ### Group subfields: - **components** - An array of component names that should be launched as a group +- **descirption** - A description that is displayed in the task list ## Component configuration @@ -58,21 +59,39 @@ components: The key for the component item is the name of the component. -component itself. +### Component subfields: * **path** - The working path relative to the configuration file. By default the path is "." * **env** - A set of environment variables that are set before any commands are run. * **command** - The command that should be executed when the component is launched. This command can be a shell command. Multiple commands can be specified as an array or a single command can be specified as a string * **keep_alive** - Specifies whether the command should be rerun if it exits. This is true by default. * **retry_delay** - A delay in seconds to wait before launching the command after it exits. * **tasks** - A list of task definitions that are scoped within this compoennt. Tasks can be specified under a component for organizational reasons. These components become _namespaced_ and can be executed directly by using its qualified name: component:task. See the task definitions for information about these blocks. +* **descirption** - A description that is displayed in the task list ## Task configuration Tasks are similiar to components, except they are meant as single run utility commands. These can be used to setup the environment, or as pure utility functions like build pipelines and data configuration. - The key for the task item is the name of the task. +### Example task configuration: +```yaml +tasks: + build: + env: + MODE: production + path: backend/ + command: cargo build --release + description: Backend release build +``` + +### Task subfields: +* **path** - The working path relative to the configuration file. By default the path is "." +* **env** - A set of environment variables that are set before any commands are run. +* **command** - The command that should be executed when the component is launched. This command can be a shell command. Multiple commands can be specified as an array or a single command can be specified as a string +* **descirption** - A description that is displayed in the task list + + ## Full example config: ```yaml diff --git a/themes/5Sigma/layouts/index.html b/themes/5Sigma/layouts/index.html index 2db7ec9..45d85d4 100644 --- a/themes/5Sigma/layouts/index.html +++ b/themes/5Sigma/layouts/index.html @@ -23,11 +23,18 @@ Binary Download + href="https://objects.5sigma.io/public/conductor.tar.gz"> Download

Conductor currently only support Linux based systems

+
+
+
+curl https://objects.5sigma.io/public/conductor.tar.gz | tar -xz 
+./conductor
+
+