|
|
@ -36,6 +36,21 @@ jobs: |
|
|
distribution: 'temurin' |
|
|
distribution: 'temurin' |
|
|
cache: maven |
|
|
cache: maven |
|
|
|
|
|
|
|
|
|
|
|
- name: Set up Go |
|
|
|
|
|
uses: actions/setup-go@v5 |
|
|
|
|
|
with: |
|
|
|
|
|
go-version: '1.24' |
|
|
|
|
|
|
|
|
|
|
|
- name: Build SeaweedFS binary |
|
|
|
|
|
run: | |
|
|
|
|
|
echo "Building SeaweedFS binary..." |
|
|
|
|
|
cd weed |
|
|
|
|
|
go build -o ../docker/weed |
|
|
|
|
|
cd ../docker |
|
|
|
|
|
# Dockerfile.local expects these files in the build context |
|
|
|
|
|
ls -la weed filer.toml entrypoint.sh |
|
|
|
|
|
echo "✓ SeaweedFS binary built and ready for Docker build" |
|
|
|
|
|
|
|
|
- name: Build SeaweedFS Java dependencies |
|
|
- name: Build SeaweedFS Java dependencies |
|
|
run: | |
|
|
run: | |
|
|
echo "Building Java client (required by HDFS clients)..." |
|
|
echo "Building Java client (required by HDFS clients)..." |
|
|
@ -157,6 +172,37 @@ jobs: |
|
|
distribution: 'temurin' |
|
|
distribution: 'temurin' |
|
|
cache: maven |
|
|
cache: maven |
|
|
|
|
|
|
|
|
|
|
|
- name: Set up Go |
|
|
|
|
|
uses: actions/setup-go@v5 |
|
|
|
|
|
with: |
|
|
|
|
|
go-version: '1.24' |
|
|
|
|
|
|
|
|
|
|
|
- name: Build SeaweedFS binary |
|
|
|
|
|
run: | |
|
|
|
|
|
echo "Building SeaweedFS binary..." |
|
|
|
|
|
cd weed |
|
|
|
|
|
go build -o ../docker/weed |
|
|
|
|
|
cd ../docker |
|
|
|
|
|
ls -la weed filer.toml entrypoint.sh |
|
|
|
|
|
echo "✓ SeaweedFS binary built and ready for Docker build" |
|
|
|
|
|
|
|
|
|
|
|
- name: Build SeaweedFS Java dependencies |
|
|
|
|
|
run: | |
|
|
|
|
|
echo "Building Java client..." |
|
|
|
|
|
cd other/java/client |
|
|
|
|
|
mvn clean install -DskipTests -Dgpg.skip=true |
|
|
|
|
|
cd ../../.. |
|
|
|
|
|
|
|
|
|
|
|
echo "Building HDFS2 client..." |
|
|
|
|
|
cd other/java/hdfs2 |
|
|
|
|
|
mvn clean install -DskipTests -Dgpg.skip=true |
|
|
|
|
|
cd ../../.. |
|
|
|
|
|
|
|
|
|
|
|
echo "Building HDFS3 client..." |
|
|
|
|
|
cd other/java/hdfs3 |
|
|
|
|
|
mvn clean install -DskipTests -Dgpg.skip=true |
|
|
|
|
|
echo "✓ All Java dependencies built" |
|
|
|
|
|
|
|
|
- name: Cache Apache Spark |
|
|
- name: Cache Apache Spark |
|
|
id: cache-spark |
|
|
id: cache-spark |
|
|
uses: actions/cache@v3 |
|
|
uses: actions/cache@v3 |
|
|
|