Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
images: [ubuntu_18.04, ubuntu_20.04, ubuntu_22.04, ubuntu_24.04, centos_7, centos_8, mcr.microsoft.com/cbl-mariner/base/core_2.0]
images: [ubuntu_18.04, ubuntu_20.04, ubuntu_22.04, ubuntu_24.04, centos_7, centos_8, mcr.microsoft.com/cbl-mariner/base/core_2.0, mcr.microsoft.com/azurelinux/base/core_3.0]
platforms: [linux/amd64, linux/arm64]
exclude:
- images: centos_7
Expand Down Expand Up @@ -66,6 +66,8 @@ jobs:
OS=${BUILD_IMAGE}
if [[ "${BUILD_IMAGE}" =~ "mcr.microsoft.com/cbl-mariner/base/core:" ]]; then
OS="mariner:${BUILD_IMAGE#mcr.microsoft.com/cbl-mariner/base/core:}"
elif [[ "${BUILD_IMAGE}" =~ "mcr.microsoft.com/azurelinux/base/core:" ]]; then
OS="azurelinux:${BUILD_IMAGE#mcr.microsoft.com/azurelinux/base/core:}"
fi
echo "BUILD_IMAGE=${BUILD_IMAGE}"
echo "OS=${OS}"
Expand All @@ -80,6 +82,8 @@ jobs:
rm -f releases/overlaybd-*.deb
elif [[ "${OS}" =~ "mariner" ]]; then
rm -f releases/overlaybd-*.deb
elif [[ "${OS}" =~ "azurelinux" ]]; then
rm -f releases/overlaybd-*.deb
fi
ls -l releases/
env:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/release/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ elif [[ ${OS} =~ "mariner" ]]; then
yum install -y libaio-devel libcurl-devel openssl-devel libnl3-devel e2fsprogs-devel glibc-devel libzstd-devel binutils ca-certificates-microsoft build-essential
yum install -y rpm-build make git wget sudo tar gcc gcc-c++ autoconf automake libtool

DISTRO=${OS/:/.}
PACKAGE_RELEASE="-DPACKAGE_RELEASE=${RELEASE_NO}.${DISTRO}"
elif [[ ${OS} =~ "azurelinux" ]]; then
tdnf update -y
tdnf install -y libaio-devel libcurl-devel openssl-devel libnl3-devel e2fsprogs-devel glibc-devel libzstd-devel binutils ca-certificates-microsoft build-essential
tdnf install -y rpm-build make git wget sudo tar gcc gcc-c++ autoconf automake libtool

DISTRO=${OS/:/.}
PACKAGE_RELEASE="-DPACKAGE_RELEASE=${RELEASE_NO}.${DISTRO}"
fi
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ To build overlaybd from source code, the following dependencies are required:
* CentOS 7/Fedora: `sudo yum install libaio-devel libcurl-devel openssl-devel libnl3-devel libzstd-static e2fsprogs-devel`
* CentOS 8: `sudo yum install libaio-devel libcurl-devel openssl-devel libnl3-devel libzstd-devel e2fsprogs-devel`
* Debian/Ubuntu: `sudo apt install libcurl4-openssl-dev libssl-dev libaio-dev libnl-3-dev libnl-genl-3-dev libgflags-dev libzstd-dev libext2fs-dev`
* Mariner: `sudo yum install libaio-devel libcurl-devel openssl-devel libnl3-devel e2fsprogs-devel glibc-devel libzstd-devel binutils ca-certificates-microsoft build-essential`
* Mariner/AzureLinux: `sudo yum install libaio-devel libcurl-devel openssl-devel libnl3-devel e2fsprogs-devel glibc-devel libzstd-devel binutils ca-certificates-microsoft build-essential`

#### Build

Expand Down