-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #175 from wlan0/master
ensure that a statically linked binary is created
- Loading branch information
Showing
4 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
## Drone Plugin for Koki Short | ||
|
||
Define all your Kubernetes manifests using Koki Short, and use this drone plugin to automatically convert the Short manifests into K8s manifests on the fly | ||
|
||
### Use Koki Short in your Projects | ||
|
||
``` | ||
workspace: | ||
base: /go | ||
path: src/github.com/koki/short-drone-plugin | ||
pipeline: | ||
koki-short: | ||
image: kokster/short-drone-plugin:0.3.0 | ||
files: | ||
- deployment.yaml | ||
``` | ||
|
||
This will convert `deployment.yaml` to `kube_deployment.yaml`, which is the kubernetes manifest equivalent to `deployment.yaml`. The next steps in the pipeline will now be able to use `kube_deployment.yaml` | ||
|
||
### Configuration Options | ||
|
||
| Option | Type | Description | | ||
|--------|------|-------------| | ||
| files | []string | Input files relative to root of the project which is being built using drone | | ||
| overwrite | bool | Set to `true` to allow output files to be overwritten. (default `false`) | | ||
| in_place | bool | Set to `true` to translate files in place. (default `false`). Should always be used with `overwrite: true` | | ||
| prefix | string | The prefix of the output file created. (default `kube_`) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters