46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
---
|
|
kind: pipeline
|
|
name: deploy to swarm-test.autonomic.zone
|
|
steps:
|
|
- name: deployment
|
|
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
|
settings:
|
|
host: swarm-test.autonomic.zone
|
|
stack: traefik-forward-auth
|
|
networks:
|
|
- proxy
|
|
generate_secrets: true
|
|
purge: true
|
|
deploy_key:
|
|
from_secret: drone_ssh_swarm_test
|
|
environment:
|
|
DOMAIN: traefik-forward-auth.swarm-test.autonomic.zone
|
|
STACK_NAME: traefik-forward-auth
|
|
LETS_ENCRYPT_ENV: production
|
|
COOKIE_DOMAIN: swarm-test.autonomic.zone
|
|
AUTH_HOST: auth-test.autonomic.zone
|
|
OIDC_ISSUER_URL: https://id-test.autonomic.zone/auth/realms/test
|
|
OIDC_CLIENT_ID: traefik-forward-auth
|
|
FORWARD_INI_VERSION: v1
|
|
SECRET_SECRET_NONCE_VERSION: v1
|
|
SECRET_OIDC_CLIENT_SECRET_VERSION: v1
|
|
trigger:
|
|
branch:
|
|
- master
|
|
---
|
|
kind: pipeline
|
|
name: generate recipe catalogue
|
|
steps:
|
|
- name: release a new version
|
|
image: plugins/downstream
|
|
settings:
|
|
server: https://build.coopcloud.tech
|
|
token:
|
|
from_secret: drone_abra-bot_token
|
|
fork: true
|
|
repositories:
|
|
- coop-cloud/auto-recipes-catalogue-json
|
|
|
|
trigger:
|
|
event: tag
|