Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

Commit 2df28f4

Browse files
committed
Add simple workflow to build project
1 parent ee9e82b commit 2df28f4

2 files changed

Lines changed: 21 additions & 0 deletions

File tree

rust.yml renamed to .github/workflows/rust.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19+
- name: Install dependencies
20+
run: sudo apt-get install glusterfs-common
1921
- name: Build
2022
run: cargo build --verbose
2123
- name: Run tests

scripts/install_gluster.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apt-get install glusterfs-server
2+
3+
# Enable and start GlusterFS SystemD Unit
4+
systemctl enable glusterd
5+
systemctl start glusterd
6+
7+
# Create directory for brick
8+
mkdir -p /data/glusterfs/myvol1/brick1
9+
10+
# Create volume in gluster using parameter 'force' to skip verification to create from '/'
11+
gluster volume create myvol1 $HOSTNAME:/data/glusterfs/myvol1/brick1/brick force
12+
13+
# Start server
14+
gluster volume start myvol1
15+
16+
# To mount on clients
17+
mkdir -p /mnt/glusterfs
18+
mount -t glusterfs $HOSTNAME:myvol1 /mnt/glusterfs
19+

0 commit comments

Comments
 (0)