2024-06-05 20:13:00 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: publish pipeline
|
|
|
|
steps:
|
2024-06-15 11:18:41 +00:00
|
|
|
- name: publish nextload container
|
2024-06-05 20:13:00 +00:00
|
|
|
image: plugins/docker
|
2024-06-06 06:41:46 +00:00
|
|
|
settings:
|
2024-06-05 20:18:07 +00:00
|
|
|
username: 3wordchant
|
|
|
|
password:
|
|
|
|
from_secret: git_autonomic_zone_token_3wc
|
|
|
|
auto_tag: true
|
|
|
|
registry: git.autonomic.zone
|
2024-06-05 20:25:53 +00:00
|
|
|
dockerfile: ./Dockerfile
|
2024-06-15 11:14:39 +00:00
|
|
|
repo: git.autonomic.zone/autonomic-cooperative/nextload
|
2024-06-05 20:13:00 +00:00
|
|
|
|
|
|
|
- name: deploy stack
|
|
|
|
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
|
|
|
settings:
|
|
|
|
compose: docker-compose.prod.yml
|
2024-06-15 11:31:38 +00:00
|
|
|
stack: nextload-demo_autonomic_zone
|
2024-06-05 20:13:00 +00:00
|
|
|
host: swarm-demo.autonomic.zone
|
|
|
|
deploy_key:
|
|
|
|
from_secret: drone_ssh_swarm-demo.autonomic.zone
|
|
|
|
environment:
|
2024-06-15 11:31:38 +00:00
|
|
|
DOMAIN: nextload.swarm-demo.autonomic.zone
|
|
|
|
STACK_NAME: nextload-demo_autonomic_zone
|
2024-06-05 20:13:00 +00:00
|
|
|
SECRET_PAYLOAD_SECRET_VERSION: v1
|
|
|
|
SECRET_TOKEN_VERSION: v1
|
|
|
|
SECRET_MONGO_PASSWORD_VERSION: v1
|
|
|
|
NGINX_CONF_VERSION: v1
|
2024-06-06 06:41:46 +00:00
|
|
|
REPOSITORY: "autonomic-cooperative/nextload"
|
2024-06-05 20:13:00 +00:00
|
|
|
DRONE_URL: "https://drone.autonomic.zone"
|
2024-06-15 11:31:38 +00:00
|
|
|
PAYLOAD_URL: "https://nextload.swarm-demo.autonomic.zone/admin" # Not needed anymore?
|
2024-06-05 20:13:00 +00:00
|
|
|
depends_on:
|
2024-06-15 11:18:41 +00:00
|
|
|
- publish nextload container
|