Skip to content

Commit

Permalink
fix: sign releases via gpg (#2010)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssddOnTop authored May 25, 2024
1 parent 24c85d2 commit e6d8e38
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,9 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
target: ${{ matrix.target }}
- name: Import GPG key
run: |
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --import
- name: Build
env:
Expand All @@ -353,6 +356,10 @@ jobs:
use-cross: ${{ matrix.cross }}
command: build
args: ${{matrix.features}} --release --target ${{ matrix.target }}
- name: Sign the binary
run: |
echo "${{ secrets.GPG_PASSPHRASE }}" | gpg --batch --passphrase-fd 0 --pinentry-mode loopback --sign --detach-sign --armor target/${{ matrix.target }}/release/tailcall${{ matrix.ext }}
gpg --batch --yes --passphrase "${{ secrets.GPG_PASSPHRASE }}" --pinentry-mode loopback --output target/${{ matrix.target }}/release/tailcall${{ matrix.ext }}.sig --detach-sign target/${{ matrix.target }}/release/tailcall${{ matrix.ext }}
- name: Install Node.js
if: (startsWith(github.event.head_commit.message, 'feat') || startsWith(github.event.head_commit.message, 'fix')) && (github.event_name == 'push' && github.ref == 'refs/heads/main')
Expand Down

1 comment on commit e6d8e38

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running 30s test @ http://localhost:8000/graphql

4 threads and 100 connections

Thread Stats Avg Stdev Max +/- Stdev
Latency 6.67ms 2.96ms 75.67ms 71.54%
Req/Sec 3.79k 196.90 4.37k 92.00%

452549 requests in 30.01s, 2.27GB read

Requests/sec: 15081.18

Transfer/sec: 77.41MB

Please sign in to comment.