2020-10-01 20:21:57 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: deploy to swarm-test.autonomic.zone
|
|
|
|
steps:
|
|
|
|
- name: deployment
|
|
|
|
image: decentral1se/stack-ssh-deploy:latest
|
|
|
|
settings:
|
|
|
|
host: swarm-test.autonomic.zone
|
2020-10-02 12:15:51 +00:00
|
|
|
stack: adaptauthoring
|
2020-10-01 20:21:57 +00:00
|
|
|
purge: true
|
2020-10-02 12:21:15 +00:00
|
|
|
generate_secrets: true
|
2020-10-01 20:21:57 +00:00
|
|
|
deploy_key:
|
|
|
|
from_secret: drone_ssh_swarm_test
|
|
|
|
environment:
|
2020-10-02 12:15:51 +00:00
|
|
|
DOMAIN: adaptauthoring.swarm-test.autonomic.zone
|
|
|
|
STACK_NAME: adaptauthoring
|
2020-10-01 20:21:57 +00:00
|
|
|
LETS_ENCRYPT_ENV: production
|
2020-10-02 12:15:51 +00:00
|
|
|
ADMIN_EMAIL: adapt@example.com
|
|
|
|
FROM_EMAIL: adapt@example.com
|
2021-03-02 17:50:25 +00:00
|
|
|
SECRET_SESSION_KEY_VERSION: v1
|
|
|
|
SECRET_ADMIN_PASSWORD_VERSION: v1
|
2020-10-01 20:21:57 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- main
|
2021-06-03 21:00:12 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: recipe release
|
|
|
|
steps:
|
|
|
|
- name: release a new version
|
2021-06-21 10:27:18 +00:00
|
|
|
image: thecoopcloud/drone-abra:latest
|
2021-06-03 21:00:12 +00:00
|
|
|
settings:
|
2021-06-03 21:06:07 +00:00
|
|
|
command: recipe adapt_authoring release
|
2021-06-03 21:00:12 +00:00
|
|
|
deploy_key:
|
|
|
|
from_secret: abra_bot_deploy_key
|