Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/allanpk716/drone-portainer
drone plugin for portainer
https://github.com/allanpk716/drone-portainer
Last synced: 22 days ago
JSON representation
drone plugin for portainer
- Host: GitHub
- URL: https://github.com/allanpk716/drone-portainer
- Owner: allanpk716
- Created: 2020-06-06T08:06:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T05:29:19.000Z (almost 2 years ago)
- Last Synced: 2023-04-03T10:03:37.739Z (over 1 year ago)
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# drone-portainer
Deploy and update Docker Swarm stacks via Portainer API
fork from https://salcedo.dev/salcedo/drone-portainer
# Build
`docker build -t drone-portainer .`
# Usage
```yaml
kind: pipeline
name: defaultsteps:
- name: deploy
image: drone-portainer
settings:
url: https://portainer.example.org
stack: example
tag: ${DRONE_TAG}
username:
from_secret: portainer_username
password:
from_secret: portainer_password
environment:
VAR1: value
VAR2: value
```# Parameter Reference
`url`
URL of Portainer server`stack`
Name of stack to create or update`username`
Portainer username`password`
Portainer password`endpoint`
Endpoint name. Defaults to `primary``stackfile`
Stackfile path. Defaults to `docker-stack.yml``environment`
Environment variables`tag`
Drone build tag