Skip to content

A Spin plugin for interacting with Fermyon Cloud from the Spin CLI.

License

Notifications You must be signed in to change notification settings

kate-goldenring/cloud-plugin

 
 

Repository files navigation

Fermyon Cloud Plugin

A Spin plugin for interacting with Fermyon Cloud from the Spin CLI.

Installing the latest plugin

spin plugin install --url https://github.com/fermyon/cloud-plugin/releases/download/canary/cloud.json

Building and installing local changes

  1. Package the plugin.

    cargo build --release
    cp target/release/cloud-plugin cloud
    tar -czvf cloud.tar.gz cloud
    sha256sum cloud.tar.gz
    rm cloud
    # Outputs a shasum to add to cloud.json
  2. Get the manifest.

    curl -LRO https://github.com/fermyon/cloud-plugin/releases/download/canary/cloud.json
  3. Update the manifest to modify the url field to point to the path to local package (i.e. "url": "file:///path/to/cloud-plugin/plugin/cloud.tar.gz") and update the shasum.

  4. Install the plugin, pointing to the path to the manifest.

    spin plugin install -f ./plugin/cloud.json
  5. Run the plugin.

    spin cloud --help

About

A Spin plugin for interacting with Fermyon Cloud from the Spin CLI.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 96.6%
  • Shell 3.4%