forked from canonical/microcloud-cluster-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrockcraft.yaml
More file actions
39 lines (35 loc) · 978 Bytes
/
Copy pathrockcraft.yaml
File metadata and controls
39 lines (35 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# product metadata
name: microcloud-cluster-manager
version: "0.1"
summary: Canonical MicroCloud Cluster Manager
description: |
The Canonical MicroCloud Cluster Manager is a tool that allows you to manage multiple MicroClouds from a single interface.
It provides a REST API for managing MicroClouds, and a web interface for interacting with the API.
license: AGPL-3.0
# build metadata
base: ubuntu@24.04
platforms:
amd64:
services:
mcm-management-api:
override: replace
command: /usr/bin/microcloud-cluster-manager
startup: enabled
parts:
deps:
plugin: nil
stage-packages:
- ca-certificates
- protobuf-compiler
app-build:
plugin: go
source: .
source-type: local
build-snaps:
- go/1.25/stable # for go build
- node/22/stable # for ui assets
build-packages:
- make
override-build: |
make build
install -D -m755 ./cmd/app ${CRAFT_PART_INSTALL}/usr/bin/microcloud-cluster-manager