Skip to content

lint

lint #2791

Triggered via push August 30, 2024 14:00
Status Failure
Total duration 13m 50s
Artifacts
branch_meta  /  branch_meta
0s
branch_meta / branch_meta
create_branch_identifier_for_deletion  /  convert_branch_name
create_branch_identifier_for_deletion / convert_branch_name
CodeQL  /  Analyze CodeQL
1m 43s
CodeQL / Analyze CodeQL
Linting  /  Nest Lint
1m 9s
Linting / Nest Lint
Tests and Sonarcloud  /  Tests and Sonarcloud
1m 0s
Tests and Sonarcloud / Tests and Sonarcloud
scan_helm  /  Kics Helm Chart Scan
27s
scan_helm / Kics Helm Chart Scan
Scheduled trivy scan of latest image  /  Trivy Scan
Scheduled trivy scan of latest image / Trivy Scan
create_branch_identifier  /  convert_branch_name
0s
create_branch_identifier / convert_branch_name
delete_namespace  /  create_dbildungs_iam_keycloak_db_name
delete_namespace / create_dbildungs_iam_keycloak_db_name
delete_namespace  /  create_dbildungs_iam_server_db_name
delete_namespace / create_dbildungs_iam_server_db_name
delete_namespace  /  create_ticket_nr_variable
delete_namespace / create_ticket_nr_variable
Publish image and scan with trivy  /  Publish image
Publish image and scan with trivy / Publish image
select_helm_version_generation_and_image_tag_generation
0s
select_helm_version_generation_and_image_tag_generation
delete_namespace  /  delete_databases_and_namespace
delete_namespace / delete_databases_and_namespace
Publish image and scan with trivy  /  pre_scan
Publish image and scan with trivy / pre_scan
release_helm  /  release
19s
release_helm / release
delete_successful
0s
delete_successful
Publish image and scan with trivy  /  ...  /  Trivy Scan
Publish image and scan with trivy / Trivy scan for uploaded image / Trivy Scan
deploy  /  ...  /  branch_meta
0s
deploy / create_ingress_prefix / branch_meta
deploy  /  ...  /  search_for_helm_tagname
3s
deploy / find_dbildungs_iam_server_helm_chart_tag / search_for_helm_tagname
deploy  /  ...  /  search_for_helm_tagname
7s
deploy / find_schulportal_client_helm_chart_tag / search_for_helm_tagname
deploy  /  ...  /  search_for_helm_tagname
11s
deploy / find_dbildungs_iam_keycloak_helm_chart_tag / search_for_helm_tagname
deploy  /  ...  /  search_for_helm_tagname
12s
deploy / find_dbildungs_iam_ldap_helm_chart_tag / search_for_helm_tagname
deploy  /  create_dbildungs_iam_keycloak_db_name
0s
deploy / create_dbildungs_iam_keycloak_db_name
deploy  /  create_dbildungs_iam_server_db_name
0s
deploy / create_dbildungs_iam_server_db_name
deploy  /  determine_playwright_branch
1s
deploy / determine_playwright_branch
deploy  /  ...  /  convert_branch_name
0s
deploy / create_lowercase_ingress_prefix / convert_branch_name
deploy  /  ...  /  run_playwright_end2end_tests
deploy / run_playwright_tests / run_playwright_end2end_tests
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 17 warnings
src/stores/PersonStore.spec.ts > PersonStore > getAllPersons > should load Persons and update state: src/stores/PersonStore.ts#L219
TypeError: Cannot read properties of undefined (reading 'code') ❯ Proxy.getAllPersons src/stores/PersonStore.ts:219:44 ❯ src/stores/PersonStore.spec.ts:63:7
src/stores/PersonStore.spec.ts > PersonStore > getAllPersons > should load persons according to filter: src/stores/PersonStore.ts#L219
TypeError: Cannot read properties of undefined (reading 'code') ❯ Proxy.getAllPersons src/stores/PersonStore.ts:219:44 ❯ src/stores/PersonStore.spec.ts:91:7
src/views/admin/PersonManagementView.spec.ts > PersonManagementView > it renders person management table: src/views/admin/PersonManagementView.spec.ts#L157
AssertionError: expected +0 to be 2 // Object.is equality - Expected + Received - 2 + 0 ❯ src/views/admin/PersonManagementView.spec.ts:157:58
Tests and Sonarcloud / Tests and Sonarcloud
Process completed with exit code 1.
deploy / deployment
Process completed with exit code 1.
[MEDIUM] Container Running With Low UID: charts/schulportal-client/templates/deployment.yaml#L28
Check if containers are running with low UID, which might cause conflicts with the host's user table.
[LOW] Container Requests Not Equal To It's Limits: charts/schulportal-client/templates/deployment.yaml#L23
Containers must have the same resource requests set as limits. This is recommended to avoid resource DDoS of the node during spikes and means that 'requests.memory' and 'requests.cpu' must equal 'limits.memory' and 'limits.cpu', respectively
[LOW] Container Requests Not Equal To It's Limits: charts/schulportal-client/templates/deployment.yaml#L23
Containers must have the same resource requests set as limits. This is recommended to avoid resource DDoS of the node during spikes and means that 'requests.memory' and 'requests.cpu' must equal 'limits.memory' and 'limits.cpu', respectively
[LOW] Image Without Digest: charts/schulportal-client/templates/deployment.yaml#L25
Images should be specified together with their digests to ensure integrity
[LOW] Liveness Probe Is Not Defined: charts/schulportal-client/templates/deployment.yaml#L23
In case of an unresponsive container, a Liveness Probe can help your application become more available since it restarts the container. However, it can lead to cascading failures. Define one if you really need it
[LOW] Missing AppArmor Profile: charts/schulportal-client/templates/deployment.yaml#L16
Containers should be configured with an AppArmor profile to enforce fine-grained access control over low-level system resources
[LOW] Pod or Container Without LimitRange: charts/schulportal-client/templates/deployment.yaml#L5
Each namespace should have a LimitRange policy associated to ensure that resource allocations of Pods, Containers and PersistentVolumeClaims do not exceed the defined boundaries
[LOW] Pod or Container Without ResourceQuota: charts/schulportal-client/templates/deployment.yaml#L5
Each namespace should have a ResourceQuota policy associated to limit the total amount of resources Pods, Containers and PersistentVolumeClaims can consume
[LOW] Root Container Not Mounted Read-only: charts/schulportal-client/templates/deployment.yaml#L28
Check if the root container filesystem is not being mounted read-only.
release_helm / release
The following actions use a deprecated Node.js version and will be forced to run on node20: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
deploy / find_dbildungs_iam_server_helm_chart_tag / search_for_helm_tagname
The following actions use a deprecated Node.js version and will be forced to run on node20: cardinalby/git-get-release-action@cedef2faf69cb7c55b285bad07688d04430b7ada. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
deploy / find_schulportal_client_helm_chart_tag / search_for_helm_tagname
The following actions use a deprecated Node.js version and will be forced to run on node20: cardinalby/git-get-release-action@cedef2faf69cb7c55b285bad07688d04430b7ada. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
deploy / find_dbildungs_iam_keycloak_helm_chart_tag / search_for_helm_tagname
The following actions use a deprecated Node.js version and will be forced to run on node20: cardinalby/git-get-release-action@cedef2faf69cb7c55b285bad07688d04430b7ada. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
deploy / find_dbildungs_iam_ldap_helm_chart_tag / search_for_helm_tagname
The following actions use a deprecated Node.js version and will be forced to run on node20: cardinalby/git-get-release-action@cedef2faf69cb7c55b285bad07688d04430b7ada. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/