rancher-deploy-plugin-go

command module
v0.0.0-...-0597613 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 License: Apache-2.0 Imports: 8 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

Rancher plugin go version

This plugin is for solving JavaScript plugin which doesn't failed event if the drone workload isn't updated.

How to test

export PLUGIN_PROJECT_API = ${Your Rancher workload API}
export PLUGIN_DEPLOY_IMAGE = ${Your docker image url}
export PLUGIN_ACCESS_KEY = ${Your Rancher API access key}
export PLUGIN_SECRET_KEY = ${Your Rancher API secret key}

go main.go

HOW to use

You can use this way:

pipeline:
deploy-on-rancher:
    image: hazel910159/drone-deploy-plugin-go:v8
    project_api: ${Your Rancher workload API}
    access_key: ${Your Rancher API access key}
    secret_key: ${Your Rancher API secret key}
    deploy_image: ${Your docker image url}
    when:
      event: [push]
      branch: [beta, master]

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
⌂ 换网址