Skip to content

Commit

Permalink
Merge branch 'main' into dev/K8SPSMDB-791
Browse files Browse the repository at this point in the history
  • Loading branch information
pooknull authored Aug 9, 2023
2 parents 1a085d6 + fdfd08e commit c1ce099
Show file tree
Hide file tree
Showing 29 changed files with 814 additions and 439 deletions.
4 changes: 3 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ updates:
prefix: "CLOUD-727"
directory: /build/
schedule:
interval: monthly
interval: "monthly"
day: "monday"
time: "01:00"
reviewers:
- hors
- tplavcic
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
name: runner / suggester / golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected].2
- uses: actions/[email protected].3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand All @@ -17,7 +17,7 @@ jobs:
name: runner / suggester / gofmt
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected].2
- uses: actions/[email protected].3
- run: gofmt -w -s $(find . -not -path "*/vendor/*" -name "*.go")
- uses: reviewdog/action-suggester@v1
with:
Expand All @@ -27,8 +27,8 @@ jobs:
name: runner / suggester / shfmt
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected].2
- uses: actions/setup-go@v3
- uses: actions/[email protected].3
- uses: actions/setup-go@v4
with:
go-version: '^1.17'
- run: go install mvdan.cc/sh/v3/cmd/shfmt@latest
Expand All @@ -43,7 +43,7 @@ jobs:
name: runner / shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected].2
- uses: actions/[email protected].3
- uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}
Expand All @@ -54,7 +54,7 @@ jobs:
name: runner / misspell
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected].2
- uses: actions/[email protected].3
- uses: reviewdog/action-misspell@v1
with:
github_token: ${{ secrets.github_token }}
Expand All @@ -66,7 +66,7 @@ jobs:
name: runner / alex
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected].2
- uses: actions/[email protected].3
- uses: reviewdog/action-alex@v1
with:
github_token: ${{ secrets.github_token }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/[email protected].2
uses: actions/[email protected].3
- name: Build an image from Dockerfile
run: |
export IMAGE=perconalab/percona-server-mongodb-operator:${{ github.sha }}
export DOCKER_PUSH=0
export DOCKER_SQUASH=0
./e2e-tests/build
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@0.10.0
uses: aquasecurity/trivy-action@0.11.2
with:
image-ref: 'docker.io/perconalab/percona-server-mongodb-operator:${{ github.sha }}'
format: 'table'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ jobs:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: '^1.19'
- uses: actions/[email protected].2
- uses: actions/[email protected].3
- name: go test
run: go test -v ./...
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19 AS go_builder
FROM golang:1.20 AS go_builder
WORKDIR /go/src/github.com/percona/percona-server-mongodb-operator

COPY . .
Expand Down
112 changes: 112 additions & 0 deletions config/crd/bases/psmdb.percona.com_perconaservermongodbs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2617,6 +2617,19 @@ spec:
format: int32
type: integer
type: object
resizePolicy:
items:
properties:
resourceName:
type: string
restartPolicy:
type: string
required:
- resourceName
- restartPolicy
type: object
type: array
x-kubernetes-list-type: atomic
resources:
properties:
claims:
Expand Down Expand Up @@ -2838,6 +2851,9 @@ spec:
size:
format: int32
type: integer
terminationGracePeriodSeconds:
format: int64
type: integer
tolerations:
items:
properties:
Expand Down Expand Up @@ -5025,6 +5041,19 @@ spec:
format: int32
type: integer
type: object
resizePolicy:
items:
properties:
resourceName:
type: string
restartPolicy:
type: string
required:
- resourceName
- restartPolicy
type: object
type: array
x-kubernetes-list-type: atomic
resources:
properties:
claims:
Expand Down Expand Up @@ -5246,6 +5275,9 @@ spec:
size:
format: int32
type: integer
terminationGracePeriodSeconds:
format: int64
type: integer
tolerations:
items:
properties:
Expand Down Expand Up @@ -6837,6 +6869,19 @@ spec:
format: int32
type: integer
type: object
resizePolicy:
items:
properties:
resourceName:
type: string
restartPolicy:
type: string
required:
- resourceName
- restartPolicy
type: object
type: array
x-kubernetes-list-type: atomic
resources:
properties:
claims:
Expand Down Expand Up @@ -7104,6 +7149,9 @@ spec:
type: object
type: object
type: object
terminationGracePeriodSeconds:
format: int64
type: integer
tolerations:
items:
properties:
Expand Down Expand Up @@ -9332,6 +9380,19 @@ spec:
format: int32
type: integer
type: object
resizePolicy:
items:
properties:
resourceName:
type: string
restartPolicy:
type: string
required:
- resourceName
- restartPolicy
type: object
type: array
x-kubernetes-list-type: atomic
resources:
properties:
claims:
Expand Down Expand Up @@ -9553,6 +9614,9 @@ spec:
size:
format: int32
type: integer
terminationGracePeriodSeconds:
format: int64
type: integer
tolerations:
items:
properties:
Expand Down Expand Up @@ -11740,6 +11804,19 @@ spec:
format: int32
type: integer
type: object
resizePolicy:
items:
properties:
resourceName:
type: string
restartPolicy:
type: string
required:
- resourceName
- restartPolicy
type: object
type: array
x-kubernetes-list-type: atomic
resources:
properties:
claims:
Expand Down Expand Up @@ -11961,6 +12038,9 @@ spec:
size:
format: int32
type: integer
terminationGracePeriodSeconds:
format: int64
type: integer
tolerations:
items:
properties:
Expand Down Expand Up @@ -13552,6 +13632,19 @@ spec:
format: int32
type: integer
type: object
resizePolicy:
items:
properties:
resourceName:
type: string
restartPolicy:
type: string
required:
- resourceName
- restartPolicy
type: object
type: array
x-kubernetes-list-type: atomic
resources:
properties:
claims:
Expand Down Expand Up @@ -13819,6 +13912,9 @@ spec:
type: object
type: object
type: object
terminationGracePeriodSeconds:
format: int64
type: integer
tolerations:
items:
properties:
Expand Down Expand Up @@ -15977,6 +16073,19 @@ spec:
format: int32
type: integer
type: object
resizePolicy:
items:
properties:
resourceName:
type: string
restartPolicy:
type: string
required:
- resourceName
- restartPolicy
type: object
type: array
x-kubernetes-list-type: atomic
resources:
properties:
claims:
Expand Down Expand Up @@ -16198,6 +16307,9 @@ spec:
size:
format: int32
type: integer
terminationGracePeriodSeconds:
format: int64
type: integer
tolerations:
items:
properties:
Expand Down
Loading

0 comments on commit c1ce099

Please sign in to comment.