Skip to content

Commit

Permalink
comment erigon resume task
Browse files Browse the repository at this point in the history
  • Loading branch information
mriccobene committed Feb 5, 2024
1 parent 4ecb457 commit 38184f0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/rpc-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,16 @@ jobs:
echo "TEST_RESULT=failure" >> "$GITHUB_OUTPUT"
fi
- name: Resume Erigon ("db-producer")
if: always()
run: |
response=$(curl -o /dev/null -s -w "%{http_code}\n" -X POST http://localhost:8080/production \
-H "Content-Type: application/json" \
-d '{"status":"resumed"}')
if [ "$response" -ne 200 ]; then
echo "Request failed with status $response"
echo "::warning::Failed to resume Erigon, reason= $response"
fi
#- name: Resume Erigon ("db-producer")
# if: always()
# run: |
# response=$(curl -o /dev/null -s -w "%{http_code}\n" -X POST http://localhost:8080/production \
# -H "Content-Type: application/json" \
# -d '{"status":"resumed"}')
# if [ "$response" -ne 200 ]; then
# echo "Request failed with status $response"
# echo "::warning::Failed to resume Erigon, reason= $response"
# fi

- name: Action for Success
if: steps.test_step.outputs.TEST_RESULT == 'success'
Expand Down

0 comments on commit 38184f0

Please sign in to comment.