Skip to content

Commit

Permalink
DPLive debugging 2
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 311cc43 commit 6aa466b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/dplive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: DP Live Debugger
on:
workflow_dispatch:
inputs:
configuration:
description: "data prepper pipeline configuration"
required: true
type: string
configuration:
description: "data prepper pipeline configuration"
required: true
type: string

permissions:
id-token: write
Expand All @@ -17,8 +17,8 @@ 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
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
Expand Down

0 comments on commit 6aa466b

Please sign in to comment.