Skip to content

Commit

Permalink
Merge branch 'main' into bugfix/create_connector
Browse files Browse the repository at this point in the history
  • Loading branch information
Haarolean authored Mar 1, 2024
2 parents d529c6a + 481df49 commit ea3c2d4
Show file tree
Hide file tree
Showing 98 changed files with 2,393 additions and 1,732 deletions.
92 changes: 16 additions & 76 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,102 +1,42 @@
version: 2
updates:

- package-ecosystem: maven
directory: "/"
schedule:
interval: daily
interval: weekly
time: "10:00"
timezone: Europe/Moscow
timezone: Europe/London
reviewers:
- "Haarolean"
- "kafbat/backend"
open-pull-requests-limit: 10
labels:
- "scope/backend"
- "type/dependencies"
- "scope/backend"

- package-ecosystem: npm
directory: "/frontend"
schedule:
interval: weekly
time: "10:00"
timezone: Europe/Moscow
timezone: Europe/London
reviewers:
- "kafbat/frontend"
open-pull-requests-limit: 10
versioning-strategy: increase-if-necessary
labels:
- "scope/frontend"
- "type/dependencies"
ignore:
- dependency-name: react-hook-form
versions:
- 6.15.5
- 7.0.0
- 7.0.6
- dependency-name: "@hookform/error-message"
versions:
- 1.1.0
- dependency-name: use-debounce
versions:
- 6.0.0
- 6.0.1
- dependency-name: "@rooks/use-outside-click-ref"
versions:
- 4.10.1
- dependency-name: react-multi-select-component
versions:
- 3.1.6
- 4.0.0
- dependency-name: husky
versions:
- 5.1.3
- 5.2.0
- 6.0.0
- dependency-name: "@types/node-fetch"
versions:
- 2.5.9
- dependency-name: "@testing-library/jest-dom"
versions:
- 5.11.10
- dependency-name: "@typescript-eslint/eslint-plugin"
versions:
- 4.20.0
- dependency-name: "@openapitools/openapi-generator-cli"
versions:
- 2.2.5
- dependency-name: "@typescript-eslint/parser"
versions:
- 4.20.0
- dependency-name: react-datepicker
versions:
- 3.7.0
- dependency-name: eslint
versions:
- 7.23.0
- dependency-name: "@testing-library/user-event"
versions:
- 13.0.6
- dependency-name: immer
versions:
- 9.0.1
- dependency-name: react-scripts
versions:
- 4.0.3
- dependency-name: eslint-config-prettier
versions:
- 8.1.0
- dependency-name: "@testing-library/react"
versions:
- 11.2.5
- dependency-name: lodash
versions:
- 4.17.21
- dependency-name: react-json-tree
versions:
- 0.15.0
- "scope/frontend"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
time: "10:00"
timezone: Europe/Moscow
timezone: Europe/London
reviewers:
- "Haarolean"
- "kafbat/devops"
open-pull-requests-limit: 10
labels:
- "scope/infrastructure"
- "type/dependencies"
- "scope/infra"
175 changes: 99 additions & 76 deletions .github/kapybro/config.yml
Original file line number Diff line number Diff line change
@@ -1,95 +1,118 @@
version: "0.1"
version: "0.2"

settings:

maintainers:
teams: [ "maintainers" ]
users: []

triage:
enabled: true
maintainers: &maintainers
teams: [ "maintainers" ]
users: [ ]

label: "status/triage"
remove-assignees: false
anchors:

skip:
skip_main: &skip_off
enabled: false
do-manual-triage: false
labels:
add: [ "status/triage/skipped" ]
remove: [ ]

skip_maintainers: &skip_maintainers
enabled: true
conditions:
labels: [ "needs-attention", "needs-discussion" ]
authors:
teams: [ "maintainers" ]
comment:
enabled: false
message: "Automated triaging skipped."

manual:
authors: *maintainers

