Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
dea4dfea5a | |||
88d4dadca6 | |||
93273d0f07 | |||
2ce1e2aded | |||
f7fd4b6f7e | |||
28667d2d04 |
42
.drone.yml
42
.drone.yml
@ -6,14 +6,50 @@ steps:
|
|||||||
image: decentral1se/stack-ssh-deploy:latest
|
image: decentral1se/stack-ssh-deploy:latest
|
||||||
settings:
|
settings:
|
||||||
host: swarm-test.autonomic.zone
|
host: swarm-test.autonomic.zone
|
||||||
stack: ${REPO_NAME_SNAKE}
|
stack: {{ .Name }}
|
||||||
purge: true
|
purge: true
|
||||||
deploy_key:
|
deploy_key:
|
||||||
from_secret: drone_ssh_swarm_test
|
from_secret: drone_ssh_swarm_test
|
||||||
environment:
|
environment:
|
||||||
DOMAIN: ${REPO_NAME_KEBAB}.swarm-test.autonomic.zone
|
DOMAIN: {{ .Name }}.swarm-test.autonomic.zone
|
||||||
STACK_NAME: ${REPO_NAME_SNAKE}
|
|
||||||
LETS_ENCRYPT_ENV: production
|
LETS_ENCRYPT_ENV: production
|
||||||
|
|
||||||
|
- name: notify coopcloud-dev on failure
|
||||||
|
image: plugins/matrix
|
||||||
|
settings:
|
||||||
|
homeserver: https://matrix.autonomic.zone
|
||||||
|
roomid: "IFazIpLtxiScqbHqoa:autonomic.zone"
|
||||||
|
userid: "@autono-bot:autonomic.zone"
|
||||||
|
accesstoken:
|
||||||
|
from_secret: autono_bot_access_token
|
||||||
|
depends_on:
|
||||||
|
- deployment
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- failure
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: recipe release
|
||||||
|
steps:
|
||||||
|
- name: release a new version
|
||||||
|
image: decentral1se/drone-abra:latest
|
||||||
|
settings:
|
||||||
|
command: recipe {{ .Name }} release
|
||||||
|
deploy_key:
|
||||||
|
from_secret: abra_bot_deploy_key
|
||||||
|
|
||||||
|
- name: trigger downstream builds
|
||||||
|
image: plugins/downstream
|
||||||
|
settings:
|
||||||
|
server: https://drone.autonomic.zone
|
||||||
|
token:
|
||||||
|
from_secret: decentral1se_token
|
||||||
|
fork: true
|
||||||
|
repositories:
|
||||||
|
- coop-cloud/auto-apps-json
|
||||||
|
depends_on:
|
||||||
|
- release a new version
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
TYPE=${REPO_NAME_KEBAB}
|
TYPE={{ .Name }}
|
||||||
|
|
||||||
|
DOMAIN={{ .Name }}.example.com
|
||||||
|
|
||||||
DOMAIN=${REPO_NAME_KEBAB}.example.com
|
|
||||||
## Domain aliases
|
## Domain aliases
|
||||||
#EXTRA_DOMAINS=', `www.${REPO_NAME_KEBAB}.example.com`'
|
#EXTRA_DOMAINS=', `www.{{ .Name }}.example.com`'
|
||||||
LETS_ENCRYPT_ENV=production
|
LETS_ENCRYPT_ENV=production
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
README.md
|
|
||||||
.env.sample
|
|
||||||
.drone.yml
|
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
/.envrc
|
.envrc
|
||||||
|
26
README.md
26
README.md
@ -1,16 +1,18 @@
|
|||||||
# ${REPO_NAME_TITLE}
|
# {{ .Name }}
|
||||||
|
|
||||||
${REPO_DESCRIPTION}
|
{{ .Description }}
|
||||||
|
|
||||||
<!-- metadata -->
|
<!-- metadata -->
|
||||||
* **Category**:
|
|
||||||
* **Status**:
|
- **Category**:
|
||||||
* **Image**: [`${REPO_NAME}`](https://hub.docker.com/r/${REPO_NAME}/${REPO_NAME})
|
- **Status**:
|
||||||
* **Healthcheck**:
|
- **Image**:
|
||||||
* **Backups**:
|
- **Healthcheck**:
|
||||||
* **Email**:
|
- **Backups**:
|
||||||
* **Tests**:
|
- **Email**:
|
||||||
* **SSO**:
|
- **Tests**:
|
||||||
|
- **SSO**:
|
||||||
|
|
||||||
<!-- endmetadata -->
|
<!-- endmetadata -->
|
||||||
|
|
||||||
## Basic usage
|
## Basic usage
|
||||||
@ -24,5 +26,5 @@ ${REPO_DESCRIPTION}
|
|||||||
5. `abra app YOURAPPDOMAIN deploy`
|
5. `abra app YOURAPPDOMAIN deploy`
|
||||||
6. Open the configured domain in your browser to finish set-up
|
6. Open the configured domain in your browser to finish set-up
|
||||||
|
|
||||||
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
|
[`abra`]: https://git.coopcloud.tech/coop-cloud/abra
|
||||||
[`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik
|
[`coop-cloud/traefik`]: https://git.coopcloud.tech/coop-cloud/traefik
|
||||||
|
Reference in New Issue
Block a user