Skip to content
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

Pipeline documentation #18

Merged
merged 12 commits into from
Mar 4, 2024
1 change: 1 addition & 0 deletions BUILD_PIPELINE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
![Build Pipeline](documentation/generated-documents/build-pipeline-documentation.png)
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ Run `npm run build` to build the project.
The build artifacts will be stored in the `dist/` directory.
Use the `--prod` flag for a production build.

Furthermore, you can find more information about the build and deployment process [here](BUILD_PIPELINE.md).

## Running unit tests

Run `npm test` to execute the unit tests via [Karma](https://karma-runner.github.io).
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions documentation/pipeline-documentation.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/'
ssaring marked this conversation as resolved.
Show resolved Hide resolved
This document describes the workflow of the deployment process
'/
@startuml Build, Test & Trigger Deploy

|Build and Deploy|
start
note right: Changes pushed to github

partition Build #lightBlue{
:Setting up node;
:Install dependencies;
:Install playwright;
:Build application prod version;
:Run unit tests;
:Run Playwright E2E tests;
:Run WebdriverIO E2E tests;
if (Build successful?) then (No))
repeat: fix errors
repeat while (Build successful?) is (no) not (yes)
endif
}

|Review|
partition Review_Process #lightYellow{
:Review process;
if (Review successfully?) then (No)
repeat: fix findings
repeat while (Review successfully?) is (no) not (yes)
endif
:Merge to main;
}

|Build and Deploy|
partition Deployment #lightGreen {
:Deploy recent build and push it to branch 'gh-pages';
:Trigger the action 'pages build & deployment' to host the recent build;
}
end
note right: End of pipeline
@enduml
2 changes: 2 additions & 0 deletions e2e-wdio/wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export const config: WebdriverIO.Config = {
// 5 instances get started at a time.
maxInstances: 5,
browserName: 'chrome',
//todo: remove with next dependency-update iteration
browserVersion: '122.0.6261.39',
acceptInsecureCerts: true,
'goog:chromeOptions': {
args: [
Expand Down
46 changes: 23 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"@wdio/local-runner": "8.26.3",
"@wdio/spec-reporter": "8.26.3",
"browserstack-node-sdk": "1.31.14",
"chromedriver": "120.0.0",
"chromedriver": "^121.0.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jasmine": "4.1.3",
Expand Down
Loading