drone-plugin-zeppelin-client

command module
v0.0.0-...-5fefa7b Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: Apache-2.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Zeppelin API client plugin for CI/CD workflow

Zeppelin REST API client plugin for CI/CD workflow. A step in the Pipeline PaaS CI/CD component to create / update / delete and also run a Zeppelin notebook via Zeppelin's REST API. You had to specify desired state of Zeppelin notebook in zeppelin_notebook_state option. These are the valid states:

  • present - notebook will created or updated
  • absent - notebook will be deleted if exists
  • running - notebook will be created or updated and started
Specify required secrets

Provide valid credentials for the pipeline API.

These options needs to be specified in the CI/CD GUI.

  • plugin_zeppelin_username: Zeppelin username
  • plugin_zeppelin_password: Zeppelin password

Main options

Option Description Default Required
notebook_name Name of the notebook to be created / updated "" Yes
notebook_file_path Path to notebook file "" Yes
notebook_state Desired state of notebook "" Yes
endpoint Zeppelin REST API endpoint to use "" Yes

Example YAML

run:
    image: banzaicloud/k8s-proxy:0.2.0
    original_image: banzaicloud/zeppelin-client:0.2.0
    notebook_name: "sf-police-incidents"
    notebook_file_path: "sf_police_incidents.note.json"
    notebook_state: "running"
    endpoint: "http://release-1-zeppelin:8080/zeppelin"

    secrets: [ plugin_zeppelin_username, plugin_zeppelin_password ]

For a full example of provisioning Zeppelin Server then run a notebook on it checkout Zeppelin PDI example.

Are you a developer? Click here

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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