Discover Packages
github.com/hazel-shen/rancher-deploy-plugin-go
command
module
Version:
v0.0.0-...-0597613
Opens a new window with list of versions in this module.
Published: Jun 3, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
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.
Opens a new window with list of known importers.
README
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]
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.