Browse Source

ci: fix SeaweedFS binary permissions after artifact download

- Add step to chmod +x the weed binary after downloading artifacts
- Artifacts lose executable permissions during upload/download
- Prevents 'Permission denied' errors when Docker tries to run the binary
pull/7526/head
chrislu 4 weeks ago
parent
commit
29d3fc13dd
  1. 14
      .github/workflows/spark-integration-tests.yml

14
.github/workflows/spark-integration-tests.yml

@ -125,6 +125,13 @@ jobs:
ls -la ls -la
fi fi
- name: Prepare SeaweedFS binary
run: |
echo "Making SeaweedFS binary executable..."
chmod +x docker/weed
ls -la docker/weed
echo "✓ Binary is ready"
- name: Start SeaweedFS services - name: Start SeaweedFS services
working-directory: test/java/spark working-directory: test/java/spark
run: | run: |
@ -244,6 +251,13 @@ jobs:
ls -la ls -la
fi fi
- name: Prepare SeaweedFS binary
run: |
echo "Making SeaweedFS binary executable..."
chmod +x docker/weed
ls -la docker/weed
echo "✓ Binary is ready"
- name: Cache Apache Spark - name: Cache Apache Spark
id: cache-spark id: cache-spark
uses: actions/cache@v4 uses: actions/cache@v4

Loading…
Cancel
Save