-
Notifications
You must be signed in to change notification settings - Fork 997
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix NFS storage according to filesystem test (#4163)
Signed-off-by: xixi <[email protected]>
- Loading branch information
Showing
3 changed files
with
76 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ jobs: | |
ETCD_ADDR: 127.0.0.1:3379 | ||
MYSQL_ADDR: (127.0.0.1:3306)/dev | ||
MYSQL_USER: root | ||
NFS_ADDR: 127.0.0.1:/srv/nfs/ | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
@@ -63,9 +64,18 @@ jobs: | |
|
||
- name: Install Packages | ||
run: | | ||
sudo .github/scripts/apt_install.sh g++-multilib redis-server libacl1-dev attr glusterfs-server libglusterfs-dev | ||
sudo .github/scripts/apt_install.sh g++-multilib redis-server libacl1-dev attr glusterfs-server libglusterfs-dev nfs-kernel-server | ||
sudo mkdir -p /home/travis/.m2/ | ||
- if: matrix.test == 'test.pkg' | ||
name: Set up nfs-server | ||
run: | | ||
sudo mkdir -p /srv/nfs | ||
sudo chown nobody:nogroup /srv/nfs | ||
sudo chmod 777 /srv/nfs | ||
echo "/srv/nfs 127.0.0.1(rw,sync,insecure)" | sudo tee -a /etc/exports | ||
sudo systemctl start nfs-kernel-server.service | ||
sudo exportfs -arv | ||
- if: matrix.test == 'test.meta.non-core' | ||
name: Install redis-cluster | ||
uses: vishnudxb/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters