Skip to main content

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

Project description

This directory outlines a template which specifies the implementation of all vdk-core 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 three 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 three rules, which are ordered in a way such that changes to a plugin's directory or the main directory triggers them, but changes to a different plugin do 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.

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.415625538.tar.gz (2.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: plugin-package-template-0.1.415625538.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.11

File hashes

Hashes for plugin-package-template-0.1.415625538.tar.gz
Algorithm Hash digest
SHA256 4300420271c9561011b8a9c1461a4c65ba7cb0910a969b246ce9c9c40d5ef4f0
MD5 72f8f17fadf32e4bdcc847e7b19f54bd
BLAKE2b-256 a9d51aec144d986586911412696b5a4a7c7460fffa0c7ee87322ec591abb0347

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