Skip to content

add support for CephBlockPoolRadosNamespace #5393

add support for CephBlockPoolRadosNamespace

add support for CephBlockPoolRadosNamespace #5393

---
name: ocs-operator sanity checks
on:
push:
branches: ["*"]
pull_request:
branches: ["*"]
jobs:
shellcheck:
name: shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run shellcheck
run: make shellcheck-test
golangci-lint:
name: golangci-lint
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go: ["1.22"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- uses: golangci/golangci-lint-action@v6
with:
version: v1.54.2
args: "--out-format=colored-line-number --timeout=6m ./..."
go-test:
name: go test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go: ["1.22"]
steps:
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run go test
run: make unit-test
verify-changes:
name: verify generated changes
runs-on: ubuntu-latest
continue-on-error: true
strategy:
fail-fast: false
matrix:
go: ["1.22"]
steps:
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Verify go dependencies
run: make verify-deps
- name: Verify generated code and configs
run: make verify-generated
- name: Verify ocs csv changes
run: make verify-latest-csv
- name: Verify ocs bundle changes
run: make verify-operator-bundle
- name: Verify deployment YAML
run: make verify-latest-deploy-yaml
code-spell:
name: verify code spellings
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: codespell-project/actions-codespell@v2
with:
check_filenames: true
check_hidden: true
skip: vendor,go.sum,api/go.sum,go.work.sum
ignore_words_list: xdescribe,contails,shouldnot,NotIn,notin
commitlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v6
with:
configFile: './.github/workflows/conf/commitlintrc.json'
helpURL: |
Some helpful links
Naming Conventions -> https://commitlint.js.org/#/concepts-commit-conventions
Rules -> https://commitlint.js.org/#/reference-rules
How to Write a Good Git Commit Message -> https://chris.beams.io/posts/git-commit