Compare commits

...

10 Commits

Author SHA1 Message Date
3wc 87ebc5ef93 chore: publish 1.0.0+RELEASE.2022-10-24T18-35-07Z release
continuous-integration/drone/push Build is passing Details
2023-04-29 14:41:47 -04:00
3wc fde7678e40 Switch to self-hosted stack-ssh-deploy image [mass update]
continuous-integration/drone/push Build is passing Details
2023-01-21 11:49:56 -08:00
3wc a547784787 Add drone configs / secrets [mass update]
continuous-integration/drone/push Build is passing Details
2023-01-20 21:32:06 -08:00
3wc 3816ee478f Add CI and catalogue generation [mass update]
continuous-integration/drone/push Build is failing Details
2023-01-20 10:45:03 -08:00
3wc 8ae3d8511c Update abra syntax in examples (finally) [mass update] 2023-01-19 16:02:28 -08:00
3wc 80f2a60ee2 Remove VIM swapfile 2022-10-18 17:29:19 -04:00
knoflook 3bbbade9e4
update README with login info 2022-06-01 11:35:19 +02:00
decentral1se 03aca97461 explain versioning
Closes #2
2022-04-07 14:11:42 +00:00
3wc 01998576c6 chore: publish 0.3.0+RELEASE.2022-03-26T06-49-28Z release 2022-04-02 13:36:06 +02:00
3wc 8df2b53cd9 chore: publish 0.2.0+RELEASE.2022-03-26T06-49-28Z release 2022-04-02 13:15:19 +02:00
4 changed files with 62 additions and 9 deletions

Binary file not shown.

40
.drone.yml Normal file
View File

@ -0,0 +1,40 @@
---
kind: pipeline
name: deploy to swarm-test.autonomic.zone
steps:
- name: deployment
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
settings:
host: swarm-test.autonomic.zone
stack: minio
generate_secrets: true
purge: true
deploy_key:
from_secret: drone_ssh_swarm_test
networks:
- proxy
environment:
DOMAIN: minio.swarm-test.autonomic.zone
STACK_NAME: minio
LETS_ENCRYPT_ENV: production
SECRET_SECRET_KEY_VERSION: v1
SECRET_ACCESS_KEY_VERSION: v1
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

@ -21,10 +21,14 @@
2. Deploy [`coop-cloud/traefik`]
3. `abra app new minio --secrets` (optionally with `--pass` if you'd like
to save secrets in `pass`)
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`
6. Open the configured domain in your browser to finish set-up
5. `abra app deploy YOURAPPDOMAIN`
6. Open the configured domain in your browser to finish set-up. Login is the content of `access_key` and password is the content of `secret_key`.
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
[`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik
## Versioning
Unfortunately, `abra` cannot parse the upstream versioning format without some custom development work (see [this](https://git.coopcloud.tech/coop-cloud/tagcmp#types-of-versions-not-supported) for more) that has not been done yet. In the meantime, you need to upgrade the tags yourself.

View File

@ -3,11 +3,18 @@ version: "3.8"
services:
app:
image: minio/minio:RELEASE.2021-04-22T15-44-28Z
image: minio/minio:RELEASE.2022-10-24T18-35-07Z
volumes:
- minio-data:/export
networks:
- proxy
environment:
- MINIO_BROWSER_REDIRECT_URL=https://console.$DOMAIN
- MINIO_SERVER_URL=https://$DOMAIN
command: server /export --console-address ":9001"
secrets:
- secret_key
- access_key
deploy:
restart_policy:
condition: on-failure
@ -17,15 +24,17 @@ services:
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "traefik.http.routers.${STACK_NAME}.service=${STACK_NAME}"
- "traefik.http.services.${STACK_NAME}_console.loadbalancer.server.port=9001"
- "traefik.http.routers.${STACK_NAME}_console.rule=Host(`console.${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}_console.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}_console.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "traefik.http.routers.${STACK_NAME}_console.service=${STACK_NAME}_console"
## Redirect from EXTRA_DOMAINS to DOMAIN
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- "coop-cloud.${STACK_NAME}.version=0.1.0+RELEASE.2021-04-22T15-44-28Z"
command: server /export
secrets:
- secret_key
- access_key
- "coop-cloud.${STACK_NAME}.version=1.0.0+RELEASE.2022-10-24T18-35-07Z"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s