Skip to content

Commit cb45713

Browse files
authored
Merge branch 'main' into K8SPG-833-fix
2 parents dda5275 + a679457 commit cb45713

Some content is hidden

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

49 files changed

+12393
-1617
lines changed

.github/linters/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module linters
22

3-
go 1.23.4
3+
go 1.25.1

.github/workflows/reviewdog.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ jobs:
55
name: runner / suggester / golangci-lint
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/setup-go@v5
8+
- uses: actions/setup-go@v6
99
with:
10-
go-version: '^1.23'
11-
- uses: actions/checkout@v4
10+
go-version: '^1.25.1'
11+
- uses: actions/checkout@v5
1212
- name: golangci-lint
1313
uses: golangci/golangci-lint-action@v8
1414
with:
@@ -20,10 +20,10 @@ jobs:
2020
name: runner / suggester / goimports-reviser
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v4
24-
- uses: actions/setup-go@v5
23+
- uses: actions/checkout@v5
24+
- uses: actions/setup-go@v6
2525
with:
26-
go-version: '^1.23'
26+
go-version: '^1.25.1'
2727
- run: go install -v github.com/incu6us/goimports-reviser/v3@latest
2828
- run: $(go env GOPATH)/bin/goimports-reviser -imports-order "std,general,company,project" -company-prefixes "github.com/percona" ./...
2929
- uses: reviewdog/action-suggester@v1
@@ -34,7 +34,7 @@ jobs:
3434
name: runner / suggester / gofmt
3535
runs-on: ubuntu-latest
3636
steps:
37-
- uses: actions/checkout@v4
37+
- uses: actions/checkout@v5
3838
- run: gofmt -w -s $(find . -not -path "*/vendor/*" -name "*.go")
3939
- uses: reviewdog/action-suggester@v1
4040
with:
@@ -44,10 +44,10 @@ jobs:
4444
name: runner / suggester / shfmt
4545
runs-on: ubuntu-latest
4646
steps:
47-
- uses: actions/checkout@v4
48-
- uses: actions/setup-go@v5
47+
- uses: actions/checkout@v5
48+
- uses: actions/setup-go@v6
4949
with:
50-
go-version: '^1.23'
50+
go-version: '^1.25.1'
5151
- run: go install mvdan.cc/sh/v3/cmd/shfmt@latest
5252
- run: $(go env GOPATH)/bin/shfmt -bn -ci -s -w .
5353
- name: suggester / shfmt
@@ -60,7 +60,7 @@ jobs:
6060
name: runner / shellcheck
6161
runs-on: ubuntu-latest
6262
steps:
63-
- uses: actions/checkout@v4
63+
- uses: actions/checkout@v5
6464
- uses: reviewdog/action-shellcheck@v1
6565
with:
6666
github_token: ${{ secrets.github_token }}
@@ -70,7 +70,7 @@ jobs:
7070
name: runner / misspell
7171
runs-on: ubuntu-latest
7272
steps:
73-
- uses: actions/checkout@v4
73+
- uses: actions/checkout@v5
7474
- uses: reviewdog/action-misspell@v1
7575
with:
7676
github_token: ${{ secrets.github_token }}
@@ -81,7 +81,7 @@ jobs:
8181
name: runner / alex
8282
runs-on: ubuntu-latest
8383
steps:
84-
- uses: actions/checkout@v4
84+
- uses: actions/checkout@v5
8585
- uses: reviewdog/action-alex@v1
8686
with:
8787
github_token: ${{ secrets.github_token }}
@@ -92,7 +92,7 @@ jobs:
9292
name: runner / manifests
9393
runs-on: ubuntu-latest
9494
steps:
95-
- uses: actions/checkout@v4
95+
- uses: actions/checkout@v5
9696
- run: |
9797
make generate VERSION=main
9898
git diff --exit-code

.github/workflows/scan.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818

1919
- name: Set up QEMU
2020
uses: docker/setup-qemu-action@v3
@@ -31,7 +31,7 @@ jobs:
3131
make build-docker-image
3232
3333
- name: Run Trivy vulnerability scanner image (linux/arm64)
34-
uses: aquasecurity/trivy-action@0.32.0
34+
uses: aquasecurity/trivy-action@0.33.1
3535
with:
3636
image-ref: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}-arm64'
3737
format: 'table'
@@ -50,7 +50,7 @@ jobs:
5050
make build-docker-image
5151
5252
- name: Run Trivy vulnerability scanner image (linux/amd64)
53-
uses: aquasecurity/trivy-action@0.32.0
53+
uses: aquasecurity/trivy-action@0.33.1
5454
with:
5555
image-ref: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}-amd64'
5656
format: 'table'

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Clone the code
9-
uses: actions/checkout@v4
9+
uses: actions/checkout@v5
1010
- name: Setup Go
11-
uses: actions/setup-go@v5
11+
uses: actions/setup-go@v6
1212
with:
13-
go-version: '^1.23'
14-
- uses: actions/checkout@v4
13+
go-version: '^1.25.1'
14+
- uses: actions/checkout@v5
1515
- name: Basic tests
1616
run: make check
1717
- name: envtest

Jenkinsfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ gpgcheck=1
308308
repo_gpgcheck=0
309309
gpgkey=https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
310310
EOF
311-
sudo yum install -y google-cloud-cli google-cloud-cli-gke-gcloud-auth-plugin
311+
sudo yum install -y make google-cloud-cli google-cloud-cli-gke-gcloud-auth-plugin
312312
"""
313313
}
314314

@@ -402,7 +402,7 @@ pipeline {
402402
AUTHOR_NAME = sh(script: "echo ${CHANGE_AUTHOR_EMAIL} | awk -F'@' '{print \$1}'", , returnStdout: true).trim()
403403
}
404404
agent {
405-
label 'docker'
405+
label 'docker-x64-min'
406406
}
407407
options {
408408
disableConcurrentBuilds(abortPrevious: true)
@@ -496,7 +496,7 @@ pipeline {
496496
-v $WORKSPACE/src/github.com/percona/percona-postgresql-operator:/go/src/github.com/percona/percona-postgresql-operator \
497497
-w /go/src/github.com/percona/percona-postgresql-operator \
498498
-e GO111MODULE=on \
499-
golang:1.24 sh -c '
499+
golang:1.25.1 sh -c '
500500
go install github.com/google/go-licenses@latest;
501501
/go/bin/go-licenses csv github.com/percona/percona-postgresql-operator/cmd/postgres-operator \
502502
| cut -d , -f 3 \
@@ -522,7 +522,7 @@ pipeline {
522522
parallel {
523523
stage('cluster1') {
524524
agent {
525-
label 'docker'
525+
label 'docker-x64-min'
526526
}
527527
steps {
528528
prepareNode()
@@ -532,7 +532,7 @@ pipeline {
532532
}
533533
stage('cluster2') {
534534
agent {
535-
label 'docker'
535+
label 'docker-x64-min'
536536
}
537537
steps {
538538
prepareNode()
@@ -542,7 +542,7 @@ pipeline {
542542
}
543543
stage('cluster3') {
544544
agent {
545-
label 'docker'
545+
label 'docker-x64-min'
546546
}
547547
steps {
548548
prepareNode()
@@ -552,7 +552,7 @@ pipeline {
552552
}
553553
stage('cluster4') {
554554
agent {
555-
label 'docker'
555+
label 'docker-x64-min'
556556
}
557557
steps {
558558
prepareNode()

LICENSE.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
Copyright 2017- 2025 Crunchy Data Solution Inc.
2+
3+
Copyright 2021 - 2025 Percona, LLC
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");You may not use
6+
this software except in compliance with the License.
7+
A copy of the License can be obtained at: http://www.apache.org/licenses/LICENSE-2.0
8+
Except as required by applicable law or agreed to in writing, the software distributed
9+
under this License is provided as is, without any warranties or conditions of any kind,
10+
either express or implied. Please refer to the License for the specific terms governing
11+
permissions and limitations.
12+
113

214
Apache License
315
Version 2.0, January 2004
@@ -176,8 +188,18 @@
176188

177189
END OF TERMS AND CONDITIONS
178190

179-
Copyright 2017 - 2024 Crunchy Data Solutions, Inc.
180-
Copyright 2021 - 2024 Percona, LLC
191+
APPENDIX: How to apply the Apache License to your work.
192+
193+
To apply the Apache License to your work, attach the following
194+
boilerplate notice, with the fields enclosed by brackets "[]"
195+
replaced with your own identifying information. (Don't include
196+
the brackets!) The text should be enclosed in the appropriate
197+
comment syntax for the file format. We also recommend that a
198+
file or class name and description of purpose be included on the
199+
same "printed page" as the copyright notice for easier
200+
identification within third-party archives.
201+
202+
Copyright 2021 - 2025 Percona LLC
181203

182204
Licensed under the Apache License, Version 2.0 (the "License");
183205
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)