mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 13:25:49 +00:00
shore: test the pipelines to see if they work
This commit is contained in:
parent
58872a7c84
commit
a0e923ec35
3 changed files with 3 additions and 2 deletions
BIN
.DS_Store
vendored
Normal file
BIN
.DS_Store
vendored
Normal file
Binary file not shown.
5
.github/workflows/deploy.yml
vendored
5
.github/workflows/deploy.yml
vendored
|
@ -127,8 +127,9 @@
|
|||
# Check if cluster exists
|
||||
if ! aws ecs describe-clusters --clusters $CLUSTER_NAME | grep -q "ACTIVE"; then
|
||||
echo "Error: ECS cluster $CLUSTER_NAME doesn't exist or isn't active"
|
||||
exit 1
|
||||
fi
|
||||
aws ecs create-cluster --cluster-name $CLUSTER_NAME
|
||||
echo "DEPLOYMENT_NEEDED=false" >> $GITHUB_ENV
|
||||
else
|
||||
|
||||
# Check if service exists
|
||||
if ! aws ecs list-services --cluster $CLUSTER_NAME | grep -q $SERVICE_NAME; then
|
||||
|
|
BIN
src/.DS_Store
vendored
Normal file
BIN
src/.DS_Store
vendored
Normal file
Binary file not shown.
Loading…
Reference in a new issue