-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for patch release tags. #1246
Merged
benjaminhuo
merged 22 commits into
fluent:master
from
joshuabaird:chore/fluent-patch-tags-v1
Jul 22, 2024
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
698469e
Support for patch release tags.
joshuabaird 9d666ba
Tail.
joshuabaird 5fc1bd9
Remove VERSION_WITHOUT_V.
joshuabaird c4095d3
Add env.
joshuabaird 579126f
Add env.
joshuabaird b399cbb
Add env.
joshuabaird f289481
Fix the tail.
joshuabaird 91c7e0a
Add logs.
joshuabaird 1d251aa
Fix last patch.
joshuabaird 99b7ff3
Fix last patch.
joshuabaird 4bc9b54
Fix last patch.
joshuabaird 0e2edd3
Add fluentbit debug image.
joshuabaird 49b6707
Add fluentbit debug image.
joshuabaird b039899
Typos.
joshuabaird 300218f
Re-factor fluentd build.
joshuabaird df4de2e
Re-factor fluentd build.
joshuabaird c9eb9eb
Re-factor fluentd build.
joshuabaird 3a41d2f
Re-factor fluentd build.
joshuabaird fd741c4
Re-factor fluentd build.
joshuabaird 054553c
Re-factor fluentd build.
joshuabaird ab48d8e
Add README.
joshuabaird bfe3aea
Build latest.
joshuabaird File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# fluent-watcher | ||
|
||
This directory contains `Dockerfiles` for the custom build of both `fluentd` and `fluent-bit` that `fluent-operator` uses. | ||
|
||
These custom builds include a wrapper that watches for configuration changes and reloads/restarts the `fluentd` and `fluent-bit` processes. These images are required for running the fluent-operator. | ||
|
||
## Versioning | ||
|
||
These images track upstream versions/tags. For example, Fluent Operator's `ghcr.io/fluent/fluent-operator/fluent-bit:3.1.12` image is based off of the upstream `fluentd/fluent-bit:3.1.12` image. | ||
|
||
Occasionally, changes to Fluent Operator's customizations need to be introduced into the images out of band of upstream version changes. When this happens, we add a "patch version" to the tag. For example, the `ghcr.io/fluent/fluent-operator/fluent-bit:3.1.12-1` image remains based off of the upstream `fluent/fluent-bit:3.1.2` image but contains a Fluent Operator-specific patch (`-1`). | ||
|
||
We strive to never overwrite existing image tags (eg, `ghcr.io/fluent/fluent-operator/fluent-bit:3.1.12`) with customizations and/or patches. | ||
|
||
## Building | ||
|
||
As a maintainer, to build the `ghcr.io/fluent/fluent-operator/fluent-bit` and `ghcr.io/fluent/fluent-operator/fluentd` images, you can run the "Build Fluent Bit image" or "Build Fluentd image" Github Action workflows in the "Actions" tab of this repository. | ||
|
||
Always specify the upstream Fluent Bit version (eg, `3.1.2`, `3.1.3`, etc) when running this workflow. If the CI workflow detects that an image tag already exists for the version specified, it will assume that a patch release needs to be built and will automatically add a patch version to the image tag (eg, `3.1.2-1`, `3.1.2-2`, etc). |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was a duplicate step that is not necessary.