Skip to content

add keyring information to httpie install script #7

add keyring information to httpie install script

add keyring information to httpie install script #7

name: DGate Performance Test (short)
on:
push:
branches: [ "**" ]
jobs:
k6_load_test:
name: k6 Load Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- run: |
curl -SsL https://packages.httpie.io/deb/KEY.gpg | sudo gpg --dearmor -o /usr/share/keyrings/httpie.gpg
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/httpie.gpg] https://packages.httpie.io/deb ./" | sudo tee /etc/apt/sources.list.d/httpie.list > /dev/null
sudo apt update
sudo apt install httpie
- run: go mod download
- run: go run cmd/dgate-server/main.go &
- name: Wait for server to start
run: sleep 5
- run: ./functional-tests/admin_tests/performance_test_prep.sh
- name: Run local k6 test
uses: grafana/[email protected]
with:
filename: performance-tests/perf-test.js