Skip to content
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

Windows build docs and tweaks #1

Merged
merged 168 commits into from
May 24, 2023
Merged

Conversation

ringerc
Copy link
Owner

@ringerc ringerc commented May 24, 2023

Merge pull_request support for .github/workflows/pr-windows-build.yaml into master so it can be invoked via github actions tab.

matthewfala and others added 30 commits April 13, 2023 12:43
Signed-off-by: Takahiro Yamashita <[email protected]>
Signed-off-by: Takahiro Yamashita <[email protected]>
…er to include profile as NULL

Signed-off-by: nithin-kumar <[email protected]>
…t. (fluent#7179)

* in_calyptia_fleet: initial implementation of Calyptia fleet management.

Signed-off-by: Phillip Whelan <[email protected]>
Signed-off-by: Mateusz Warzyński <[email protected]>
```log
flb_filter.c:292:15: error: call to undeclared function 'flb_utils_time_to_seconds'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        ret = flb_utils_time_to_seconds(tmp);
              ^
1 error generated.
```

Signed-off-by: Hiroshi Hatake <[email protected]>
* out_es: support logstash_prefix_separtor

This parameter is to set separator of index.
The index is composed by
  <logstash_prefix><logstash_prefix_separator><logstash_dataformat>

Signed-off-by: Takahiro Yamashita <[email protected]>

* out_opensearch: support logstash_prefix_separator

This parameter is to set separator of index.
The index is composed by
   <logstash_prefix><logstash_prefix_separator><logstash_dataformat>

Signed-off-by: Takahiro Yamashita <[email protected]>

---------

Signed-off-by: Takahiro Yamashita <[email protected]>
Signed-off-by: Eduardo Silva <[email protected]>
Co-authored-by: Eduardo Silva <[email protected]>
output: fixed a double free when filters return unmodified records

Signed-off-by: Leonardo Alminana <[email protected]>
cosmo0920 and others added 24 commits May 17, 2023 13:43
This PR adds setting keys for the filesystem collector ignore patterns.

Signed-off-by: Hiroshi Hatake <[email protected]>
This PR adds setting keys for the diskstats collector ignore pattern.

Signed-off-by: Hiroshi Hatake <[email protected]>
This PR moves the initialization of the processor stack (and its components) to the
correct stage which means processor stacks are initialized as part of the initialization 
process of the plugin instance they are attached to.

This fixes an issue where certain filters such as `rewrite_tag` would cause a crash while 
being initialized because they depend on the rest of the system being initialized.

Signed-off-by: Hiroshi Hatake <[email protected]>
This PR adds optional support for gzip comprssion to the 
opensearch output plugin.

Signed-off-by: wndhydrnt <[email protected]>
This PR adds a stateful generic decompression system which currently 
only supports gzip but is meant to be extended to support snappy, 
deflate and zstd at least.

Signed-off-by: Leonardo Alminana <[email protected]>
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](helm/kind-action@v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: helm/kind-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This PR adds trailing dot trimming to flb_tls_session_create which
is meant to support unambiguous domain names as per RFC 1034.

Signed-off-by: Pavel Smolkin <[email protected]>
This PR adds a check to ne_utils_file_read_uint64 and ne_utils_file_read_lines to 
allow them to handle absolute paths that match the specified mount point.

Signed-off-by: Hiroshi Hatake <[email protected]>
Because flb_ml_stream_id_destroy_all flushes any data in the
multiline component buffer the log event encoder needs to be
disposed of after the multiline context.

Additionally, proper initialization and cleanup of the the stat 
structure in the pending data collector timer has been added.

Signed-off-by: Leonardo Alminana <[email protected]>
This fixes the misinterpretation of the result of the multiline
filter callback when it returns FLB_FILTER_MODIFIED without
setting the output variables.

Even the multiline filter should be fixed to not make the
assumption that those variables are pre-primed this is the
most pragmatic way of ensuring this bug doesn't get triggered
by other filters.

Signed-off-by: Leonardo Alminana <[email protected]>
This lock is necessary to avoid concurrency issues when the
processor stack is executed in the context of an output plugin
worker thread.

Signed-off-by: Leonardo Alminana <[email protected]>
This patch uses the scheduler instance from the thread local storage
to determine if the filter creating the emitter instance is running
in an input plugins thread to transparently switch over to the ring
buffer based mechanism.

This is not a definitive solution, it's a workaround.

Signed-off-by: Leonardo Alminana <[email protected]>
Signed-off-by: Takahiro Yamashita <[email protected]>
this message is very useful in debugging Fluent Bit log loss
or frozen. But it needs context on which input the append
happened for.

Signed-off-by: Wesley Pettit <[email protected]>
The dev guide had no references for how to build or test for windows at
all. Add a short section with some minimal info and guidance for where
to find more detailed resources.

I didn't want to write extensive docs on this, especially as they're
likely to be unmaintained and go stale, so the user is expected to look
at the CI automation files to extract required library URLs, commands
etc.
Windows builds will fail if flex, bison or the OpenSSL libraries
are missing. So modify the CMake code to ensure that we fail at
CMake time, rather than during the subsequent build.
Add comments on the Windows workflows to cross-reference them
with each other and the new DEVELOPER_GUIDE.md docs section for Windows
builds.

Add a short note to the windows PR workflow on how to run it manually
on a forked repo when submitting patches.
@ringerc ringerc merged commit a0e82cf into master May 24, 2023
@ringerc ringerc temporarily deployed to pr May 24, 2023 00:55 — with GitHub Actions Inactive
@ringerc ringerc temporarily deployed to pr May 24, 2023 00:55 — with GitHub Actions Inactive
@ringerc ringerc temporarily deployed to pr May 24, 2023 00:55 — with GitHub Actions Inactive
@ringerc ringerc temporarily deployed to pr May 24, 2023 01:21 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.