keyword-labeling: &keyword-labeling
enabled: true
case-sensitive: false
scan:
title: true
body: false
rules:
# <alias>: [ <labels> ]
acl: [ "area/acl" ]
audit: [ "area/audit" ]
auth: [ "area/auth" ]
consumers: [ "area/consumers" ]
messages: [ "area/messages" ]
rbac: [ "area/rbac" ]
serde: [ "area/serde" ]
SR: [ "area/sr" ]
topics: [ "area/topics" ]
ux: [ "area/ux" ]
wizard: [ "area/wizard" ]
###
backend: [ "scope/backend" ]
frontend: [ "scope/frontend" ]
infra: [ "scope/infra" ]
###
bug: [ "type/bug" ]
feature: [ "type/feature" ]
enh: [ "type/enhancement" ]

automatic: &automatic
enabled: true
skip: *skip_off
label: "status/triage"
remove-assignees: false
keyword-labeling: *keyword-labeling
completed:
labels:
add: [ "status/triage/completed" ]
remove: []

manual: &manual
enabled: true
skip: *skip_maintainers
label: "status/triage/manual"
labels:
add: []
remove: []
assign-maintainers: true
comment:
enabled: false
message: "Automated triaging completed. Pending human maintainer 🤖"

repeating:
enabled: true
add: [ ]
remove: [ ]
assign-maintainers: false

repeating: &repeating
enabled: false
skip: *skip_maintainers
triggers:
reopen: false
triage-labels: true
triage-labels: false
labels: [ "status/retriage" ]
only-manual: false

completed:
labels:
add: [ "status/triage/completed" ]
remove: []

keyword-labeling:
enabled: true
case-sensitive: false
match-title: true
match-body: true
rules:
# <keyword>: <label>
- backend: scope/backend
- be: scope/backend
- frontend: scope/frontend
- fe: scope/frontend
- infra: scope/infrastructure
- bug: type/bug
- feature: type/feature
- enh: type/enhancement
- rbac: area/rbac

feedback-management:
enabled: true
labels:
requested: "status/feedback-requested"
received: "status/feedback-received"
only-author-replies: false
assign-author: true
assign-maintainers: false
comments:
requested: "Further user feedback is requested. Please reply within 7 days or we might close the issue."
received: "Thanks for the additional feedback! We'll get back to your issue soon."
closed: "No feedback received within 7 days. Auto closing."
auto-close:
feedback-management: &feedback-management
enabled: true
close-days: 7
labels:
add: [ "status/stale" ]
remove: [ "status/feedback-requested" ]
requested: "status/feedback-requested"
received: "status/feedback-received"
only-author-replies: false
assign-author: true
assign-maintainers: false
auto-close:
enabled: true
close-days: 7
labels:
add: [ "status/stale" ]
remove: [ "status/feedback-requested" ]

locking: &locking
enabled: false

triage: &triage
enabled: true

locking:
enabled: false
automatic: *automatic
manual: *manual
repeating: *repeating

auto-rebase:
enabled: true
rebase-on-label: false
labels: [ "status/auto-merge" ]
issues:
triage: *triage
feedback-management: *feedback-management
locking: *locking

prs:
triage: *triage
feedback-management: *feedback-management
locking: *locking

auto-rebase:
enabled: false

comments:
feedback:
requested: "Further user feedback is requested. Please reply within 7 days or we might close the issue."
received: "Thanks for the additional feedback! We'll get back to your issue soon."
closed: "No feedback received within 7 days. Auto closing."
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
echo "Packer will be triggered in this dir $WORK_DIR"
- name: Configure AWS credentials for Kafka-UI account
uses: aws-actions/configure-aws-credentials@v3
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_AMI_PUBLISH_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_AMI_PUBLISH_KEY_SECRET }}
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/backend_main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Backend: Main: Build and test"

on:
push:
branches: [ "main" ]
paths:
- "pom.xml"
- "contract/**"
- "api/**"
- "serde-api/**"

permissions:
contents: read
checks: write
pull-requests: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
uses: ./.github/workflows/backend_tests.yml
with:
event_name: ${{ github.event_name }}
26 changes: 26 additions & 0 deletions .github/workflows/backend_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Backend: PR: Build and test"

on:

pull_request_target:
types: [ "opened", "reopened", "synchronize" ]
paths:
- "pom.xml"
- "contract/**"
- "api/**"
- "serde-api/**"

permissions:
contents: read
checks: write
pull-requests: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
uses: ./.github/workflows/backend_tests.yml
with:
event_name: ${{ github.event_name }}
Loading

0 comments on commit ea3c2d4

Please sign in to comment.