mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-08 11:17:25 +00:00
add delay to deleting of s3 file
This commit is contained in:
parent
c3a7866df4
commit
51f2c07b74
1 changed files with 5 additions and 3 deletions
8
.github/workflows/MLPipelinePullRequest.yml
vendored
8
.github/workflows/MLPipelinePullRequest.yml
vendored
|
|
@ -93,17 +93,19 @@ jobs:
|
|||
exit 1
|
||||
fi
|
||||
|
||||
- name: Stop Lambda container
|
||||
run: |
|
||||
docker stop lambda_test || echo "Container already stopped"
|
||||
|
||||
- name: Remove uploaded sample row dataset from S3
|
||||
if: always()
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.ROBOT_AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.ROBOT_AWS_SECRET_ACCESS_KEY }}
|
||||
run: |
|
||||
sleep 5
|
||||
aws s3 rm --recursive s3://retrofit-data-dev/sap_change_model/sample_data_for_cicd/${timestamp}/
|
||||
|
||||
- name: Stop Lambda container
|
||||
run: |
|
||||
docker stop lambda_test || echo "Container already stopped"
|
||||
|
||||
Verify-Model:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue