-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into renovate/major-vite
- Loading branch information
Showing
37 changed files
with
15,244 additions
and
8,102 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Matched against repo root (asterisk) | ||
# * @mishraomp @DerekRoberts | ||
|
||
# Matched against directories | ||
# /.github/workflows/ @mishraomp @DerekRoberts | ||
|
||
# See https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Run the Load Test with manual workflow dispatch. | ||
name: Load Test | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
vu: | ||
description: 'Number of virtual users to simulate' | ||
required: false | ||
type: number | ||
default: 10 | ||
duration: | ||
description: 'Duration of the test in seconds' | ||
required: false | ||
type: number | ||
default: 30 | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
load-test: | ||
runs-on: ubuntu-latest | ||
name: Load Test | ||
env: | ||
DOMAIN: apps.silver.devops.gov.bc.ca | ||
PREFIX: ${{ github.event.repository.name }}-test | ||
strategy: | ||
matrix: | ||
name: [backend, frontend] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Run k6 local test | ||
uses: grafana/k6-action@v0.3.1 | ||
with: | ||
filename: ./load-test/${{ matrix.name }}-test.js | ||
flags: --vus ${{ github.event.inputs.vu }} --duration ${{ github.event.inputs.duration }}s | ||
env: | ||
BACKEND_URL: https://${{ env.PREFIX }}-frontend.${{ env.DOMAIN }}/api | ||
FRONTEND_URL: https://${{ env.PREFIX }}-frontend.${{ env.DOMAIN }} |
Oops, something went wrong.