Skip to content

Commit

Permalink
test: this commit is only for testing
Browse files Browse the repository at this point in the history
This commit is only for testing

Signed-off-by: subhamkrai <srai@redhat.com>
  • Loading branch information
subhamkrai committed Dec 2, 2021
1 parent 1b9ac26 commit 19c23e2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/canary-integration-test.yml
Expand Up @@ -57,7 +57,7 @@ jobs:
kubectl -n rook-ceph exec $toolbox -- mkdir -p /etc/ceph/test-data
kubectl -n rook-ceph cp tests/ceph-status-out $toolbox:/etc/ceph/test-data/
kubectl -n rook-ceph cp deploy/examples/create-external-cluster-resources.py $toolbox:/etc/ceph
timeout 10 sh -c "until kubectl -n rook-ceph exec $toolbox -- python3 /etc/ceph/create-external-cluster-resources.py --rbd-data-pool-name replicapool; do echo 'waiting for script to succeed' && sleep 1; done"
timeout 10 sh -c "until kubectl -n rook-ceph exec $toolbox -- python3 /etc/ceph/create-external-cluster-resources.py --rbd-data-pool-name=replicapool --rbd-metadata-ec-pool-name=ec-pool; do echo 'waiting for script to succeed' && sleep 1; done"
- name: run external script create-external-cluster-resources.py unit tests
run: |
Expand Down
4 changes: 2 additions & 2 deletions deploy/examples/pool-ec.yaml
Expand Up @@ -10,11 +10,11 @@ metadata:
namespace: rook-ceph # namespace:cluster
spec:
# The failure domain will spread the replicas of the data across different failure zones
failureDomain: osd
failureDomain: host
# Make sure you have enough OSDs to support the replica size or sum of the erasure coding and data chunks.
# This is the minimal example that requires only 3 OSDs.
erasureCoded:
dataChunks: 2
dataChunks: 1
codingChunks: 1
# Set any property on a given pool
# see https://docs.ceph.com/docs/master/rados/operations/pools/#set-pool-values
Expand Down
1 change: 1 addition & 0 deletions tests/scripts/github-action-helper.sh
Expand Up @@ -212,6 +212,7 @@ function deploy_cluster() {
kubectl create -f cluster-test.yaml
kubectl create -f object-test.yaml
kubectl create -f pool-test.yaml
kubectl create -f pool-ec.yaml
kubectl create -f filesystem-test.yaml
kubectl create -f rbdmirror.yaml
kubectl create -f filesystem-mirror.yaml
Expand Down

0 comments on commit 19c23e2

Please sign in to comment.