diff --git a/fluent-bit-3.1.yaml b/fluent-bit-3.1.yaml deleted file mode 100644 index 762ae635ce..0000000000 --- a/fluent-bit-3.1.yaml +++ /dev/null @@ -1,126 +0,0 @@ -package: - name: fluent-bit-3.1 - version: 3.1.10 - epoch: 0 - description: Fast and Lightweight Log processor and forwarder - copyright: - - license: Apache-2.0 - dependencies: - provides: - - fluent-bit=${{package.full-version}} - -environment: - contents: - packages: - - autoconf - - automake - - bison - - build-base - - busybox - - ca-certificates-bundle - - cmake - - dpkg - - flex - - glibc - - openssf-compiler-options - - openssl-dev - - postgresql-dev - - systemd-dev - - yaml-dev - - zlib-dev - -pipeline: - - uses: git-checkout - with: - repository: https://github.com/fluent/fluent-bit - expected-commit: e28f4479958918faa41615158a744d29b0f893fa - tag: v${{package.version}} - - - runs: | - cd build - cmake -DFLB_RELEASE=On \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DFLB_JEMALLOC=On \ - -DFLB_TLS=On \ - -DFLB_EXAMPLES=Off \ - -DFLB_HTTP_SERVER=On \ - -DFLB_IN_EXEC=Off \ - -DFLB_IN_SYSTEMD=On \ - -DFLB_OUT_KAFKA=On \ - -DFLB_OUT_PGSQL=On \ - -DFLB_LOG_NO_CONTROL_CHARS=On \ - -DFLB_CHUNK_TRACE=On \ - .. - make - - - runs: | - make -C build DESTDIR="${{targets.destdir}}" install - - - runs: | - mkdir -p "${{targets.destdir}}"/fluent-bit/etc - mv "${{targets.destdir}}"/usr/etc/fluent-bit/* "${{targets.destdir}}"/fluent-bit/etc - - # Generate the schema - ${{targets.destdir}}/usr/bin/fluent-bit -J > "${{targets.destdir}}"/fluent-bit/schema.json - - mv conf/fluent-bit.conf \ - conf/parsers.conf \ - conf/parsers_ambassador.conf \ - conf/parsers_java.conf \ - conf/parsers_extra.conf \ - conf/parsers_openstack.conf \ - conf/parsers_cinder.conf \ - conf/plugins.conf \ - "${{targets.destdir}}"/fluent-bit/etc - - - uses: strip - -subpackages: - - name: ${{package.name}}-dev - pipeline: - - uses: split/dev - dependencies: - runtime: - - fluent-bit - provides: - - fluent-bit-dev=${{package.full-version}} - description: fluent-bit dev - - - name: ${{package.name}}-compat - pipeline: - - runs: | - mkdir -p ${{targets.subpkgdir}}/fluent-bit/bin/ - # The upstream chart expects the fluent-bit binary to be in /fluent-bit/bin/fluent-bit - ln -sf /usr/bin/fluent-bit ${{targets.subpkgdir}}/fluent-bit/bin/fluent-bit - dependencies: - provides: - - fluent-bit-compat=${{package.full-version}} - -update: - enabled: true - github: - identifier: fluent/fluent-bit - strip-prefix: v - # There are some malformed tags - tag-filter: v3.1 - use-tag: true - -test: - environment: - contents: - packages: - - shadow - - sudo-rs - - glibc-locales - pipeline: - - name: "Test fluent-bit" - runs: | - if ! command -v fluent-bit &> /dev/null; then - echo "Fluent Bit is not installed." - exit 1 - fi - timeout 5 fluent-bit -i dummy -o stdout - fluent-bit --version - fluent-bit --help - luajit -v