Browse Source

ci: add debugging and force rebuild of Docker images

- Add ls -la to show build-artifacts/docker/ contents
- Add file command to verify binary type
- Add --no-cache to docker compose build to prevent stale cache issues
- Ensures fresh build with current binary
pull/7526/head
chrislu 7 days ago
parent
commit
0a7917704e
  1. 3
      .github/workflows/spark-integration-tests.yml

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

@ -128,15 +128,18 @@ jobs:
- name: Prepare SeaweedFS binary - name: Prepare SeaweedFS binary
run: | run: |
echo "Copying SeaweedFS binary to docker directory..." echo "Copying SeaweedFS binary to docker directory..."
ls -la build-artifacts/docker/
cp build-artifacts/docker/weed docker/ cp build-artifacts/docker/weed docker/
chmod +x docker/weed chmod +x docker/weed
ls -la docker/weed ls -la docker/weed
file docker/weed
echo "✓ Binary is ready" echo "✓ Binary is ready"
- name: Start SeaweedFS services - name: Start SeaweedFS services
working-directory: test/java/spark working-directory: test/java/spark
run: | run: |
echo "Starting SeaweedFS with Docker Compose..." echo "Starting SeaweedFS with Docker Compose..."
docker compose build --no-cache
docker compose up -d seaweedfs-master seaweedfs-volume seaweedfs-filer docker compose up -d seaweedfs-master seaweedfs-volume seaweedfs-filer
echo "Waiting for SeaweedFS filer to be ready..." echo "Waiting for SeaweedFS filer to be ready..."

Loading…
Cancel
Save