forked from fluent/fluent-bit
-
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.
* workflows: add release process Signed-off-by: Patrick Stephens <[email protected]> * packaging: update build info Signed-off-by: Patrick Stephens <[email protected]> * packaging: update scripts and remove unnecessary stuff Signed-off-by: Patrick Stephens <[email protected]> * workflows: add info for all CI Signed-off-by: Patrick Stephens <[email protected]> --------- Signed-off-by: Patrick Stephens <[email protected]>
- Loading branch information
1 parent
e22bdcb
commit 4895b64
Showing
24 changed files
with
225 additions
and
695 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+226 KB
.github/workflows/resources/release-from-staging-workflow-incorrect-version.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,52 +1,64 @@ | ||
# Fluent Bit Packaging | ||
|
||
This directory contains Docker files used to build [Fluent Bit](http://fluentbit.io) Linux packages for different distros, the following table describe the supported targets: | ||
|
||
| Distro | Version / Code Name | Arch | Target Option | | ||
|--------------|---------------------------|---------|-------------------------| | ||
| AmazonLinux | 2 | x86_64 | amazonlinux/2 | | ||
| AmazonLinux | 2 | arm64v8 | amazonlinux/2.arm64v8 | | ||
| CentOS | 8 | x86_64 | centos/8 | | ||
| CentOS | 8 | arm64v8 | centos/8.arm64v8 | | ||
| CentOS | 7 | x86_64 | centos/7 | | ||
| CentOS | 7 | arm64v8 | centos/7.arm64v8 | | ||
| Debian | 12 | x86_64 | debian/bookworm | | ||
| Debian | 12 | arm64v8 | debian/bookworm.arm64v8 | | ||
| Debian | 11 | x86_64 | debian/bullseye | | ||
| Debian | 11 | arm64v8 | debian/bullseye.arm64v8 | | ||
| Debian | 10 | x86_64 | debian/buster | | ||
| Debian | 10 | arm64v8 | debian/buster.arm64v8 | | ||
| Ubuntu | 22.04 / Jammy Jellyfish | x86_64 | ubuntu/22.04 | | ||
| Ubuntu | 22.04 / Jammy Jellyfish | arm64v8 | ubuntu/22.04.arm64v8 | | ||
| Ubuntu | 20.04 / Focal Fossa | x86_64 | ubuntu/20.04 | | ||
| Ubuntu | 20.04 / Focal Fossa | arm64v8 | ubuntu/20.04.arm64v8 | | ||
| Ubuntu | 18.04 / Bionic Beaver | x86_64 | ubuntu/18.04 | | ||
| Ubuntu | 18.04 / Bionic Beaver | arm64v8 | ubuntu/18.04.arm64v8 | | ||
| Ubuntu | 16.04 / Xenial Xerus | x86_64 | ubuntu/16.04 | | ||
| Raspbian | 11 / Bullseye | arm32v7 | raspbian/bullseye | | ||
| Raspbian | 10 / Buster | arm32v7 | raspbian/buster | | ||
|
||
## Usage | ||
This directory contains files to support building and releasing Fluent Bit. | ||
|
||
For PRs, add the `ok-package-test` label to trigger an automated build of all supported Linux, macOS, Windows and container image targets to verify a PR correctly builds for all supported platforms. | ||
This can take some time to complete so is only triggered via the label on-demand. | ||
|
||
## Linux | ||
|
||
The [`distros`](./distros/) directory contains OCI container definitions used to build [Fluent Bit](http://fluentbit.io) Linux packages for different distros, the following table describe the supported targets: | ||
|
||
| Distro | Version / Code Name | Arch | Target Option | | ||
|---------------|---------------------------|---------|--------------------------| | ||
| AmazonLinux | 2 | x86_64 | amazonlinux/2 | | ||
| AmazonLinux | 2 | arm64v8 | amazonlinux/2.arm64v8 | | ||
| AmazonLinux | 2023 | x86_64 | amazonlinux/2023 | | ||
| AmazonLinux | 2023 | arm64v8 | amazonlinux/2023.arm64v8 | | ||
| CentOS Stream | 9 | x86_64 | centos/9 | | ||
| CentOS Stream | 9 | arm64v8 | centos/9.arm64v8 | | ||
| CentOS | 8 | x86_64 | centos/8 | | ||
| CentOS | 8 | arm64v8 | centos/8.arm64v8 | | ||
| CentOS | 7 | x86_64 | centos/7 | | ||
| CentOS | 7 | arm64v8 | centos/7.arm64v8 | | ||
| Debian | 12 | x86_64 | debian/bookworm | | ||
| Debian | 12 | arm64v8 | debian/bookworm.arm64v8 | | ||
| Debian | 11 | x86_64 | debian/bullseye | | ||
| Debian | 11 | arm64v8 | debian/bullseye.arm64v8 | | ||
| Debian | 10 | x86_64 | debian/buster | | ||
| Debian | 10 | arm64v8 | debian/buster.arm64v8 | | ||
| Ubuntu | 22.04 / Jammy Jellyfish | x86_64 | ubuntu/22.04 | | ||
| Ubuntu | 22.04 / Jammy Jellyfish | arm64v8 | ubuntu/22.04.arm64v8 | | ||
| Ubuntu | 20.04 / Focal Fossa | x86_64 | ubuntu/20.04 | | ||
| Ubuntu | 20.04 / Focal Fossa | arm64v8 | ubuntu/20.04.arm64v8 | | ||
| Ubuntu | 18.04 / Bionic Beaver | x86_64 | ubuntu/18.04 | | ||
| Ubuntu | 18.04 / Bionic Beaver | arm64v8 | ubuntu/18.04.arm64v8 | | ||
| Ubuntu | 16.04 / Xenial Xerus | x86_64 | ubuntu/16.04 | | ||
| Raspbian | 11 / Bullseye | arm32v7 | raspbian/bullseye | | ||
| Raspbian | 10 / Buster | arm32v7 | raspbian/buster | | ||
|
||
These container images are intended to be built from the root of this repo to build the locally checked out/updated version of the source easily for any target. | ||
|
||
### Usage | ||
|
||
The _build.sh_ script can be used to build packages for a specific target, the command understand the following format: | ||
|
||
``` | ||
$ ./build.sh -v VERSION -d DISTRO [-b BRANCH_NAME] [-t TARBALL] | ||
```shell | ||
./build.sh -d DISTRO | ||
``` | ||
|
||
Details about the script parameters: | ||
Replace `DISTRO` with the `Target option` column above. | ||
|
||
| Name | Description | Example | | ||
|-------------|----------------------------------|------------------------| | ||
| VERSION | Github Tag or version number | 1.3.x | | ||
| TARGET | Target platform for the packages | ubuntu/18.04 | | ||
All Linux builds happen in a container so can be run on any supported platform with QEMU installed and a container runtime. | ||
|
||
Optionally the script supports the option __-b__ to specify a custom branch, this is useful to package and test _master_ or specific branches. | ||
## Windows | ||
|
||
### Build examples | ||
Windows builds are carried out by the [dedicated workflow](../.github/workflows/call-build-windows.yaml) in CI. | ||
This builds using the standard CMake process on a dedicated Windows runner within Github actions. | ||
The steps involved and additional requirements can all be found there. | ||
|
||
#### Package version 1.3.1 for Ubuntu 18.04: | ||
## macOS | ||
|
||
``` | ||
$ ./build.sh -v 1.3.1 -d ubuntu/18.04 | ||
``` | ||
Windows builds are carried out by the [dedicated workflow](../.github/workflows/call-build-macos.yaml) in CI. | ||
This builds using the standard CMake process on a dedicated macOS runner within Github actions. | ||
The steps involved and additional requirements can all be found there. |
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
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
Oops, something went wrong.