test: add object-with-cephblockpool canary test
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit ed8156017e)
This commit is contained in:
1 parent
89a3eb5542
commit
33b345f0a5
3 files changed
+222
No files matched your search
@@ -1698,3 +1698,53 @@ jobs:
|
||||
uses: ./.github/workflows/collect-logs
|
||||
with:
|
||||
name: ${{ github.job }}-${{ matrix.ceph-image }}
|
||||
|
||||
object-with-cephblockpools:
|
||||
runs-on: ubuntu-22.04
|
||||
if: "!contains(github.event.pull_request.labels.*.name, 'skip-ci')"
|
||||
strategy:
|
||||
matrix:
|
||||
ceph-image: ${{ fromJson(inputs.ceph_images) }}
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: consider debugging
|
||||
uses: ./.github/workflows/tmate_debug
|
||||
with:
|
||||
use-tmate: ${{ secrets.USE_TMATE }}
|
||||
|
||||
- name: setup cluster resources
|
||||
uses: ./.github/workflows/canary-test-config
|
||||
|
||||
- name: set Ceph version in CephCluster manifest
|
||||
run: tests/scripts/github-action-helper.sh replace_ceph_image "deploy/examples/cluster-test.yaml" "${{ github.event.inputs.ceph-image }}"
|
||||
|
||||
- name: validate-yaml
|
||||
run: tests/scripts/github-action-helper.sh validate_yaml
|
||||
|
||||
- name: use local disk and create partitions for osds
|
||||
run: |
|
||||
tests/scripts/github-action-helper.sh use_local_disk
|
||||
tests/scripts/github-action-helper.sh create_partitions_for_osds
|
||||
|
||||
- name: deploy cluster
|
||||
run: tests/scripts/github-action-helper.sh deploy_cluster
|
||||
|
||||
- name: create CephBlockPool(s) and CephObjectStore
|
||||
shell: bash --noprofile --norc -eo pipefail -x {0}
|
||||
run: kubectl create -f deploy/examples/object-with-cephblockpools-test.yaml
|
||||
|
||||
- name: wait for CephObjectStore to be ready
|
||||
run: tests/scripts/validate_cluster.sh rgw object-with-cephblockpools
|
||||
|
||||
- name: check for pools created by RGW that are unexpected
|
||||
run: tests/scripts/github-action-helper.sh test_object_with_cephblockpools_extra_pools
|
||||
|
||||
- name: collect common logs
|
||||
if: always()
|
||||
uses: ./.github/workflows/collect-logs
|
||||
with:
|
||||
name: ${{ github.job }}-${{ matrix.ceph-image }}
|
||||
Reference in new issue
Block a user