Skip to content

cephfs: add controller sidecar for setting CSI metadata on subvolumes #895

cephfs: add controller sidecar for setting CSI metadata on subvolumes

cephfs: add controller sidecar for setting CSI metadata on subvolumes #895

Workflow file for this run

name: test-ceph-csi-operator
on:
pull_request:
branches:
- main
- release-*
paths-ignore:
- 'docs/**' # ignore all the documents
- '*.md' # Ignore the Readme and PendingReleaseNote file
- '.*' # Ignore the config files
defaults:
run:
# reference: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#using-a-specific-shell
shell: bash --noprofile --norc -eo pipefail -x {0}
# cancel the in-progress workflow when PR is refreshed.
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
go-version-file: go.mod
- name: Setup Minikube
run: |
test/scripts/github-action-helper.sh install_minikube_with_none_driver
- name: print k8s cluster status
run: |
kubectl get nodes
- name: use local disk
run: test/scripts/github-action-helper.sh use_local_disk
- name: create ceph cluster
run: test/scripts/github-action-helper.sh deploy_rook
- name: test ceph-csi-operator
run: test/scripts/test-ceph-csi-operator.sh