Commit 41afb1e2 authored by Perwaiz Ali's avatar Perwaiz Ali

change in .git-yml

parent 7a8421d4
Pipeline #2200 canceled with stages
in 9 minutes and 40 seconds
......@@ -21,5 +21,15 @@ Smoke test :
script:
- java -jar ./target/CICDTesting-0.0.1-SNAPSHOT.jar
- sleep 30
- curl http://localhost:8080/actuator/health | grep "UP"
\ No newline at end of file
deploy:
tags:
- docker
stage: deploy
image:
name: amazon/aws-cli
entrypoint: [""]
script:
- aws configure set region ap-south-1
- aws s3 cp ./target/CICDTesting-0.0.1-SNAPSHOT.jar s3://$S3_BUCKET/CICDTesting-0.0.1-SNAPSHOT.jar
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment