docs: badget and deploy docs

This commit is contained in:
decentral1se 2021-11-07 00:09:44 +01:00
parent 8188f71d44
commit 35bdc87d18
No known key found for this signature in database
GPG key ID: 5E2EF5A63E3718CC
2 changed files with 12 additions and 5 deletions

View file

@ -1,10 +1,17 @@
# recipes # recipes
[![Build Status](https://build.coopcloud.tech/api/badges/coop-cloud/recipes/status.svg?ref=refs/heads/main)](https://build.coopcloud.tech/coop-cloud/recipes)
> [apps.coopcloud.tech](https://apps.coopcloud.tech) > [apps.coopcloud.tech](https://apps.coopcloud.tech)
The recipe catalogue for [Co-op Cloud](https://coopcloud.tech). The recipe catalogue for [Co-op Cloud](https://coopcloud.tech).
## Deploy ## Automatic deploy
- `make generate` Each commit to this repo is deployed to
- `make deploy` [apps.coopcloud.tech](https://apps.coopcloud.tech). Commits can be sent by
running `abra catalogue generate --commit --push`.
## Manual deploy
`make`

View file

@ -3,9 +3,9 @@ STACK := recipes_coopcloud_tech
default: deploy default: deploy
generate: generate:
abra catalogue generate && cp ~/.abra/apps.json recipes.json abra catalogue generate
deploy: deploy: generate
@DOCKER_CONTEXT=swarm.autonomic.zone docker stack rm $(STACK) && \ @DOCKER_CONTEXT=swarm.autonomic.zone docker stack rm $(STACK) && \
DOCKER_CONTEXT=swarm.autonomic.zone docker stack deploy -c compose.yml $(STACK) DOCKER_CONTEXT=swarm.autonomic.zone docker stack deploy -c compose.yml $(STACK)