Skip to content

ci : test k6-operator install and load test execution in e2e workflow #1477

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .ci/openshift_e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,6 @@ make install
export CLEAN_UP_AFTER_SUITE="false"
make test_e2e
bumpLogs

make test_load ARGS="--mode operator --max-vus 250 --separate-namespaces false --test-duration-minutes 25 --dwo-namespace devworkspace-controller --logs-dir ${ARTIFACT_DIR}/load-testing-logs"
make uninstall
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ test_e2e_debug:
mkdir -p /tmp/artifacts
dlv test --listen=:2345 --headless=true --api-version=2 ./test/e2e/cmd/workspaces_test.go -- --ginkgo.fail-fast --ginkgo.junit-report=/tmp/artifacts/junit-workspaces-operator.xml

test_load:
@echo "Starting Load Testing Script..." && \
bash ./test/load/runk6.sh $(ARGS) && \
echo "Done"

### manager: Build manager binary
manager: generate fmt vet
go build -o bin/manager main.go
Expand Down
Loading
Loading