Skip to content

Commit 0aec741

Browse files
committed
Merge branch 'main' into release-1.16.1
2 parents 0f39234 + fda6e2d commit 0aec741

28 files changed

+46
-27
lines changed

.github/workflows/reviewdog.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
steps:
88
- uses: actions/[email protected]
99
- name: golangci-lint
10-
uses: golangci/golangci-lint-action@v5
10+
uses: golangci/golangci-lint-action@v6
1111
with:
1212
version: latest
1313
only-new-issues: true
@@ -79,6 +79,13 @@ jobs:
7979
runs-on: ubuntu-latest
8080
steps:
8181
- uses: actions/checkout@v4
82-
- run: |
82+
- name: check on release branch
83+
if: ${{ contains(github.head_ref, 'release-') || contains(github.base_ref, 'release-') }}
84+
run: |
85+
make generate manifests VERSION="$(grep "Version" version/version.go|grep -oE "[0-9]+\.[0-9]+\.[0-9]+")" IMAGE_TAG_BASE="percona/percona-server-mongodb-operator"
86+
git diff --exit-code
87+
- name: check on non release branches
88+
if: ${{ ! (contains(github.head_ref, 'release-') || contains(github.base_ref, 'release-')) }}
89+
run: |
8390
make generate manifests VERSION=main
8491
git diff --exit-code

.github/workflows/scan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
export DOCKER_DEFAULT_PLATFORM='linux/arm64'
3131
./e2e-tests/build
3232
- name: Run Trivy vulnerability scanner
33-
uses: aquasecurity/trivy-action@0.19.0
33+
uses: aquasecurity/trivy-action@0.21.0
3434
with:
3535
image-ref: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}-arm64'
3636
format: 'table'
@@ -48,7 +48,7 @@ jobs:
4848
./e2e-tests/build
4949
5050
- name: Run Trivy vulnerability scanner image (linux/amd64)
51-
uses: aquasecurity/trivy-action@0.19.0
51+
uses: aquasecurity/trivy-action@0.21.0
5252
with:
5353
image-ref: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}-amd64'
5454
format: 'table'

Jenkinsfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,8 @@ pipeline {
277277
278278
curl -fsSL https://get.helm.sh/helm-v3.12.3-linux-amd64.tar.gz | sudo tar -C /usr/local/bin --strip-components 1 -xzf - linux-amd64/helm
279279
280-
sudo sh -c "curl -s -L https://github.com/mikefarah/yq/releases/download/v4.35.1/yq_linux_amd64 > /usr/local/bin/yq"
281-
sudo chmod +x /usr/local/bin/yq
282-
283-
sudo sh -c "curl -s -L https://github.com/jqlang/jq/releases/download/jq-1.6/jq-linux64 > /usr/local/bin/jq"
284-
sudo chmod +x /usr/local/bin/jq
280+
sudo curl -fsSL https://github.com/mikefarah/yq/releases/download/v4.44.1/yq_linux_amd64 -o /usr/local/bin/yq && sudo chmod +x /usr/local/bin/yq
281+
sudo curl -fsSL https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux64 -o /usr/local/bin/jq && sudo chmod +x /usr/local/bin/jq
285282
286283
sudo tee /etc/yum.repos.d/google-cloud-sdk.repo << EOF
287284
[google-cloud-cli]

deploy/cr.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ spec:
5454
# sse: my-cluster-name-sse
5555
pmm:
5656
enabled: false
57-
image: percona/pmm-client:2.41.2
57+
image: perconalab/pmm-client:dev-latest
5858
serverHost: monitoring-service
5959
# mongodParams: --environment=ENVIRONMENT
6060
# mongosParams: --environment=ENVIRONMENT
@@ -532,7 +532,7 @@ spec:
532532

533533
backup:
534534
enabled: true
535-
image: percona/percona-backup-mongodb:2.4.1
535+
image: perconalab/percona-server-mongodb-operator:main-backup
536536
# annotations:
537537
# iam.amazonaws.com/role: role-arn
538538
# resources:

e2e-tests/ignore-labels-annotations/compare/service_some-name-cfg-0-crmeta.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ spec:
2424
port: 27017
2525
protocol: TCP
2626
targetPort: 27017
27+
publishNotReadyAddresses: true
2728
selector:
2829
statefulset.kubernetes.io/pod-name: some-name-cfg-0
2930
sessionAffinity: None

e2e-tests/ignore-labels-annotations/compare/service_some-name-cfg-0-manual.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ spec:
2424
port: 27017
2525
protocol: TCP
2626
targetPort: 27017
27+
publishNotReadyAddresses: true
2728
selector:
2829
statefulset.kubernetes.io/pod-name: some-name-cfg-0
2930
sessionAffinity: None

e2e-tests/ignore-labels-annotations/compare/service_some-name-cfg-0-no-ignored-meta.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ spec:
2222
port: 27017
2323
protocol: TCP
2424
targetPort: 27017
25+
publishNotReadyAddresses: true
2526
selector:
2627
statefulset.kubernetes.io/pod-name: some-name-cfg-0
2728
sessionAffinity: None

e2e-tests/ignore-labels-annotations/compare/service_some-name-cfg-0-one-service-label-annotation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ spec:
2424
port: 27017
2525
protocol: TCP
2626
targetPort: 27017
27+
publishNotReadyAddresses: true
2728
selector:
2829
statefulset.kubernetes.io/pod-name: some-name-cfg-0
2930
sessionAffinity: None

e2e-tests/ignore-labels-annotations/compare/service_some-name-cfg-0-two-service-labels-annotations.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ spec:
2626
port: 27017
2727
protocol: TCP
2828
targetPort: 27017
29+
publishNotReadyAddresses: true
2930
selector:
3031
statefulset.kubernetes.io/pod-name: some-name-cfg-0
3132
sessionAffinity: None

e2e-tests/ignore-labels-annotations/compare/service_some-name-rs0-0-crmeta.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ spec:
2424
port: 27017
2525
protocol: TCP
2626
targetPort: 27017
27+
publishNotReadyAddresses: true
2728
selector:
2829
statefulset.kubernetes.io/pod-name: some-name-rs0-0
2930
sessionAffinity: None

0 commit comments

Comments
 (0)