-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix performance test workflow issues
fix script bug fix: add ssl port to avoid permission errors change sleep time back to 5 increase sleep time fix: add --ignore-stdin in httpie scripts add keyring information to httpie install script fix perf workflow test
- Loading branch information
Showing
8 changed files
with
25 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,13 +17,24 @@ jobs: | |
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 & | ||
- run: | | ||
export PORT=8080 | ||
export PORT_SSL=8443 | ||
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 | ||
- run: | | ||
export PROXY_URL=http://localhost:8080 | ||
./functional-tests/admin_tests/performance_test_prep.sh | ||
- name: Run local k6 test | ||
uses: grafana/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters