Merge branch 'main' of https://git.coopcloud.tech/coop-cloud/botamusique
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
41
.drone.yml
Normal file
41
.drone.yml
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
---
|
||||||
|
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: botamusique
|
||||||
|
generate_secrets: true
|
||||||
|
purge: true
|
||||||
|
deploy_key:
|
||||||
|
from_secret: drone_ssh_swarm_test
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
environment:
|
||||||
|
DOMAIN: botamusique.swarm-test.autonomic.zone
|
||||||
|
STACK_NAME: botamusique
|
||||||
|
LETS_ENCRYPT_ENV: production
|
||||||
|
ENTRYPOINT_CONF_VERSION: v1
|
||||||
|
SECRET_BAM_CERTIFICATE_VERSION: v1
|
||||||
|
SECRET_MUMBLE_PASSWORD_VERSION: v1
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
---
|
||||||
|
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
|
@ -13,4 +13,4 @@ LETS_ENCRYPT_ENV=production
|
|||||||
#BAM_VERBOSE=
|
#BAM_VERBOSE=
|
||||||
|
|
||||||
SECRET_BAM_CERTIFICATE_VERSION=v1
|
SECRET_BAM_CERTIFICATE_VERSION=v1
|
||||||
SECRET_BAM_MUMBLE_PASSWORD=v1
|
SECRET_MUMBLE_PASSWORD_VERSION=v1
|
||||||
|
@ -21,9 +21,9 @@ Bot to play youtube / soundcloud / radio / local music on Mumble
|
|||||||
2. Deploy [`coop-cloud/traefik`]
|
2. Deploy [`coop-cloud/traefik`]
|
||||||
3. `abra app new botamusique --secrets` (optionally with `--pass` if you'd like
|
3. `abra app new botamusique --secrets` (optionally with `--pass` if you'd like
|
||||||
to save secrets in `pass`)
|
to save secrets in `pass`)
|
||||||
4. `abra app YOURAPPDOMAIN config` - be sure to change `$DOMAIN` to something that resolves to
|
4. `abra app config YOURAPPDOMAIN` - be sure to change `$DOMAIN` to something that resolves to
|
||||||
your Docker swarm box
|
your Docker swarm box
|
||||||
5. `abra app YOURAPPDOMAIN deploy`
|
5. `abra app deploy YOURAPPDOMAIN`
|
||||||
6. Open the configured domain in your browser to finish set-up
|
6. Open the configured domain in your browser to finish set-up
|
||||||
|
|
||||||
NB you currently need to manually generate a certificate:
|
NB you currently need to manually generate a certificate:
|
||||||
|
Reference in New Issue
Block a user