-
Notifications
You must be signed in to change notification settings - Fork 7
/
rockcraft.yaml
92 lines (84 loc) · 2.47 KB
/
rockcraft.yaml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
name: ceph
base: [email protected]
version: '0.1' # replaced by CI when building to publish.
summary: Ubuntu based Ceph container image
description: Rock for Containerised Ceph based on Ubuntu Ceph distribution.
license: Apache-2.0
platforms:
amd64:
# Custom PPAs for Bug: https://bugs.launchpad.net/ubuntu/jammy/+source/ceph/+bug/2003704
# This will be removed once the required packages are available from jammy repositories.
package-repositories:
- type: apt
cloud: bobcat
priority: always
services:
ceph-container:
override: replace
command: /opt/ceph-container/bin/pebble/pebble_cmd.sh
summary: Unified Ceph container service started by the entrypoint
startup: enabled
parts:
# Workaround part which build nothing to fetch package info early in CI.
pkg_info:
plugin: nil
override-pull: |
apt info ceph-common
ceph:
plugin: nil
overlay-packages:
# Ceph packages
- ceph-common
- ceph-mon
- ceph-osd
- ceph-mds
- ceph-mgr
- ceph-mgr-cephadm
- ceph-mgr-dashboard
- ceph-mgr-diskprediction-local
- ceph-mgr-k8sevents
- ceph-mgr-rook
- ceph-grafana-dashboards
- radosgw
- nfs-ganesha
- nfs-ganesha-ceph
- cephfs-mirror
- ceph-iscsi
- ceph-fuse
- rbd-nbd
- rbd-mirror
# Utilities
- gnupg
- ca-certificates
- kmod
- lvm2
- gdisk
- smartmontools
- e2fsprogs
- nvme-cli
- attr # utilities for manipulating filesystem extended attributes
- targetcli-fb
- uuid-runtime
- python-setuptools
- udev
- dmsetup
- ceph-volume
- python3-asyncssh
- python3-natsort
- sharutils
- lsof
- python3-onelogin-saml2
kubectl:
plugin: go
build-snaps:
- go
source: ./kubectl
source-type: local
local-files:
plugin: dump
source: . # all local files
organize:
# Logrotate (required by Rook prod spec)
logrotate.d/* : ${CRAFT_PART_INSTALL}/etc/logrotate.d/
# Ceph defaults
ceph.defaults : ${CRAFT_PART_INSTALL}/opt/ceph-container/etc/