Skip to content

Commit

Permalink
removing verbose flag from curls
Browse files Browse the repository at this point in the history
  • Loading branch information
matilote committed Aug 18, 2021
1 parent a71ff07 commit eb0ea65
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/alert-on-issue-open-event.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
}
EOF
}
curl -X POST https://api.eu.opsgenie.com/v2/alerts -H "Content-Type: application/json" -H "Authorization: GenieKey ${{ secrets.OPSGENIE_API_KEY }}" -d "$(composeMessage)"
curl -s -X POST https://api.eu.opsgenie.com/v2/alerts -H "Content-Type: application/json" -H "Authorization: GenieKey ${{ secrets.OPSGENIE_API_KEY }}" -d "$(composeMessage)"
2 changes: 1 addition & 1 deletion .github/workflows/build-nethermind-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
if: steps.settings.outputs.TAG == steps.settings.outputs.TAG_FROM_REPO
run: |
docker buildx build --platform=linux/amd64,linux/arm64 -t "${{ steps.settings.outputs.docker_image }}:latest" -t "${{ steps.settings.outputs.docker_image }}:${{ steps.settings.outputs.TAG }}" -f Dockerfile --build-arg GIT_COMMIT=$(git log -1 --format=%h) . --push
curl -v -X POST -u "${{ secrets.REPOSITORY_DISPATCH_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" --data '{"event_type":"dappnode", "client_payload": { "tag":"${{ steps.settings.outputs.TAG }}"}}' https://api.github.com/repos/nethermindeth/nethermind/dispatches
curl -s -X POST -u "${{ secrets.REPOSITORY_DISPATCH_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" --data '{"event_type":"dappnode", "client_payload": { "tag":"${{ steps.settings.outputs.TAG }}"}}' https://api.github.com/repos/nethermindeth/nethermind/dispatches
- name: Building & Pushing image to docker registry (patch)
if: steps.settings.outputs.TAG != steps.settings.outputs.TAG_FROM_REPO
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-nethermind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ jobs:
if: ${{ !contains(steps.settings.outputs.TAG, 'beta') && !contains(steps.settings.outputs.TAG, 'unstable') }}
run: |
docker buildx build --platform=linux/amd64,linux/arm64 -t "${{ steps.settings.outputs.docker_image }}:latest" -t "${{ steps.settings.outputs.docker_image }}:${{ steps.settings.outputs.TAG }}" -f Dockerfile --build-arg GIT_COMMIT=$(git log -1 --format=%h) . --push
curl -v -X POST -u "${{ secrets.REPOSITORY_DISPATCH_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" --data '{"event_type":"dappnode", "client_payload": { "tag":"${{ steps.settings.outputs.TAG }}"}}' https://api.github.com/repos/nethermindeth/nethermind/dispatches
curl -s -X POST -u "${{ secrets.REPOSITORY_DISPATCH_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" --data '{"event_type":"dappnode", "client_payload": { "tag":"${{ steps.settings.outputs.TAG }}"}}' https://api.github.com/repos/nethermindeth/nethermind/dispatches
- name: Building & Pushing image to docker registry (patch)
if: ${{ contains(steps.settings.outputs.TAG, 'beta') || contains(steps.settings.outputs.TAG, 'unstable') }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-vault-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: docker ps -a
- name: Running Vault Tests
run: |
curl -XPOST -H 'content-type: application/json' http://localhost:8081/api/v1/users -d '{"email": "hello@localhost", "password": "hello12345", "first_name": "A", "last_name": "User"}' -v
curl -s -X POST -H 'content-type: application/json' http://localhost:8081/api/v1/users -d '{"email": "hello@localhost", "password": "hello12345", "first_name": "A", "last_name": "User"}' -v
ACCESS_TOKEN=$(curl -XPOST -H 'content-type: application/json' http://localhost:8081/api/v1/authenticate -d '{"email": "hello@localhost", "password": "hello12345"}' -v | jq ".token.token" | tr -d '"')
export TOKEN="bearer ${ACCESS_TOKEN}"
cd src/Nethermind/Nethermind.Vault.Test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-dappnode-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
env:
DISPATCH_REPO: dappnode/DAppNodePackage-nethermind
run: |
curl -v -X POST -u "${{ secrets.REPOSITORY_DISPATCH_TOKEN }}" \
curl -s -X POST -u "${{ secrets.REPOSITORY_DISPATCH_TOKEN }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" \
--data '{"event_type":"new_release", "client_payload": { "tag":"${{ steps.get_tag.outputs.TAG }}"}}' \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-gitbook-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
env:
DISPATCH_REPO: NethermindEth/docs
run: |
curl -v -X POST -u "${{ secrets.REPOSITORY_DISPATCH_TOKEN }}" \
curl -s -X POST -u "${{ secrets.REPOSITORY_DISPATCH_TOKEN }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" \
--data '{"event_type":"docs_update"}' \
Expand Down
6 changes: 3 additions & 3 deletions scripts/releasing/dockers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ PAT_GITHUB="{{ Place for GitHub Token }}"
echo $TAG

# Sending dispatch event to GitHub Actions
curl -v -X POST -u $PAT_GITHUB -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" --data '{"event_type":"docker_amd64", "client_payload": { "tag":"'"$TAG"'"}}' https://api.github.com/repos/nethermindeth/nethermind/dispatches
curl -v -X POST -u $PAT_GITHUB -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" --data '{"event_type":"docker_arm64", "client_payload": { "tag":"'"$TAG"'"}}' https://api.github.com/repos/nethermindeth/nethermind/dispatches
curl -v -X POST -u $PAT_GITHUB -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" --data '{"event_type":"docker_arm32", "client_payload": { "tag":"'"$TAG"'"}}' https://api.github.com/repos/nethermindeth/nethermind/dispatches
curl -s -X POST -u $PAT_GITHUB -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" --data '{"event_type":"docker_amd64", "client_payload": { "tag":"'"$TAG"'"}}' https://api.github.com/repos/nethermindeth/nethermind/dispatches
curl -s -X POST -u $PAT_GITHUB -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" --data '{"event_type":"docker_arm64", "client_payload": { "tag":"'"$TAG"'"}}' https://api.github.com/repos/nethermindeth/nethermind/dispatches
curl -s -X POST -u $PAT_GITHUB -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" --data '{"event_type":"docker_arm32", "client_payload": { "tag":"'"$TAG"'"}}' https://api.github.com/repos/nethermindeth/nethermind/dispatches

0 comments on commit eb0ea65

Please sign in to comment.