Skip to main content

Plugin template project used to quick start development of a new Versatile Data Kit SDK plugin.

Project description

The name of the plugin

Instructions:

(delete this section after reading and completing the instructions)

This directory outlines a template which specifies the implementation of all vdk plugins. It includes a setup.py file, a /src/ directory containing all the plugin hooks and additional implementation files, a /tests/ directory containing all plugin-specific tests, and a .plugin-ci.yml file which specifies the CI/CD relevant to the plugins.

The CI/CD is separated in two stages, a build stage and a release stage. The build stage is made up of a few jobs, all which inherit from the same job configuration and only differ in the Python version they use (3.7, 3.8, 3.9 and 3.10). They run according to rules, which are ordered in a way such that changes to a plugin's directory trigger the plugin CI, but changes to a different plugin does not.

In order to add a new plugin, copy the plugin-template directory and follow the instructions in the files. Generally those are

  • Update the setup.py file with correct name of the plugin;
  • Update .plugin-ci.yml file with name of the plugin - make sure to follow comments;
  • Include your implementation files inside the src folder;
  • Include any tests inside the tests so they can be ran by CI framework automatically.

Usage

Build and testing

In order to build and test a plugin go to the plugin directory and use ../build-plugin.sh script to build it

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plugin-package-template-0.1.418442759.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file plugin-package-template-0.1.418442759.tar.gz.

File metadata

  • Download URL: plugin-package-template-0.1.418442759.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for plugin-package-template-0.1.418442759.tar.gz
Algorithm Hash digest
SHA256 7e322403fec3c19865dc1ebd5fb5066006d085ae089178c468231c5ad83ec373
MD5 55cc5066570b9a865c61aa22cab65eb3
BLAKE2b-256 d814fd56b73b118443f5135a9aaf1b390305670eca8e75e76b8b5e3fd3bc780b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page