Skip to content

Commit 8ff1e16

Browse files
authored
Merge branch 'main' into issues/300-regex-for-rbac
2 parents 0765d4a + aaac4d7 commit 8ff1e16

File tree

120 files changed

+2083
-665
lines changed

Some content is hidden

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

120 files changed

+2083
-665
lines changed

.dev/dev_arm64.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ services:
3232
KAFKA_CLUSTERS_0_AUDIT_CONSOLEAUDITENABLED: 'true'
3333

3434
kafka0:
35-
image: confluentinc/cp-kafka:7.6.0.arm64
35+
image: confluentinc/cp-kafka:7.8.0.arm64
3636
user: "0:0"
3737
hostname: kafka0
3838
container_name: kafka0
@@ -60,7 +60,7 @@ services:
6060
CLUSTER_ID: 'MkU3OEVBNTcwNTJENDM2Qk'
6161

6262
schema-registry0:
63-
image: confluentinc/cp-schema-registry:7.6.0.arm64
63+
image: confluentinc/cp-schema-registry:7.8.0.arm64
6464
ports:
6565
- 8085:8085
6666
depends_on:
@@ -76,7 +76,7 @@ services:
7676
SCHEMA_REGISTRY_KAFKASTORE_TOPIC: _schemas
7777

7878
kafka-connect0:
79-
image: confluentinc/cp-kafka-connect:7.6.0.arm64
79+
image: confluentinc/cp-kafka-connect:7.8.0.arm64
8080
ports:
8181
- 8083:8083
8282
depends_on:
@@ -101,7 +101,7 @@ services:
101101
CONNECT_PLUGIN_PATH: "/usr/share/java,/usr/share/confluent-hub-components,/usr/local/share/kafka/plugins,/usr/share/filestream-connectors"
102102

103103
ksqldb0:
104-
image: confluentinc/cp-ksqldb-server:7.6.0.arm64
104+
image: confluentinc/cp-ksqldb-server:7.8.0.arm64
105105
depends_on:
106106
- kafka0
107107
- kafka-connect0
@@ -119,7 +119,7 @@ services:
119119
KSQL_CACHE_MAX_BYTES_BUFFERING: 0
120120

121121
kafka-init-topics:
122-
image: confluentinc/cp-kafka:7.6.0.arm64
122+
image: confluentinc/cp-kafka:7.8.0.arm64
123123
volumes:
124124
- ../documentation/compose/data/message.json:/data/message.json
125125
depends_on:

.github/workflows/backend_main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919
cancel-in-progress: true
2020

2121
jobs:
22-
build:
22+
build-and-test:
2323
uses: ./.github/workflows/backend_tests.yml
2424
with:
2525
event_name: ${{ github.event_name }}

.github/workflows/backend_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ concurrency:
2020
cancel-in-progress: true
2121

2222
jobs:
23-
build:
23+
build-and-test:
2424
uses: ./.github/workflows/backend_tests.yml
2525
with:
2626
event_name: ${{ github.event_name }}

.github/workflows/cve_checks.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ permissions:
99
contents: read
1010

1111
jobs:
12-
build-and-test:
12+
13+
check-cves:
1314
runs-on: ubuntu-latest
1415

1516
steps:
@@ -62,8 +63,17 @@ jobs:
6263
cache-to: type=local,dest=/tmp/.buildx-cache
6364

6465
- name: Run CVE checks
65-
uses: aquasecurity/trivy-action@0.19.0
66+
uses: aquasecurity/trivy-action@0.29.0
6667
with:
6768
image-ref: "ghcr.io/kafbat/kafka-ui:${{ steps.build.outputs.version }}"
6869
format: "table"
6970
exit-code: "1"
71+
72+
notify:
73+
needs: check-cves
74+
if: ${{ always() && needs.build-and-test.result == 'failure' }}
75+
uses: ./.github/workflows/infra_discord_hook.yml
76+
with:
77+
message: "Attention! CVE checks run failed! Please fix them CVEs :("
78+
secrets:
79+
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL_CVE }}

.github/workflows/frontend_main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ concurrency:
1515
cancel-in-progress: true
1616

1717
jobs:
18-
build:
18+
build-and-test:
1919
uses: ./.github/workflows/frontend_tests.yml

.github/workflows/frontend_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ concurrency:
1616
cancel-in-progress: true
1717

1818
jobs:
19-
build:
19+
build-and-test:
2020
uses: ./.github/workflows/frontend_tests.yml

.github/workflows/frontend_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323

2424
- uses: pnpm/[email protected]
2525
with:
26-
version: 9.11.0
26+
version: 9.15.0
2727

2828
- name: Install node
2929
uses: actions/[email protected]
3030
with:
31-
node-version: "18.17.1"
31+
node-version: "22.12.0"
3232
cache: "pnpm"
3333
cache-dependency-path: "./frontend/pnpm-lock.yaml"
3434

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: 'Discord hook'
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
message:
7+
description: 'Message text'
8+
required: true
9+
type: string
10+
secrets:
11+
DISCORD_WEBHOOK_URL:
12+
required: true
13+
14+
permissions:
15+
contents: read
16+
17+
jobs:
18+
19+
hook:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Notify Discord on Failure
23+
uses: Ilshidur/[email protected]
24+
with:
25+
args: ${{ inputs.message }}
26+
env:
27+
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL }}

.github/workflows/md-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313
contents: read
1414

1515
jobs:
16-
build-and-test:
16+
lint-md:
1717
runs-on: ubuntu-latest
1818

1919
steps:

.github/workflows/pr_linter.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,12 @@ on:
55
permissions:
66
checks: write
77
jobs:
8-
task-check:
8+
check-tasks:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: kentaro-m/[email protected]
1212
with:
1313
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1414
- uses: dekinderfiets/[email protected]
15-
if: false # TODO remove when public
1615
with:
1716
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)