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
|
||||
settings:
|
||||
host: swarm-test.autonomic.zone
|
||||
stack: ${REPO_NAME_SNAKE}
|
||||
stack: {{ .Name }}
|
||||
purge: true
|
||||
deploy_key:
|
||||
from_secret: drone_ssh_swarm_test
|
||||
environment:
|
||||
DOMAIN: ${REPO_NAME_KEBAB}.swarm-test.autonomic.zone
|
||||
STACK_NAME: ${REPO_NAME_SNAKE}
|
||||
DOMAIN: {{ .Name }}.swarm-test.autonomic.zone
|
||||
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:
|
||||
branch:
|
||||
- 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
|
||||
#EXTRA_DOMAINS=', `www.${REPO_NAME_KEBAB}.example.com`'
|
||||
#EXTRA_DOMAINS=', `www.{{ .Name }}.example.com`'
|
||||
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 -->
|
||||
* **Category**:
|
||||
* **Status**:
|
||||
* **Image**: [`${REPO_NAME}`](https://hub.docker.com/r/${REPO_NAME}/${REPO_NAME})
|
||||
* **Healthcheck**:
|
||||
* **Backups**:
|
||||
* **Email**:
|
||||
* **Tests**:
|
||||
* **SSO**:
|
||||
|
||||
- **Category**:
|
||||
- **Status**:
|
||||
- **Image**:
|
||||
- **Healthcheck**:
|
||||
- **Backups**:
|
||||
- **Email**:
|
||||
- **Tests**:
|
||||
- **SSO**:
|
||||
|
||||
<!-- endmetadata -->
|
||||
|
||||
## Basic usage
|
||||
@ -24,5 +26,5 @@ ${REPO_DESCRIPTION}
|
||||
5. `abra app YOURAPPDOMAIN deploy`
|
||||
6. Open the configured domain in your browser to finish set-up
|
||||
|
||||
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
|
||||
[`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik
|
||||
[`abra`]: https://git.coopcloud.tech/coop-cloud/abra
|
||||
[`coop-cloud/traefik`]: https://git.coopcloud.tech/coop-cloud/traefik
|
||||
|
Reference in New Issue
Block a user