Skip to content

Commit 8c13134

Browse files
authored
Merge branch 'main' into issues/688
2 parents 14ff067 + f4c6692 commit 8c13134

File tree

367 files changed

+16393
-8255
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

367 files changed

+16393
-8255
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ gradle/libs.versions.toml @kafbat/backend
1616
/frontend/ @kafbat/frontend
1717

1818
# TESTS
19-
/e2e-tests/ @kafbat/qa
19+
/e2e-playwright/ @kafbat/qa
2020

2121
# INFRA
2222
/.github/workflows/ @kafbat/devops

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ updates:
1111
labels:
1212
- "type/dependencies"
1313
- "scope/backend"
14+
ignore:
15+
# Disable dependabot pull requests for Netty
16+
# In general, our Netty references are temporary overrides, usually applied to address transitive Spring vulnerabilities, and should be configured with caution
17+
# In general, having conflicting Netty versions in the classpath is not recommended
18+
- dependency-name: "io.netty:*"
1419
groups:
1520
spring-boot-dependencies:
1621
patterns:
@@ -20,7 +25,13 @@ updates:
2025
update-types:
2126
- "patch"
2227
- "minor"
28+
exclude-patterns:
29+
- "org.springframework.boot:*"
30+
- "io.spring.dependency-management"
2331
other-dependencies:
32+
exclude-patterns:
33+
- "org.springframework.boot:*"
34+
- "io.spring.dependency-management"
2435
patterns:
2536
- "*"
2637
update-types:

.github/workflows/cve_checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
cache-to: type=local,dest=/tmp/.buildx-cache
6969

7070
- name: Run CVE checks
71-
uses: aquasecurity/trivy-action@18f2510ee396bbf400402947b394f2dd8c87dbb0 # infered from @v0.29.0
71+
uses: aquasecurity/trivy-action@dc5a429b52fcf669ce959baa2c2dd26090d2a6c4 # infered from @v0.32.0
7272
with:
7373
image-ref: "ghcr.io/kafbat/kafka-ui:latest"
7474
format: "table"

.github/workflows/e2e-manual.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "E2E: Playwright Manual run"
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
sha:
6+
description: Commit to run on
7+
required: true
8+
type: string
9+
10+
permissions:
11+
contents: read
12+
checks: write
13+
statuses: write
14+
15+
jobs:
16+
build-and-test:
17+
uses: ./.github/workflows/e2e-playwright-run.yml
18+
secrets: inherit
19+
with:
20+
sha: ${{ inputs.sha }}
21+
22+

.github/workflows/e2e-pr.yml renamed to .github/workflows/e2e-playwright-pr.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "E2E: PR smoke tests"
1+
name: "Playwright E2E: PR tests"
22
on:
33
pull_request:
44
types: [ "opened", "reopened", "synchronize" ]
@@ -12,7 +12,7 @@ on:
1212
- "api/**"
1313
- "serde-api/**"
1414
- "frontend/**"
15-
- "e2e-tests/**"
15+
- "e2e-playwright/**"
1616

1717
permissions:
1818
contents: read
@@ -21,8 +21,7 @@ permissions:
2121

2222
jobs:
2323
build-and-test:
24-
uses: ./.github/workflows/e2e-run.yml
24+
uses: ./.github/workflows/e2e-playwright-run.yml
2525
secrets: inherit
2626
with:
27-
suite_name: "smoke"
2827
sha: ${{ github.event.pull_request.head.sha }}

.github/workflows/e2e-playwright.yml renamed to .github/workflows/e2e-playwright-run.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
name: "E2E: Playwright Manual run"
1+
name: "E2E: Playwright"
2+
23
on:
3-
workflow_dispatch:
4-
sha:
5-
required: true
6-
type: string
4+
workflow_call:
5+
inputs:
6+
sha:
7+
required: true
8+
type: string
79

810
permissions:
911
contents: read
@@ -30,6 +32,8 @@ jobs:
3032
uses: actions/setup-node@v3
3133
with:
3234
node-version: 18
35+
cache-dependency-path: ./e2e-playwright/package-lock.json
36+
cache: 'npm'
3337

3438
- name: Install NPM dependencies
3539
working-directory: ./e2e-playwright
@@ -54,10 +58,7 @@ jobs:
5458
- name: Build with Gradle
5559
id: build_app
5660
run: |
57-
./gradlew build \
58-
-x :e2e-tests:check \
59-
-x :e2e-tests:build \
60-
-x test \
61+
./gradlew build -x test \
6162
-Pbuild-docker-images=true \
6263
-Pinclude-frontend=true \
6364
-Pversion=latest

.github/workflows/e2e-run.yml

Lines changed: 0 additions & 176 deletions
This file was deleted.

.github/workflows/e2e-weekly.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,4 @@ node_modules/
5151
.gradle
5252
@rerun.txt
5353
test-results
54+
frontend/test-report.xml

0 commit comments

Comments
 (0)