Skip to content

Local Plugin Development and Testing #308

@arm4b

Description

@arm4b

Based on bitops-plugins/terraform#7 and #307
At this moment the workflow to develop and test the plugins is time-consuming.

For someone to develop and test the plugin locally they need to push the changes to the git repository first, create a bitops.config.yaml referencing to the git repository and build a docker image based on https://bitovi.github.io/bitops/plugins/#creating-your-own-bitops-image instructions:

bitops:
  plugins:
    terraform:
      source: https://github.com/bitops-plugins/terraform

Instead of that, we could implement file:// handler that would allow using the local plugin directory:

bitops:
  plugins:
    terraform:
      source: file:///path-to-local-bitops-plugin/

This will help with the local development, as well as open opportunity for the automated testing Plugins: Testing / Validation and CI/CD #224 for every plugin, so we can verify that the plugin install really works and verified against the base BitOps on every PR as we change them.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions