Skip to content

Commit b421f72

Browse files
authored
Merge branch 'mariadb-operator:main' into main
2 parents a86512e + a0bc88a commit b421f72

File tree

325 files changed

+17863
-19063
lines changed

Some content is hidden

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

325 files changed

+17863
-19063
lines changed

.github/ISSUE_TEMPLATE/bug.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Bug
33
about: Create a bug report to help us improve
44
title: "[Bug] "
55
labels: bug
6-
assignees:
6+
assignees: ''
77

88
---
99

@@ -47,10 +47,11 @@ kubectl get events --field-selector involvedObject.name=<restore-resource-name>
4747

4848
**Environment details**:
4949
- Kubernetes version: [Version number]
50-
- Kubernetes distribution: [Vanilla, EKS, GKE, AKS, Rancher, OpenShift, k3s, KIND...]
51-
- mariadb-operator version: [Version number]
52-
- Galera data-plane version (init and agent): [Version number]
53-
- Install method: [helm, OLM, or static manifests]
50+
- Kubernetes distribution: [Vanilla Kubernetes, OpenShift, EKS, GKE, AKS, Rancher, k3s, KIND...]
51+
- MariaDB Operator version: [Version number]
52+
- MariaDB Server version: [Version number]
53+
- MaxScale version: [Version number]
54+
- Install method: [Helm, OLM]
5455

5556
**Additional context**
5657
<!--Add any other context here.-->

.github/ISSUE_TEMPLATE/feature_request.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Feature request
33
about: Suggest an idea for this project
44
title: "[Feature]"
55
labels: feature
6-
assignees:
6+
assignees: ''
77

88
---
99

@@ -18,10 +18,11 @@ assignees:
1818

1919
**Environment details**:
2020
- Kubernetes version: [Version number]
21-
- Kubernetes distribution: [Vanilla, EKS, GKE, AKS, Rancher, OpenShift, k3s, KIND...]
22-
- mariadb-operator version: [Version number]
23-
- Install method: [helm, OLM, or static manifests]
24-
- Install flavor: [minimal, recommended, or custom]
21+
- Kubernetes distribution: [Vanilla Kubernetes, OpenShift, EKS, GKE, AKS, Rancher, k3s, KIND...]
22+
- MariaDB Operator version: [Version number]
23+
- MariaDB Server version: [Version number]
24+
- MaxScale version: [Version number]
25+
- Install method: [Helm, OLM]
2526

2627
**Additional context**
2728
<!--Add any other context here.-->

.github/workflows/ci.yml

+3-97
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,6 @@ jobs:
2424
paths_ignore: '["*.md","**.md.gotmpl","examples/**"]'
2525
concurrent_skipping: false
2626

27-
detect-ent:
28-
name: Detect enterprise
29-
runs-on: ubuntu-latest
30-
outputs:
31-
ent: ${{ steps.ent.outputs.ent }}
32-
steps:
33-
- name: Detect enterprise
34-
id: ent
35-
env:
36-
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}
37-
if: "${{ env.DOCKERHUB_USER != '' }}"
38-
run: |
39-
echo "ent='true'" >> $GITHUB_OUTPUT
40-
4127
lint:
4228
name: Lint
4329
runs-on: ubuntu-latest
@@ -76,15 +62,9 @@ jobs:
7662
- name: Build
7763
run: make build
7864

79-
- name: Build Enterprise
80-
run: make build-ent
81-
8265
- name: Build Docker
8366
run: make docker-build
8467

85-
- name: Build Enterprise Docker
86-
run: make docker-build-ent
87-
8868
unit-test:
8969
name: Unit tests
9070
runs-on: ubuntu-latest
@@ -125,67 +105,12 @@ jobs:
125105
make cluster
126106
make install
127107
make install-minio
108+
make install-cert-manager
128109
make net
129110
130111
- name: Test
131112
run: make test-int
132113

133-
integration-test-ent:
134-
name: Integration tests enterprise
135-
runs-on: ubuntu-latest
136-
needs:
137-
- detect-noop
138-
- detect-ent
139-
if: ${{ needs.detect-noop.outputs.noop != 'true' && needs.detect-ent.outputs.ent != '' }}
140-
steps:
141-
- name: Checkout code
142-
uses: actions/checkout@v4
143-
144-
- name: Setup Go
145-
uses: actions/setup-go@v5
146-
with:
147-
go-version-file: "go.mod"
148-
cache: true
149-
150-
- name: Login Docker MariaDB
151-
uses: docker/login-action@v3
152-
with:
153-
registry: docker-registry.mariadb.com
154-
username: ${{ secrets.DOCKER_MARIADB_USER }}
155-
password: ${{ secrets.DOCKER_MARIADB_PASSWORD }}
156-
157-
- name: Cluster
158-
run: |
159-
make cluster
160-
make registry
161-
make install-ent
162-
make install-minio
163-
make net
164-
165-
- name: Test
166-
run: make test-int-ent
167-
168-
olm:
169-
name: OLM
170-
runs-on: ubuntu-latest
171-
needs: detect-noop
172-
if: ${{ needs.detect-noop.outputs.noop != 'true' }}
173-
steps:
174-
- name: Checkout code
175-
uses: actions/checkout@v4
176-
177-
- name: Validate
178-
run: make bundle-validate
179-
180-
- name: Build image
181-
run: make bundle-build
182-
183-
- name: Cluster
184-
run: make cluster
185-
186-
- name: Scorecard
187-
run: make bundle-scorecard
188-
189114
artifacts:
190115
name: Artifacts
191116
runs-on: ubuntu-latest
@@ -198,12 +123,12 @@ jobs:
198123
uses: actions/checkout@v4
199124

200125
- name: Generate
201-
run: make generate
126+
run: make gen
202127

203128
- name: Check diff
204129
uses: mmontes11/[email protected]
205130
with:
206-
message: Generated artifacts are not up to date. Run 'make generate' and commit the changes.
131+
message: Generated artifacts are not up to date. Run 'make gen' and commit the changes.
207132

208133
- name: Verify CRD size
209134
shell: bash
@@ -217,23 +142,4 @@ jobs:
217142
if [ "$crd_size" -ge "$max_size" ]; then
218143
echo "Error: CRDs exceed 900KB (current size: $((crd_size / 1024)) KB)"
219144
exit 1
220-
fi
221-
222-
licenses:
223-
name: Licenses
224-
runs-on: ubuntu-latest
225-
needs: detect-noop
226-
if: ${{ needs.detect-noop.outputs.noop != 'true' }}
227-
steps:
228-
- name: Checkout code
229-
uses: actions/checkout@v4
230-
231-
- name: Generate
232-
run: make licenses
233-
234-
- name: Check licenses
235-
run: |
236-
if [ ! -d "licenses" ] || [ ! -n "$(ls -A licenses)" ]; then
237-
echo "Error: No licenses generated"
238-
exit 1
239145
fi

.github/workflows/docs.yml

-48
This file was deleted.

.github/workflows/olm-release.yml

-38
This file was deleted.

0 commit comments

Comments
 (0)