Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
a-masterov committed Dec 5, 2024
1 parent d35e450 commit 00b60f3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/cloud-regress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,12 @@ jobs:
run: |

Check failure on line 102 in .github/workflows/cloud-regress.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/cloud-regress.yml#L102

shellcheck reported issue in this script: SC2034:warning:2:1: i appears unused. Verify use (or export if used externally) [shellcheck]
Raw output
.github/workflows/cloud-regress.yml:102:9: shellcheck reported issue in this script: SC2034:warning:2:1: i appears unused. Verify use (or export if used externally) [shellcheck]

Check failure on line 102 in .github/workflows/cloud-regress.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/cloud-regress.yml#L102

shellcheck reported issue in this script: SC1083:warning:2:10: This { is literal. Check expression (missing ;/\n?) or quote it [shellcheck]
Raw output
.github/workflows/cloud-regress.yml:102:9: shellcheck reported issue in this script: SC1083:warning:2:10: This { is literal. Check expression (missing ;/\n?) or quote it [shellcheck]

Check failure on line 102 in .github/workflows/cloud-regress.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/cloud-regress.yml#L102

shellcheck reported issue in this script: SC1083:warning:2:15: This } is literal. Check expression (missing ;/\n?) or quote it [shellcheck]
Raw output
.github/workflows/cloud-regress.yml:102:9: shellcheck reported issue in this script: SC1083:warning:2:15: This } is literal. Check expression (missing ;/\n?) or quote it [shellcheck]

Check failure on line 102 in .github/workflows/cloud-regress.yml

View workflow job for this annotation

GitHub Actions / actionlint

[actionlint] .github/workflows/cloud-regress.yml#L102

shellcheck reported issue in this script: SC2153:info:4:64: Possible misspelling: ENDPOINT_ID may not be assigned. Did you mean endpoint_id? [shellcheck]
Raw output
.github/workflows/cloud-regress.yml:102:9: shellcheck reported issue in this script: SC2153:info:4:64: Possible misspelling: ENDPOINT_ID may not be assigned. Did you mean endpoint_id? [shellcheck]
data=$(jq -nc "{endpoint:{branch_id: \"${BRANCH_ID}\"}}")
for i in {1 10}; do
endpoint_id=$(curl -X PATCH \
curl -X PATCH \
"https://${API_HOST}/api/v2/projects/${PROJECT_ID}/endpoints/${ENDPOINT_ID}" \
--header "Accept: application/json" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${API_KEY}" \
--data ${data} | \
jq '.endpoint.id')
--data ${data}
if [ -z "${endpoint_id}" ] || [ "${endpoint_id}" == "null" ]; then
sleep 1
Expand Down

0 comments on commit 00b60f3

Please sign in to comment.