-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathrockcraft.yaml
More file actions
44 lines (39 loc) · 872 Bytes
/
rockcraft.yaml
File metadata and controls
44 lines (39 loc) · 872 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
40
41
42
43
44
name: ratings
version: 0.0.4
license: GPL-3.0
base: bare
build_base: ubuntu@24.04
platforms:
amd64:
summary: Ubuntu App Ratings Service
description: |
Backend service to support application ratings in the new Ubuntu Software Centre.
run_user: _daemon_
services:
ratings:
override: replace
startup: enabled
command: "/bin/ratings"
parts:
rust-dependencies:
plugin: nil
override-pull: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
ratings:
after: [ rust-dependencies ]
plugin: rust
build-packages:
- libssl-dev
- pkg-config
build-snaps:
- protobuf
source: .
stage-packages:
- libc6_libs
- libgcc-s1_libs
- ca-certificates_data
migrations:
plugin: dump
source: ./sql/
organize:
migrations : sql/migrations