Skip to content

Commit b42c8e1

Browse files
committed
remove debug output
1 parent 7476fe7 commit b42c8e1

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

ephemeral/startup/action.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -78,24 +78,13 @@ runs:
7878
-H "content-type: application/json" \
7979
https://api.localstack.cloud/v1/compute/instances)
8080
81-
echo $list_response
82-
8381
instance_exists=$(echo "$list_response" | jq --arg NAME "$previewName" '.[] | select(.instance_name == $NAME)')
8482
85-
86-
if [ -n "$instance_exists" ]; then
87-
echo "Match found: $MATCH"
88-
else
89-
echo "No match found."
90-
fi
91-
92-
9383
if [ -n "$instance_exists" ]; then
9484
del_response=$(curl -X DELETE \
9585
-H "ls-api-key: ${LOCALSTACK_API_KEY:-${{ inputs.localstack-api-key }}}" \
9686
-H "content-type: application/json" \
9787
https://api.localstack.cloud/v1/compute/instances/$previewName)
98-
echo $del_response
9988
fi
10089
10190
response=$(curl -X POST -d "{\"instance_name\": \"${previewName}\", \"lifetime\": ${lifetime} ,\"env_vars\": {\"AUTO_LOAD_POD\": \"${autoLoadPod}\", \"EXTENSION_AUTO_INSTALL\": \"${extensionAutoInstall}\"}}"\

0 commit comments

Comments
 (0)