Skip to content

Commit

Permalink
DPLive debugging
Browse files Browse the repository at this point in the history
Signed-off-by: Kondaka <[email protected]>
  • Loading branch information
kkondaka committed Jun 21, 2024
1 parent 9db4bc4 commit 311cc43
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/dplive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: DP Live Debugger

on:
workflow_dispatch:
inputs:
configuration:
description: "data prepper pipeline configuration"
required: true
type: string

permissions:
id-token: write
contents: write
issues: write

jobs:
- name: Run DataPrepper docker
run: |
echo "test input line" > input-file
echo "sample-pipeline:\n\tsource:\n\t\tfile:\n\t\t\tpath:"./input-file"\n\tsink:\n\t\tfile:\n\t\t\tpath:"./output-file" >pipeline-config.yaml
echo "ssl: false" > data-prepper-config.yaml
docker pull opensearch-data-prepper:latest
docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" -d opensearchproject/opensearch:${{ matrix.opensearch }}
docker run --name data-prepper --network host -v pipeline-config.yaml:/usr/share/data-prepper/pipelines/pipelines.yaml -v ./data-prepper-config.yaml:/usr/share/data-prepper/config/data-prepper-config.yaml opensearch-data-prepper:latest
sleep 90

0 comments on commit 311cc43

Please sign in to comment.