Skip to content

Commit

Permalink
Fix Deb build issues and remove GH action to build packages (#225)
Browse files Browse the repository at this point in the history
Signed-off-by: Aravinda Vishwanathapura <[email protected]>
  • Loading branch information
aravindavk authored Aug 4, 2022
1 parent d59d3b4 commit 10a1f34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 39 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/on-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,38 +87,3 @@ jobs:
tag: ${{ github.ref }}
overwrite: true
file_glob: true

build_deb_files:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
# TODO: Review the below list of dependencies
- name: Install the Build dependencies
run: |
sudo apt update -y
sudo apt install -y --no-install-recommends python3 libtirpc3 init \
python3-pip ssh rsync lvm2 less software-properties-common \
sudo curl wget git build-essential automake autoconf automake libtool \
flex bison libssl-dev pkg-config uuid-dev acl-dev zlib1g-dev \
libxml2-dev libxml2-utils liburcu-dev xfsprogs gdb attr \
libgoogle-perftools-dev zfsutils-linux screen libsqlite3-dev sqlite3 \
debmake python3-debian debhelper dh-python \
libaio-dev libdb-dev libfuse-dev libibverbs-dev liblvm2-dev \
libncurses5-dev librdmacm-dev libreadline-dev python3-all-dev
- name: Install Crystal
run: |
curl -fsSL https://crystal-lang.org/install.sh | sudo bash
- name: Build Debian packages
run: |
PACKAGING_GPG_SIGNING_KEY="${{ secrets.PACKAGING_GPG_SIGNING_KEY }}" VERSION="${{ github.ref_name }}" ./generate_deb_packages.sh
- name: Check built packages
run: |
ls -lh build/
- name: Upload deb packages and meta files to the release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/*
tag: ${{ github.ref }}
overwrite: true
file_glob: true
7 changes: 3 additions & 4 deletions packaging/glusterfs/debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Depends: ${misc:Depends},
fuse,
kadalu-storage-common (>= ${binary:Version}),
Conflicts: glusterfs-client
Replaces: kadalu-storage-client
Description: clustered file-system (client package)
This package provides the FUSE based Kadalu-Storage/GlusterFS tool.

Expand All @@ -52,6 +53,7 @@ Depends: ${misc:Depends},
kadalu-storage-client (>= ${binary:Version}),
libgoogle-perftools-dev
Conflicts: glusterfs-server
Replaces: kadalu-storage-server
Description: clustered file-system (server package)
This package installs init scripts and configuration files to turn
Kadalu-Storage/GlusterFS into a fully fledged file server.
Expand All @@ -73,10 +75,7 @@ Depends: ${misc:Depends},
python3-jwt, kadalu-storage-manager
Conflicts: libglusterfs0,
libglusterfs-dev, glusterfs-common
Breaks: kadalu-storage-server
Replaces: kadalu-storage-server,
libglusterfs0,
libglusterfs-dev
Replaces: kadalu-storage-common
Description: Kadalu-Storage common libraries and translator modules
This package includes libglusterfs and glusterfs translator modules
common to both Kadalu-Storage server and client framework, as well as
Expand Down

0 comments on commit 10a1f34

Please sign in to comment.