extension-scaffold

command module
v0.0.0-...-164e21f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 17 Imported by: 0

README

Steadybit Extension Scaffold

This repository contains a scaffold with a sample implementation of a Steadybit extension. You may find this repository helpful…

Please follow one of the links above to move to the appropriate documentation sections.

Understanding the Extension Mechanism

One of the best ways to understand the extension mechanism is to run an extension and experiment with its APIs. We have prepared Gitpod and GitHub codespaces setups to make this as easy as possible for you.

When you click one of these buttons, you will be directed to an online editor with a locally running extension, and the file README.http will open. This file contains documentation and HTTP calls you can execute to learn about extensions and this specific sample implementation.

Open in Gitpod

Open in GitHub Codespaces

For Extension Authors

Note: We recommend that you understand the extension mechanism before following these instructions.

This repository ships with everything Steadybit extensions might need:

  • Basic usage of and initialization for ActionKit, DiscoveryKit, EventKit and ExtensionKit.
  • Extension configuration support.
  • Dockerfile and Helm chart.
  • GitHub actions for building, testing and publishing Docker images and Helm charts.
  • and more.

To use this scaffold, you need to:

  1. Get a copy of this scaffold. Use GitHub's repository template feature, fork the repository or download it.
  2. Execute make eject within the copy to replace the readme, license etc. files with some more appropriate starting points.
  3. Delete the .github/workflows/cla.yml workflow or allow access to the access for CLA verification.
  4. Rename all occurrences of extension-scaffold to extension-{{other name}}
  5. Verify that the Docker and Helm installation instructions are correct in the README.md
  6. Create an empty branch named "gh-pages"
  7. After the first build, ensure that you make the Docker image public through packages -> {{your package name}} -> Package settings -> Change visibility

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL