mirror of
https://github.com/wayneconnolly/drone-rancher-stack-v1.git
synced 2026-06-04 18:23:54 +08:00
10 lines
342 B
Bash
10 lines
342 B
Bash
#!/bin/sh
|
|
|
|
git clone ${PLUGIN_REPO} /rancher
|
|
/bin/rancher-compose \
|
|
--url http://${PLUGIN_URL}/v1 \
|
|
--access-key ${PLUGIN_ACCESSKEY} \
|
|
--secret-key ${PLUGIN_SECRETKEY} \
|
|
-f /rancher/${PLUGIN_PATH}/docker-compose.yml -r /rancher/${PLUGIN_PATH}/rancher-compose.yml \
|
|
--verbose -p ${PLUGIN_STACK} up -p -d --force-upgrade --confirm-upgrade
|