2023-12-08 02:15:21 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/quickwit-oss/quickwit/archive/refs/tags/v{{ version }}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/quickwit
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: quickwit-oss/quickwit
|
|
|
|
strip: /v/
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
# This is a runtime dep since they use protos at runtime:
|
|
|
|
# https://github.com/quickwit-oss/quickwit/blob/main/quickwit/quickwit-proto/protos/quickwit/search.proto
|
|
|
|
protobuf.dev: ^25
|
|
|
|
|
|
|
|
build:
|
|
|
|
working-directory: quickwit/quickwit-cli
|
|
|
|
dependencies:
|
|
|
|
# https://github.com/quickwit-oss/tantivy/issues/2260
|
2024-03-19 17:59:22 +03:00
|
|
|
rust-lang.org: '>=1.74.1'
|
2023-12-08 02:15:21 +03:00
|
|
|
rust-lang.org/cargo: '*'
|
|
|
|
script:
|
2024-03-19 17:59:22 +03:00
|
|
|
- run: 'sed -i -e''s/ version,$/version: "{{version}}".to_string(),/'' build_info.rs'
|
2023-12-08 02:15:21 +03:00
|
|
|
working-directory: ../quickwit-serve/src
|
2024-03-19 17:59:22 +03:00
|
|
|
# crc32c v0.6.5 requires rustc 1.78-nightly
|
|
|
|
- run: sed -i
|
|
|
|
-e '/crc32c/{n; s/version = "0\.6\.5"/version = "0.6.4"/;}'
|
|
|
|
-e 's/89254598aa9b9fa608de44b3ae54c810f0f06d755e24c50177f1f8f31ff50ce2/d8f48d60e5b4d2c53d5c2b1d8a58c849a70ae5e5509b08a48d047e3b65714a74/'
|
|
|
|
Cargo.lock
|
|
|
|
working-directory: ..
|
2023-12-08 02:15:21 +03:00
|
|
|
- cargo install --locked --path . --root {{prefix}}
|
|
|
|
|
|
|
|
test:
|
|
|
|
script:
|
|
|
|
- quickwit --help
|
|
|
|
- quickwit --version
|
|
|
|
- quickwit --version | grep "{{version}}"
|