mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-07-12 13:28:58 +00:00
use correct escaping
This commit is contained in:
parent
56eace2b7f
commit
2c735737a8
1 changed files with 3 additions and 2 deletions
5
.github/workflows/MLPipelinePullRequest.yml
vendored
5
.github/workflows/MLPipelinePullRequest.yml
vendored
|
|
@ -86,8 +86,9 @@ jobs:
|
||||||
- name: Test Lambda endpoint
|
- name: Test Lambda endpoint
|
||||||
run: |
|
run: |
|
||||||
sleep 5
|
sleep 5
|
||||||
RESPONSE=$(curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{"body": "{\"file_location\": \"s3://retrofit-data-dev/sap_change_model/sample_data_for_cicd/${timestamp}/sample_test.parquet\", \"property_id\": 1, \"portfolio_id\": 4, \"created_at\": \"now\", \"testing\": true}"}')
|
curl -X POST "http://localhost:9000/2015-03-31/functions/function/invocations" \
|
||||||
echo "Lambda response: $RESPONSE"
|
-H "Content-Type: application/json" \
|
||||||
|
-d "{\"body\": \"{\\\"file_location\\\": \\\"s3://retrofit-data-dev/sap_change_model/sample_data_for_cicd/${timestamp}/sample_test.parquet\\\", \\\"property_id\\\": 1, \\\"portfolio_id\\\": 4, \\\"created_at\\\": \\\"now\\\", \\\"testing\\\": true}\"}"
|
||||||
|
|
||||||
- name: Get Lambda logs
|
- name: Get Lambda logs
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue