-
Notifications
You must be signed in to change notification settings - Fork 47
36 lines (34 loc) · 1.07 KB
/
load_test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
on:
push:
branches:
- main
pull_request:
name: Load Tests
jobs:
load_tests:
if: ${{ ! contains(github.event.pull_request.labels.*.name, 'ci/skip-load-test') }}
name: Load Tests
runs-on: ubuntu-22.04 # Read the comment below why this is not set to `latest`.
steps:
- name: Checkout code
uses: actions/checkout@v3
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Installing dependencies
run: |
sudo wget -O /usr/local/bin/skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64
sudo chmod +x /usr/local/bin/skaffold
- name: Setup Minikube
uses: manusa/[email protected]
with:
minikube version: v1.30.1
kubernetes version: v1.25.6
driver: docker
github token: ${{ secrets.GITHUB_TOKEN }}
- name: Run load tests
env:
NEWRELIC_LICENSE: ${{ secrets.NEWRELIC_LICENSE }}
run : |
source ./load-test/load_test.sh
runLoadTest