Skip to content

thin-edge/tedge-snap-plugin

Repository files navigation

tedge-snap-plugin

Plugin summary

Manage snaps on a device using thin-edge.io software management plugin api.

Technical summary

The following details the technical aspects of the plugin to get an idea what systems it supports.

Languages shell (posix compatible)
CPU Architectures all/noarch. Not CPU specific
Supported init systems N/A
Required Dependencies snap
Optional Dependencies (feature specific) -

How to do I get it?

The following linux package formats are provided on the releases page and also in the tedge-community repository:

Operating System Repository link
Ubuntu Latest version of 'tedge-snap-plugin' @ Cloudsmith

What will be deployed to the device?

  • The following software management plugins which is called when installing and removing snap packages via Cumulocity IoT
    • snap - Manage (list/install/remove) packages via the snap cli

Plugin Dependencies

The following packages are required to use the plugin:

  • snap

Development

The following tools are requires for local development. Please install them before following the instructions:

Start demo

  1. Build the tedge-snap-plugin package

    just build
  2. Start the demo

    just up
  3. Activate your Cumulocity IoT session in go-c8y-cli where you want to bootstrap the device to

    set-session

    set-session is part of go-c8y-cli, check out the documentation for instructions on how to install and create your session if you don't already have one.

  4. Bootstrap the device

    just bootstrap

    The bootstrap command used the c8y-tedge extension.

Stop demo

just down