Compare commits

...

2 Commits

Author SHA1 Message Date
3wc 692a3898ec Update abra syntax in examples (finally) [mass update]
continuous-integration/drone/push Build is passing Details
2023-01-20 10:46:09 -08:00
3wc 5ecf743b6d Add CI and catalogue generation [mass update] 2023-01-20 10:45:33 -08:00
2 changed files with 41 additions and 3 deletions

38
.drone.yml Normal file
View File

@ -0,0 +1,38 @@
---
kind: pipeline
name: deploy to swarm-test.autonomic.zone
steps:
- name: deployment
image: decentral1se/stack-ssh-deploy:latest
settings:
host: swarm-test.autonomic.zone
stack: custom-html-tiny
generate_secrets: true
purge: true
deploy_key:
from_secret: drone_ssh_swarm_test
networks:
- proxy
environment:
DOMAIN: custom-html-tiny.swarm-test.autonomic.zone
STACK_NAME: custom-html-tiny
LETS_ENCRYPT_ENV: production
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

View File

@ -18,9 +18,9 @@ Custom HTML website, served using thttpd
1. Set up Docker Swarm and [`abra`]
2. Deploy [`coop-cloud/traefik`]
3. `abra app new custom-html`
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
5. `abra app YOURAPPDOMAIN deploy`
5. `abra app deploy YOURAPPDOMAIN`
6. Copy your files to the container, using something like
```
abra app YOURAPPDOMAIN cp index.html app:/content
@ -34,4 +34,4 @@ abra app YOURAPPDOMAIN cp index.html app:/content
1. Set up as above, stop at step 4.
2. Deploy `swarm-cronjob` to the host
3. `abra app config`, Uncomment Git lines in configuration, and set variables as appropriate.
4. `abra app YOURAPPDOMAIN deploy`
4. `abra app deploy YOURAPPDOMAIN`