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

## Description #1080

Closed
wants to merge 29 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
d2b8021
[INTERNAL] Update helm for adobe builds (#52)
alungu Feb 7, 2023
a5ea111
[INTERNAL] Use local replacement for sub-modules (#54)
aguzovatii Apr 6, 2023
c1173d0
[INTERNAL] [BUILD] Publish docker images to adobe/kafka-operator and …
amuraru Apr 11, 2020
e5152f7
[INTERNAL] make manifests should be called manually, if needed (#25)
amuraru Jul 28, 2021
fe9adaf
[INTERNAL] Allow Kafka to use External DNS for inter-broker protocol …
amuraru May 17, 2021
8ca9d51
[INTERNAL] Allow external listeners to be used for inner communicatio…
amuraru May 17, 2021
4335c20
[INTERNAL] Ensure external listerners are always the first the advert…
alungu Sep 2, 2021
685da4e
[INTERNAL] Generate CRDs resources
amuraru Sep 2, 2021
84345fc
[INTERNAL] Build kafka 3.4.1 using Oracle OpenJDK
amuraru Sep 21, 2021
9b060e2
Enable envoy idleTimeout and TCP keep-alive for connections to kafka …
amuraru Oct 7, 2021
450ebe7
Enable envoy tls termination (#41)
dobrerazvan Mar 17, 2022
eea16ab
Envoy config generated by the operator is invalid in envoy 1.22
amuraru Jun 23, 2022
ecf3223
Added TaintedBrokersSelector to kafkaClusterSpec (#48)
azun Aug 11, 2022
a40d5fe
Remove disk feature (#53)
amuraru May 15, 2023
f023d28
Handle async response from CC /state endpoint (#56)
aguzovatii May 16, 2023
514fa07
Allow concurrent broker restarts from same AZ (broker rack) (#62)
amuraru Jun 10, 2023
16a9fc2
Fix flaky test by deleting nodeports explicitly (#67)
ctrlaltluc Jun 13, 2023
cdfb6b9
Allow dashes when parsing broker rack (#68)
ctrlaltluc Jun 28, 2023
18e7253
Upgrade Kafka to 3.6.0 (#69)
ctrlaltluc Oct 11, 2023
edb7ebf
Upgrade dependencies
amuraru Dec 12, 2023
5f78c06
Fix wrong port on expectEnvoyWithConfigAz2Tls test (#70)
dobrerazvan Dec 19, 2023
7383921
Upgrade Kafka to 3.6.1 (#71)
cristianpetrache Dec 22, 2023
8172c6e
Upgrade Kafka image to use Java v21 (#72)
amuraru Feb 16, 2024
5bcb31f
Added arm64 to docker build platforms (#73)
azun Feb 28, 2024
2b16b29
Upgrading Kafka to 3.7.0 (#77)
azun Mar 26, 2024
aa25e15
Update codeql-analysis.yml (#78)
amuraru Apr 8, 2024
87b08a1
Upgrade dependencies
amuraru Apr 8, 2024
bb519ee
[INTERNAL] Create uniq leader ID per operator deployment (#76)
dobrerazvan Apr 16, 2024
9fa0856
Merge branch 'master' into updeps
azun Apr 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/CODEOWNERS

This file was deleted.

4 changes: 2 additions & 2 deletions .github/actions/kind-create/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ inputs: # adding these parameters to make this reusable later on
kind_k8s_version:
description: 'The k8s version to use'
required: true
default: 'v1.24.15'
default: 'v1.27.3'
kind_config:
description: 'Path to the kind config to use'
required: true
Expand All @@ -23,7 +23,7 @@ runs:

steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- uses: engineerd/[email protected]
with:
name: ${{ inputs.kind_cluster_name }}
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/build-push-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: build-publish-docker-image

on:
push:
tags:
- '*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get tag name
id: vars
run: echo ::set-output name=tag::${GITHUB_REF:10}
- uses: docker/build-push-action@v1
if: ${{ !startsWith( steps.vars.outputs.tag, 'kafka-' ) }}
with:
dockerfile: Dockerfile
build_args: VERSION=${{ steps.vars.outputs.tag }},GIT_SHA=${{ github.sha }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: adobe/kafka-operator
tag_with_ref: true
push: ${{ startsWith(github.ref, 'refs/tags/') }}
add_git_labels: true
47 changes: 47 additions & 0 deletions .github/workflows/build-push-kafka-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: build-publish-kafka-docker-image

on:
push:
tags:
- 'kafka-*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Prepare
id: prep
run: |
DOCKER_IMAGE=adobe/kafka
VERSION=latest
if [[ $GITHUB_REF == refs/tags/kafka-* ]]; then
VERSION=${GITHUB_REF#refs/tags/kafka-}
elif [[ $GITHUB_REF == refs/heads/* ]]; then
VERSION=$(echo ${GITHUB_REF#refs/heads/} | sed -r 's#/+#-#g')
fi
TAGS="${DOCKER_IMAGE}:${VERSION}"
echo ::set-output name=version::${VERSION}
echo ::set-output name=tags::${TAGS}
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
if: startsWith(github.ref, 'refs/tags/')
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: docker/kafka
platforms: linux/amd64,linux/arm64
push: ${{ startsWith(github.ref, 'refs/tags/') }}
tags: ${{ steps.prep.outputs.tags }}
labels: |
org.opencontainers.image.source=${{ github.event.repository.html_url }}
org.opencontainers.image.created=${{ steps.prep.outputs.created }}
org.opencontainers.image.revision=${{ github.sha }}
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:

steps:
- name: Set up Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe #v4.1.0
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.21

- name: Checkout code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3
uses: actions/checkout@v4

- name: Check Go modules dependency file integrity
run: |
Expand Down Expand Up @@ -49,15 +49,15 @@ jobs:

steps:
- name: Set up Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe #v4.1.0
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.21

- name: Checkout code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3
uses: actions/checkout@v4

- name: License cache
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 #v3.3.1
uses: actions/cache@v3
with:
path: .licensei.cache
key: license-v1-${{ hashFiles('**/go.sum') }}
Expand Down
71 changes: 71 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '34 23 * * 4'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'go' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
56 changes: 0 additions & 56 deletions .github/workflows/docker.yml

This file was deleted.

64 changes: 0 additions & 64 deletions .github/workflows/docker_perf_test_load.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/e2e-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:

steps:
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.21

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build docker image
run: |
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- "chart/**/[0-9]+.[0-9]+.[0-9]+"
- "chart/**/[0-9]+.[0-9]+.[0-9]+-dev.[0-9]+"
- "chart/**/[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+"
- "chart/**/[0-9]+.[0-9]+.[0-9]+-adobe-[0-9]+"
pull_request:

env:
Expand All @@ -24,9 +25,9 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: azure/setup-helm@v1
- uses: azure/setup-helm@v3
with:
version: ${{ env.HELM_VERSION }}

Expand Down Expand Up @@ -65,13 +66,7 @@ jobs:
- name: Set Helm push enabled
id: set-helm-push-enabled
run: |
HELM_PUSH_ENABLED=""
if [ "${{ github.event_name }}" == "push" ] && echo "${{ steps.set-git-refname.outputs.git_refname }}" | grep -E -q "^chart/${{ env.HELM_CHART_NAME }}/[0-9]+.[0-9]+.[0-9]+**"; then
HELM_PUSH_ENABLED=1
else
printf >&2 "Unstable chart (%s) from %s event, chart will not be pushed" "${{ steps.set-git-refname.outputs.git_refname }}" "${{ github.event_name }}"
fi

HELM_PUSH_ENABLED="0"
echo "HELM_PUSH_ENABLED=${HELM_PUSH_ENABLED}"
echo "helm_push_enabled=${HELM_PUSH_ENABLED}" >> $GITHUB_OUTPUT

Expand Down
Loading
Loading