name: gluster-block
version: '0.1'
summary: gluster block storage management
description: |
gluster-block is a CLI utility, which aims at making gluster backed
block storage creation and maintenance as simple as possible.
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode
apps:
blockd:
command: sbin/gluster-blockd
plugs: [network-bind, network]
daemon: simple
gluster-block:
command: sbin/gluster-block
plugs: [network]
tcmu-runner:
command: sbin/tcmu-runner
target-cli:
command: scripts/targetcli
parts:
gluster-block:
stage-packages:
- libc6
build-packages:
- build-essential
- pkg-config
- patch
- glusterfs-common
- uuid-dev
- libacl1-dev
plugin: autotools
source: .
tcmu-runner:
build-packages:
- build-essential
- libkmod-dev
- libnl-3-dev
- libnl-genl-3-dev
plugin: cmake
source: https://github.com/open-iscsi/tcmu-runner.git
source-tag: v1.2.0
target-cli:
stage-packages:
- python3-rtslib-fb
- python3-dbus
- python3-six
plugin: python
source: https://github.com/open-iscsi/targetcli-fb.git
source-tag: v2.1.fb46