Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fluentci-io/helm-plugin
CI/CD Plugin for helm
https://github.com/fluentci-io/helm-plugin
cicd deploy helm kubernetes wasm webassembly
Last synced: about 1 month ago
JSON representation
CI/CD Plugin for helm
- Host: GitHub
- URL: https://github.com/fluentci-io/helm-plugin
- Owner: fluentci-io
- License: mit
- Created: 2024-07-28T10:50:09.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-03T16:16:06.000Z (5 months ago)
- Last Synced: 2024-08-04T17:36:43.779Z (5 months ago)
- Topics: cicd, deploy, helm, kubernetes, wasm, webassembly
- Language: Rust
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Helm Plugin
[![fluentci pipeline](https://shield.fluentci.io/x/helm)](https://pkg.fluentci.io/helm)
[![ci](https://github.com/fluentci-io/helm-plugin/actions/workflows/ci.yml/badge.svg)](https://github.com/fluentci-io/helm-plugin/actions/workflows/ci.yml)This plugin sets up your CI/CD pipeline with a specific version of [Helm](https://helm.sh/).
## 🚀 Usage
Add the following command to your CI configuration file:
```bash
fluentci run --wasm helm setup
```## Functions
| Name | Description |
| -------- | ------------------------------------------ |
| setup | Installs a specific version of helm. |
| install | Install a chart |
| lint | Examine a chart for possible issues |
| package | Package a chart directory into a chart archive |
| pull | Pull a chart from a repository and (optionally) unpack it in local directory |
| push | Push a chart package to a chart repository |
| registry | login to or logout from a registry |
| rollback | Rollback to a previous release |
| test | Run tests for a release |
| upgrade | Upgrade a release |## Code Usage
Add `fluentci-pdk` crate to your `Cargo.toml`:
```toml
[dependencies]
fluentci-pdk = "0.2.1"
```Use the following code to call the plugin:
```rust
use fluentci_pdk::dag;// ...
dag().call("https://pkg.fluentci.io/[email protected]?wasm=1", "setup", vec!["latest"])?;
```## 📚 Examples
Github Actions:
```yaml
- name: Remove preinstalled helm
run: |
sudo rm -rf `which helm`
- name: Setup Fluent CI CLI
uses: fluentci-io/setup-fluentci@v5
with:
wasm: true
plugin: helm
args: |
setup
- name: Show helm version
run: |
type helm
helm version
```