mirror of
https://github.com/danielgormly/drone-plugin-kube.git
synced 2026-06-04 18:23:48 +08:00
13 lines
329 B
Bash
Executable File
13 lines
329 B
Bash
Executable File
#!/bin/bash
|
|
|
|
export PLUGIN_TEMPLATE=test/configmap.template.yaml
|
|
export PLUGIN_CONFIGMAP_FILE=test/sample-config-data
|
|
export PLUGIN_NAME=drone-kube-test
|
|
export PLUGIN_COMMIT=a5b81d0f
|
|
export PLUGIN_NAMESPACE=default
|
|
|
|
go build -o build/kubano
|
|
export $(cat .env | xargs) && ./build/kubano
|
|
|
|
# docker run --env-file=.env drone-kubano
|