Compare commits
2 Commits
4f8abb3fa7
...
692a3898ec
Author | SHA1 | Date |
---|---|---|
3wc | 692a3898ec | |
3wc | 5ecf743b6d |
|
@ -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
|
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue