2 Commits
main ... 0.0.1

Author SHA1 Message Date
22178dbc7d add publish step 2026-05-25 17:43:49 -04:00
941ee2955c update links 2026-05-16 12:11:28 -04:00
4 changed files with 23 additions and 6 deletions

17
.drone.yml Normal file
View File

@ -0,0 +1,17 @@
---
kind: pipeline
name: coopcloud.tech/abra-wizard
steps:
- name: publish image
image: plugins/docker
settings:
auto_tag: true
username: abra-wizard-bot
password:
from_secret: git_coopcloud_tech_token_abra_wizard
repo: git.coopcloud.tech/toolshed/coop-cloud-backend
registry: git.coopcloud.tech
when:
event:
- tag

View File

@ -1,6 +1,6 @@
# coop-cloud-backend
A Go service that exposes RESTful API endpoints to manage Abra programmatically.
Integrates with https://git.coopcloud.tech/BornDeleuze/coop-cloud-front.
Integrates with https://git.coopcloud.tech/toolshed/coop-cloud-front.
## Starting the service with Docker
Build the container:
@ -14,7 +14,7 @@ docker run abra-wizard
```
## Getting started with development
- Clone the front end application `git clone https://git.coopcloud.tech/BornDeleuze/coop-cloud-front.git`
- Clone the front end application `git clone https://git.coopcloud.tech/toolshed/coop-cloud-front.git`
- Checkout the `dev-nomock` branch `cd coop-cloud-front && git checkout dev-nomock`
- Launch the front-end application `npm run dev`
- Start this Go app `go run .`

View File

@ -1,7 +1,7 @@
package api
// Represents an App, follows the format of
// https://git.coopcloud.tech/BornDeleuze/coop-cloud-front
// https://git.coopcloud.tech/toolshed/coop-cloud-front
type AbraApp struct {
Server string `json:"server"`
Recipe string `json:"recipe`
@ -47,4 +47,4 @@ type DeployStream struct {
retries int `json:"retries"`
health string `json:"health"`
rollback bool `json:"rollback"`
}
}

View File

@ -1,7 +1,7 @@
package cli
// Represents an App, follows the format of
// https://git.coopcloud.tech/BornDeleuze/coop-cloud-front
// https://git.coopcloud.tech/toolshed/coop-cloud-front
type AbraApp struct {
Server string `json:"server"`
Recipe string `json:"recipe`
@ -79,4 +79,4 @@ type AbraAppService struct {
// Website string `json:"website"`
// }
// type RecipeCatalogue map[Name]RecipeMeta
// type RecipeCatalogue map[Name]RecipeMeta