mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-08 11:17:25 +00:00
try multiple invocations
This commit is contained in:
parent
a0a3d222d8
commit
d331ee1649
1 changed files with 11 additions and 0 deletions
11
.github/workflows/MLPipelinePullRequest.yml
vendored
11
.github/workflows/MLPipelinePullRequest.yml
vendored
|
|
@ -94,6 +94,17 @@ jobs:
|
|||
run: |
|
||||
docker logs $(docker ps -al -q)
|
||||
|
||||
- name: Test Lambda endpoint again
|
||||
run: |
|
||||
sleep 2
|
||||
curl -X POST "http://localhost:9000/2015-03-31/functions/function/invocations" \
|
||||
-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
|
||||
run: |
|
||||
docker logs $(docker ps -al -q)
|
||||
|
||||
- name: Stop Lambda container
|
||||
run: |
|
||||
docker stop lambda_test || echo "Container already stopped"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue