forked from opensearch-project/data-prepper
-
Notifications
You must be signed in to change notification settings - Fork 0
25 lines (22 loc) · 1015 Bytes
/
dplive.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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