Skip to content

Commit

Permalink
try patched vector
Browse files Browse the repository at this point in the history
  • Loading branch information
frankh committed Aug 11, 2024
1 parent 048a8f4 commit 65786be
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/vector-docker-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- '.github/workflows/vector-docker-build-deploy.yml'
branches:
- 'master'
- frank/test-patched-vector

jobs:
build:
Expand Down Expand Up @@ -76,6 +77,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/master'
steps:
- name: get deployer token
id: deployer
Expand Down
2 changes: 1 addition & 1 deletion vector/replay-capture/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ COPY vector.yaml .
# evaluate with yq, basically to expand anchors (which vector doesn't support)
RUN yq -i e 'explode(.)' vector.yaml

FROM timberio/vector:0.40.X-alpine
FROM frankh/vector:0.41.0-patched

COPY --from=config-builder /config/vector.yaml /etc/vector/vector.yaml
3 changes: 3 additions & 0 deletions vector/replay-capture/vector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ sources:
query_parameters:
- _
host_key: ip
response_body_key: '%response'
decoding:
codec: vrl
vrl:
Expand Down Expand Up @@ -62,6 +63,8 @@ sources:
assert!(is_string(.message[0].properties."$$session_id"), "$$session_id is required")
assert!(is_string(%token), "token is required")
%response = {"status": 1}
transforms:
quota_check:
type: route
Expand Down

0 comments on commit 65786be

Please sign in to comment.