Skip to content

Commit

Permalink
feat: add ci support for ceph_rados
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhenglin Li committed Feb 18, 2024
1 parent 03abe73 commit abbf5ca
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/services/s3/ceph_rados_s3/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ runs:
docker network create --driver bridge ceph-cluster-net
docker-compose -f docker-compose-ceph-rados.yml up -d mon1 mgr
echo "osd pool default min size = 2" >> ~/volumes_data/ceph/ceph/ceph.conf
echo "max open files = 655350" >> ~/volumes_data/ceph/ceph/ceph.conf
echo "cephx cluster require signatures = false" >> ~/volumes_data/ceph/ceph/ceph.conf
echo "cephx service require signatures = false" >> ~/volumes_data/ceph/ceph/ceph.conf
echo "" >> ~/volumes_data/ceph/ceph/ceph.conf
echo "osd max object name len = 256" >> ~/volumes_data/ceph/ceph/ceph.conf
echo "osd max object namespace len = 64" >> ~/volumes_data/ceph/ceph/ceph.conf
sudo sh -c 'echo "osd pool default min size = 2" >> /home/runner/volumes_data/ceph/ceph/ceph.conf'
sudo sh -c 'echo "max open files = 655350" >> /home/runner/volumes_data/ceph/ceph/ceph.conf'
sudo sh -c 'echo "cephx cluster require signatures = false" >> /home/runner/volumes_data/ceph/ceph/ceph.conf'
sudo sh -c 'echo "cephx service require signatures = false" >> /home/runner/volumes_data/ceph/ceph/ceph.conf'
sudo sh -c 'echo "" >> /home/runner/volumes_data/ceph/ceph/ceph.conf'
sudo sh -c 'echo "osd max object name len = 256" >> /home/runner/volumes_data/ceph/ceph/ceph.conf'
sudo sh -c 'echo "osd max object namespace len = 64" >> /home/runner/volumes_data/ceph/ceph/ceph.conf'
docker-compose restart mon1 mgr
docker-compose up -d osd1 osd2 osd3
Expand Down

0 comments on commit abbf5ca

Please sign in to comment.