Skip to content

fix: skip dirs with no permissions for release-1.0 #787

fix: skip dirs with no permissions for release-1.0

fix: skip dirs with no permissions for release-1.0 #787

Workflow file for this run

name: "rediscompile"
on:
push:
branches:
- 'release-**'
paths-ignore:
- 'docs/**'
pull_request:
#The branches below must be a subset of the branches above
branches:
- 'release-**'
paths-ignore:
- 'docs/**'
schedule:
- cron: '30 20 * * *'
workflow_dispatch:
jobs:
rediscompile:
runs-on: ubuntu-20.04
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.18.x'
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Build linux target
run: make juicefs
- name: Juicefs Format
run: |
sudo ./juicefs format sqlite3:///tmp/myjfs.db pics
- name: Juicefs Mount
run: |
sudo ./juicefs mount -d sqlite3:///tmp/myjfs.db /tmp/jfs --no-usage-report
- name: Compile Redis
run: |
cd /tmp/jfs
wget -O redis.tar.gz https://github.com/redis/redis/archive/refs/tags/6.0.16.tar.gz
mkdir redis
tar -xvf redis.tar.gz -C redis --strip-components 1
cd redis
make
make test
stat /tmp/jfs
- name: Log
if: ${{ always() }}
run: |
echo "juicefs log"
sudo tail -n 1000 /var/log/juicefs.log
grep "<FATAL>:" /var/log/juicefs.log && exit 1 || true
- name: Send Slack Notification
if: ${{ failure() }}
uses: juicedata/slack-notify-action@main
with:
channel-id: "${{ secrets.SLACK_CHANNEL_ID_FOR_PR_CHECK_NOTIFY }}"
slack_bot_token: "${{ secrets.SLACK_BOT_TOKEN }}"
- name: Setup upterm session
if: ${{ failure() }}
uses: lhotari/action-upterm@v1