forked from openzfs/zfs
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Stéphane Graber <[email protected]>
- Loading branch information
Showing
23 changed files
with
247 additions
and
24 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Frequent committers who contribute to Incus on their own time can add | ||
# themselves to the list here so users who feel like sponsoring can find | ||
# them. | ||
github: | ||
- stgraber |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
name: Builds | ||
on: | ||
- push | ||
|
||
permissions: | ||
contents: read | ||
|
||
concurrency: | ||
group: ${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build-zfs: | ||
name: Build ZFS | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- ubuntu-20.04 | ||
- ubuntu-22.04 | ||
- debian-11 | ||
- debian-12 | ||
arch: | ||
- amd64 | ||
- arm64 | ||
runs-on: | ||
- self-hosted | ||
- cpu-4 | ||
- mem-4G | ||
- arch-${{ matrix.arch }} | ||
- image-${{ matrix.os }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get install --yes \ | ||
debhelper \ | ||
devscripts \ | ||
dh-autoreconf \ | ||
dh-python \ | ||
dkms \ | ||
dpkg-dev \ | ||
libaio-dev \ | ||
libblkid-dev \ | ||
libcurl4-openssl-dev \ | ||
libelf-dev \ | ||
libpam0g-dev \ | ||
libssl-dev \ | ||
libtool \ | ||
libudev-dev \ | ||
lsb-release \ | ||
po-debconf \ | ||
python3-all-dev \ | ||
python3-cffi \ | ||
python3-setuptools \ | ||
python3-sphinx \ | ||
uuid-dev \ | ||
zlib1g-dev | ||
sudo apt-get install dh-dkms --yes || true | ||
- name: Build ZFS | ||
env: | ||
PKGOS: ${{ matrix.os }} | ||
PKGARCH: ${{ matrix.arch }} | ||
run: | | ||
[ "${PKGOS}" = "debian-11" ] && CODENAME=bullseye | ||
[ "${PKGOS}" = "debian-12" ] && CODENAME=bookworm | ||
[ "${PKGOS}" = "ubuntu-20.04" ] && CODENAME=focal | ||
[ "${PKGOS}" = "ubuntu-22.04" ] && CODENAME=jammy | ||
./autogen.sh | ||
./configure | ||
ZFSVERSION=$(cat META | grep ^Version: | awk '{print $2}') | ||
ZFSRELEASE=$(cat META | grep ^Release: | awk '{print $2}') | ||
cd contrib | ||
dch -D ${CODENAME} -M -b -m "Automated ZFS build" -v ${ZFSVERSION}~${ZFSRELEASE}-${PKGARCH}-$(date -u +%Y%m%d%H%M)-$(echo ${PKGOS} | sed "s/-//g") | ||
cd .. | ||
make native-deb-utils | ||
- name: Prepare the artifacts | ||
run: | | ||
mkdir out/ | ||
mv ../openzfs-* out/ | ||
- name: Upload resulting build | ||
uses: actions/upload-artifact@v3 | ||
continue-on-error: true | ||
with: | ||
name: ${{ matrix.os }}-${{ matrix.arch }} | ||
path: out/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Commits | ||
on: | ||
- pull_request | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
dco-check: | ||
permissions: | ||
pull-requests: read # for tim-actions/get-pr-commits to get list of commits from the PR | ||
name: Signed-off-by (DCO) | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Get PR Commits | ||
id: 'get-pr-commits' | ||
uses: tim-actions/get-pr-commits@master | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Check that all commits are signed-off | ||
uses: tim-actions/dco@master | ||
with: | ||
commits: ${{ steps.get-pr-commits.outputs.commits }} | ||
|
||
target-branch: | ||
permissions: | ||
contents: none | ||
name: Branch target | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Check branch target | ||
env: | ||
TARGET: ${{ github.event.pull_request.base.ref }} | ||
run: | | ||
set -x | ||
[ "${TARGET}" = "main" ] && exit 0 | ||
echo "Invalid branch target: ${TARGET}" | ||
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,82 @@ | ||
![img](https://openzfs.github.io/openzfs-docs/_static/img/logo/480px-Open-ZFS-Secondary-Logo-Colour-halfsize.png) | ||
# ZFS builds | ||
Those are ZFS tools and dkms builds made and supported by Zabbly. | ||
|
||
OpenZFS is an advanced file system and volume manager which was originally | ||
developed for Solaris and is now maintained by the OpenZFS community. | ||
This repository contains the code for running OpenZFS on Linux and FreeBSD. | ||
They are designed to work reliably with the matching [kernel build](https://github.com/zabbly/linux). | ||
|
||
[![codecov](https://codecov.io/gh/openzfs/zfs/branch/master/graph/badge.svg)](https://codecov.io/gh/openzfs/zfs) | ||
[![coverity](https://scan.coverity.com/projects/1973/badge.svg)](https://scan.coverity.com/projects/openzfs-zfs) | ||
## Availability | ||
Those kernels are built for: | ||
|
||
# Official Resources | ||
* Ubuntu 20.04 LTS (`focal`) | ||
* Ubuntu 22.04 LTS (`jammy`) | ||
* Debian 12 (`bookworm`) | ||
|
||
* [Documentation](https://openzfs.github.io/openzfs-docs/) - for using and developing this repo | ||
* [ZoL Site](https://zfsonlinux.org) - Linux release info & links | ||
* [Mailing lists](https://openzfs.github.io/openzfs-docs/Project%20and%20Community/Mailing%20Lists.html) | ||
* [OpenZFS site](https://openzfs.org/) - for conference videos and info on other platforms (illumos, OSX, Windows, etc) | ||
## Installation | ||
On any of those, you can add the package repository at `/etc/apt/sources.list.d/zabbly-kernel-stable.sources`: | ||
|
||
# Installation | ||
``` | ||
Enabled: yes | ||
Types: deb deb-src | ||
URIs: https://pkgs.zabbly.com/kernel/stable | ||
Suites: DISTRO | ||
Components: zfs | ||
Architectures: ARCH | ||
Signed-By: /etc/apt/keyrings/zabbly.asc | ||
``` | ||
|
||
Full documentation for installing OpenZFS on your favorite operating system can | ||
be found at the [Getting Started Page](https://openzfs.github.io/openzfs-docs/Getting%20Started/index.html). | ||
Make sure to replace `DISTRO` with one of `focal`, `jammy` or `bookworm` | ||
and then replace `ARCH` with one of `amd64` or `arm64`. | ||
|
||
# Contribute & Develop | ||
If you're already using the kernel builds from the same repository, change the `Components` line to read: | ||
``` | ||
Components: main zfs | ||
``` | ||
|
||
We have a separate document with [contribution guidelines](./.github/CONTRIBUTING.md). | ||
After that, add the [GPG keyring](https://pkgs.zabbly.com/key.asc) to `/etc/apt/keyrings/zabbly.asc`: | ||
``` | ||
-----BEGIN PGP PUBLIC KEY BLOCK----- | ||
We have a [Code of Conduct](./CODE_OF_CONDUCT.md). | ||
mQGNBGTlYcIBDACYQoVXVyQ6Y3Of14GwEaiv/RstQ8jWnH441OtvDbD/VVT8yF0P | ||
pUfypWjQS8aq0g32Qgb9H9+b8UAAKojA2W0szjJFlmmSq19YDMMmNC4AnfeZlKYM | ||
61Zonna7fPaXmlsTlSiUeo/PGvmAXrkFURC9S8FbhZdWEcUpf9vcKAoEzV8qGA4J | ||
xbKlj8EOjSkdq3OQ1hHjP8gynbbzMhZQwjbnWqoiPj35ed9EMn+0QcX+GmynGq6T | ||
h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MIcyJ8e2mlkuufq5kVem0Oez+GIDegvwnK3HAqWQ9lzdWKvnLiE | ||
gNkvg3bqIwZ/WoHBnSwOwwAzwarJl/gn8OG6CIeP | ||
=8Uc6 | ||
-----END PGP PUBLIC KEY BLOCK----- | ||
``` | ||
|
||
# Release | ||
To install ZFS, run: `apt-get install openzfs-zfsutils openzfs-zfs-dkms openzfs-zfs-initramfs` | ||
|
||
OpenZFS is released under a CDDL license. | ||
For more details see the NOTICE, LICENSE and COPYRIGHT files; `UCRL-CODE-235197` | ||
|
||
# Supported Kernels | ||
* The `META` file contains the officially recognized supported Linux kernel versions. | ||
* Supported FreeBSD versions are any supported branches and releases starting from 12.2-RELEASE. | ||
## Repository | ||
This repository gets actively rebased as new releases come out, DO NOT expect a linear git history. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
![img](https://openzfs.github.io/openzfs-docs/_static/img/logo/480px-Open-ZFS-Secondary-Logo-Colour-halfsize.png) | ||
|
||
OpenZFS is an advanced file system and volume manager which was originally | ||
developed for Solaris and is now maintained by the OpenZFS community. | ||
This repository contains the code for running OpenZFS on Linux and FreeBSD. | ||
|
||
[![codecov](https://codecov.io/gh/openzfs/zfs/branch/master/graph/badge.svg)](https://codecov.io/gh/openzfs/zfs) | ||
[![coverity](https://scan.coverity.com/projects/1973/badge.svg)](https://scan.coverity.com/projects/openzfs-zfs) | ||
|
||
# Official Resources | ||
|
||
* [Documentation](https://openzfs.github.io/openzfs-docs/) - for using and developing this repo | ||
* [ZoL Site](https://zfsonlinux.org) - Linux release info & links | ||
* [Mailing lists](https://openzfs.github.io/openzfs-docs/Project%20and%20Community/Mailing%20Lists.html) | ||
* [OpenZFS site](https://openzfs.org/) - for conference videos and info on other platforms (illumos, OSX, Windows, etc) | ||
|
||
# Installation | ||
|
||
Full documentation for installing OpenZFS on your favorite operating system can | ||
be found at the [Getting Started Page](https://openzfs.github.io/openzfs-docs/Getting%20Started/index.html). | ||
|
||
# Contribute & Develop | ||
|
||
We have a separate document with [contribution guidelines](./.github/CONTRIBUTING.md). | ||
|
||
We have a [Code of Conduct](./CODE_OF_CONDUCT.md). | ||
|
||
# Release | ||
|
||
OpenZFS is released under a CDDL license. | ||
For more details see the NOTICE, LICENSE and COPYRIGHT files; `UCRL-CODE-235197` | ||
|
||
# Supported Kernels | ||
* The `META` file contains the officially recognized supported Linux kernel versions. | ||
* Supported FreeBSD versions are any supported branches and releases starting from 12.2-RELEASE. |