Hi,
I wanted to run K6 browser test via Gitlab CI. I couldnt find any examples by using a docker image. Is the below sample code will work for Browser test as well? if not, what are the modifications needs to be done. Appreciate your support
stages:
- build
- deploy
- loadtest-local
image:
name: ubuntu:latest
build:
stage: build
script:
- echo “building my application in ubuntu container…”
deploy:
stage: deploy
script:
- echo “deploying my application in ubuntu container…”
loadtest-local:
image:
name: grafana/k6:latest
entrypoint: [‘’]
stage: loadtest-local
script:
- echo “executing local k6 in k6 container…”
- k6 run ./loadtests/performance-test.js