Skip to main content

Garden

Garden is a DevOps automation tool for developing and testing Kubernetes apps faster.

🚀 Usage​

Add the following command to your CI configuration file:

fluentci run --wasm garden setup

Commands​

NameDescription
setupInstalls a specific version of garden.
buildPerform your Builds.
cleanupCleanup resources.
deployDeploy actions to your environment.
getRetrieve and output data and objects, e.g. secrets, status info etc.
publishBuild and publish artifacts (e.g. container images) to a remote registry.
runPerform one or more Run actions
testRun all or specified Test actions in the project.
validateCheck your garden configuration for errors.
workflowRun a workflow.

Code Examples​

Add fluentci-pdk crate to your Cargo.toml:

[dependencies]
fluentci-pdk = "0.2.1"

Use the following code to call a module function:

use fluentci_pdk::dag;

// ...

dag().call(
"https://pkg.fluentci.io/[email protected]?wasm=1",
"setup",
vec!["0.13.35"],
)?;

CI/CD Integration​

The following example shows how to integrate FluentCI with popular CI providers to setup Garden:

ci.yml
name: ci
on:
push:
branches:
- main
jobs:
tasks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Fluent CI
uses: fluentci-io/setup-fluentci@v5
- name: Install garden
run: fluentci run --wasm garden setup